- getLanguage(String, byte[]) - Static method in class tech.sourced.enry.Enry
-
Returns the language of the given file based on the filename and its
contents.
- getLanguageByContent(String, byte[]) - Static method in class tech.sourced.enry.Enry
-
Returns detected language by its content.
- getLanguageByEmacsModeline(byte[]) - Static method in class tech.sourced.enry.Enry
-
Returns detected language by its emacs modeline.
- getLanguageByExtension(String) - Static method in class tech.sourced.enry.Enry
-
Returns detected language by the extension of the filename.
- getLanguageByFilename(String) - Static method in class tech.sourced.enry.Enry
-
Returns detected language by its filename.
- getLanguageByModeline(byte[]) - Static method in class tech.sourced.enry.Enry
-
Returns detected language by its modeline.
- getLanguageByShebang(byte[]) - Static method in class tech.sourced.enry.Enry
-
Returns detected language by its shebang.
- getLanguageByVimModeline(byte[]) - Static method in class tech.sourced.enry.Enry
-
Returns detected language by its vim modeline.
- getLanguageExtensions(String) - Static method in class tech.sourced.enry.Enry
-
Returns all the possible extensions for a file in the given language.
- getLanguages(String, byte[]) - Static method in class tech.sourced.enry.Enry
-
Returns all possible languages for the given file.
- getMimeType(String, String) - Static method in class tech.sourced.enry.Enry
-
Returns the mime type of the file.
- Guess - Class in tech.sourced.enry
-
Guess denotes a language detection result of which enry can be
completely sure or not.
- Guess(String, boolean) - Constructor for class tech.sourced.enry.Guess
-