Interface TranslationFile

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      @NotNull java.lang.String getFileType()
      Returns the translation file type.
      @NotNull java.util.Collection<java.lang.String> getKeys()
      Returns the keys of all translations present
      @NotNull java.lang.String getString​(java.lang.String key)
      Returns the translation with the specified key, or empty if the translation doesn't exist.
    • Method Detail

      • getString

        @NotNull
        @NotNull java.lang.String getString​(java.lang.String key)
        Returns the translation with the specified key, or empty if the translation doesn't exist.
        Parameters:
        key - key
        Returns:
        translation or empty string
      • getFileType

        @NotNull
        @NotNull java.lang.String getFileType()
        Returns the translation file type.
        Returns:
        file type
      • getKeys

        @NotNull
        @NotNull java.util.Collection<java.lang.String> getKeys()
        Returns the keys of all translations present
        Returns:
        keys