public class UESStringSource extends UESByteSource
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_CONTENT_TYPE |
static java.lang.String |
DEFAULT_ENCODING |
protected java.lang.String |
encoding |
contentType, data, DEFAULT_NAME, name, outStream
Constructor and Description |
---|
UESStringSource()
Creates a new instance of UESStringSource.
|
UESStringSource(java.lang.String data)
Creates a new instance of UESStringSource.
|
UESStringSource(java.lang.String data,
Creates a new instance of UESStringSource.Constructor with some default setting.
|
UESStringSource(java.lang.String data,
Creates a new instance of UESStringSource.
|
UESStringSource(java.lang.String data,
Creates a new instance of UESStringSource.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEncoding() |
java.lang.String |
toString() |
getContentType, getInputStream, getName, getOutputStream, getSize, toByteArray
data
- - source data for InputStream, if you give null value,
you cannot get InputStream instead Exception is throwncontentType
- - MIME content type of dataencoding
- - character encoding of dataname
- - name of string sourcedata
- - source data for InputStream, if you give null value,
you cannot get InputStream instead Exception is throwncontentType
- - MIME content type of dataencoding
- - character encoding of datadata
- - source data for InputStream, if you give null value,
you cannot get InputStream instead Exception is throwncontentType
- - MIME content type of datadata
- - source data for InputStream, if you give null value,
you cannot get InputStream instead Exception is throwntoString
in class java.lang.Object