org.nuxeo.runtime.services.streaming
Class StringSource
java.lang.Object
org.nuxeo.runtime.services.streaming.AbstractStreamSource
org.nuxeo.runtime.services.streaming.StringSource
- All Implemented Interfaces:
- StreamSource
public class StringSource
- extends AbstractStreamSource
- Author:
- Bogdan Stefanescu
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
string
protected final String string
StringSource
public StringSource(String string)
getLength
public long getLength()
throws IOException
- Specified by:
getLength in interface StreamSource- Overrides:
getLength in class AbstractStreamSource
- Throws:
IOException
getStream
public InputStream getStream()
throws IOException
- Throws:
IOException
Copyright ? 2007 Nuxeo SAS. All Rights Reserved.