public static class MimeType.Text extends java.lang.Object implements MimeType
MimeType.Binary, MimeType.Text, MimeType.Utf8Text| Constructor and Description |
|---|
Text(java.lang.String type,
java.nio.charset.Charset charset) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.charset.Charset |
getCharset(java.nio.file.Path finalResource,
byte[] bytes) |
java.lang.String |
getContentType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateDefaultMimeTypeMappublic java.lang.String getContentType()
getContentType in interface MimeTypepublic java.nio.charset.Charset getCharset(java.nio.file.Path finalResource,
byte[] bytes)
getCharset in interface MimeTypeCopyright © 2018. All Rights Reserved.