Interface IFileUtils


public interface IFileUtils
IFileUtils Use this utils to manipulate files (extensions, mime type, ...)
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieve the mime type from the extension in the file's name
  • Method Details

    • retrieveMimeType

      String retrieveMimeType(String filename)
      Retrieve the mime type from the extension in the file's name
      Parameters:
      filename - the file's name
      Returns:
      the mime type