java.lang.Object | |
↳ | com.pnfsoftware.jeb.util.base.TypedContent |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
TypedContent(String text, String mimeType) | |||||||||||
TypedContent(String text, String mimeType, ITypedContentProperties properties) | |||||||||||
TypedContent(byte[] bytes, String mimeType) | |||||||||||
TypedContent(byte[] bytes, String mimeType, String charsetName) | |||||||||||
TypedContent(byte[] bytes, String mimeType, String charsetName, ITypedContentProperties properties) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static TypedContent | bytes(byte[] bytes) | ||||||||||
byte[] | getBytes() | ||||||||||
String | getCharsetName() | ||||||||||
String | getMimeType() | ||||||||||
ITypedContentProperties | getProperties() | ||||||||||
String | getText() | ||||||||||
static TypedContent | html(String text) | ||||||||||
static TypedContent | html(String text, String anchor) | ||||||||||
boolean | isBinary() | ||||||||||
boolean | isText() | ||||||||||
static TypedContent | text(String text) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |