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, wait
createDefaultMimeTypeMap
public java.lang.String getContentType()
getContentType
in interface MimeType
public java.nio.charset.Charset getCharset(java.nio.file.Path finalResource, byte[] bytes)
getCharset
in interface MimeType
Copyright © 2019. All Rights Reserved.