public class StringSource extends AbstractStreamSource
| Constructor and Description |
|---|
StringSource(String string) |
| Modifier and Type | Method and Description |
|---|---|
long |
getLength() |
InputStream |
getStream() |
String |
getString() |
canReopen, copyTo, copyTo, destroy, getBytes, getCharsetName, setCharsetNamepublic StringSource(String string)
public long getLength()
throws IOException
getLength in interface StreamSourcegetLength in class AbstractStreamSourceIOExceptionpublic InputStream getStream() throws IOException
IOExceptionpublic String getString() throws IOException
getString in interface StreamSourcegetString in class AbstractStreamSourceIOExceptionCopyright © 2013 Nuxeo SA. All Rights Reserved.