# Uses of Class
com.norconex.commons.lang.file.ContentType

Packages that use ContentType
Package
Description
com.norconex.commons.lang.file
File-related utility classes.

- ## Uses of ContentType in com.norconex.commons.lang.file

  Fields in com.norconex.commons.lang.file declared as ContentType
  Modifier and Type
  Field
  Description
  `static final ContentType`
  ContentType.`BMP`
  `static final ContentType`
  ContentType.`CSV`
  `static final ContentType`
  ContentType.`GIF`
  `static final ContentType`
  ContentType.`HTML`
  `static final ContentType`
  ContentType.`JPEG`
  `static final ContentType`
  ContentType.`PDF`
  `static final ContentType`
  ContentType.`PNG`
  `static final ContentType`
  ContentType.`TEXT`
  `static final ContentType`
  ContentType.`TSV`
  `static final ContentType`
  ContentType.`XML`
  `static final ContentType`
  ContentType.`ZIP`
  Methods in com.norconex.commons.lang.file that return ContentType
  Modifier and Type
  Method
  Description
  `ContentType`
  ContentType.`toBaseType()`
  Returns a content-type without any parameters (removes ";" and any values afterwards).
  `static ContentType`
  ContentType.`valueOf(String contentType)`
  Creates a new content type.
  `static ContentType[]`
  ContentType.`valuesOf(String... contentTypes)`
  Creates a null-safe array of content types.
  Methods in com.norconex.commons.lang.file that return types with arguments of type ContentType
  Modifier and Type
  Method
  Description
  `static List<ContentType>`
  ContentType.`valuesOf(List<String> contentTypes)`
  Creates a null-safe array of content types.
  Methods in com.norconex.commons.lang.file with parameters of type ContentType
  Modifier and Type
  Method
  Description
  `boolean`
  ContentFamily.`contains(ContentType contentType)`
  `static ContentFamily`
  ContentFamily.`forContentType(ContentType contentType)`