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, setCharsetName
public StringSource(String string)
public long getLength() throws IOException
getLength
in interface StreamSource
getLength
in class AbstractStreamSource
IOException
public InputStream getStream() throws IOException
IOException
public String getString() throws IOException
getString
in interface StreamSource
getString
in class AbstractStreamSource
IOException
Copyright © 2013 Nuxeo SA. All Rights Reserved.