Class DataType


  • public class DataType
    extends java.lang.Object
    A class to describe type of content in WebFile (from WebURL).
    • Constructor Detail

      • DataType

        public DataType​(java.lang.String aType)
        Creates a new content type.
    • Method Detail

      • getPathDataType

        public static DataType getPathDataType​(java.lang.String aPath)
        Returns the default content type for a path.
      • isImageType

        public static boolean isImageType​(java.lang.String aPath)
        Returns whether type is image.