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
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 © 2011 Nuxeo SAS. All Rights Reserved.