Skip to content

wytzevanderploeg/java-mime-types

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This small Java library contains a set of enumerations for various mime-types and the respective file extension. The MimeType can be determined by passing in a file extension.

Small example:

        String applicationZip = "application/zip";
        String zipExtension = ".zip";

        assertEquals(MimeType.APPLICATION_ZIP_ZIP, MimeType.fromType(applicationZip));

        assertEquals(MimeType.APPLICATION_ZIP_ZIP, MimeType.fromExtension(zipExtension));

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages