Interface MimeTypeLoader

All Known Implementing Classes:
MimeTypeEnumLoader

public interface MimeTypeLoader
This class is used to load an enumeration(s) of eu.europa.esig.dss.enumerations.MimeType interface
  • Method Details

    • fromMimeTypeString

      MimeType fromMimeTypeString(String mimeTypeString)
      Returns a MimeType matching the MimeType String
      Parameters:
      mimeTypeString - String identifying the MimeType
      Returns:
      MimeType if associated MimeType found, NULL otherwise
    • fromFileExtension

      MimeType fromFileExtension(String fileExtension)
      Returns MimeType matching to the provided fileExtension String
      Parameters:
      fileExtension - String
      Returns:
      MimeType if associated MimeType found, NULL otherwise