java.lang.Object |
↳ |
com.pnfsoftware.jeb.util.base.TypedContent |
Class Overview
A buffer of data with a MIME type and contents properties.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
TypedContent
(String text, String mimeType)
public
TypedContent
(byte[] bytes, String mimeType)
public
TypedContent
(byte[] bytes, String mimeType, String charsetName)
Public Methods
public
byte[]
getBytes
()
public
String
getCharsetName
()
public
String
getMimeType
()
public
static
TypedContent
html
(String text, String anchor)
public
boolean
isBinary
()