Package | Description |
---|---|
com.norconex.commons.lang.file |
File-related utility classes.
|
Modifier and Type | Field and Description |
---|---|
static ContentType |
ContentType.BMP |
static ContentType |
ContentType.CSV |
static ContentType |
ContentType.GIF |
static ContentType |
ContentType.HTML |
static ContentType |
ContentType.JPEG |
static ContentType |
ContentType.PDF |
static ContentType |
ContentType.PNG |
static ContentType |
ContentType.TEXT |
static ContentType |
ContentType.TSV |
static ContentType |
ContentType.XML |
static ContentType |
ContentType.ZIP |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ContentFamily.contains(ContentType contentType) |
static ContentFamily |
ContentFamily.forContentType(ContentType contentType) |
Copyright © 2008–2021 Norconex Inc.. All rights reserved.