org.nuxeo.ecm.core.search.api.client.search.results.document
Class ExtendedStringSource
java.lang.Object
org.nuxeo.runtime.services.streaming.AbstractStreamSource
org.nuxeo.runtime.services.streaming.StringSource
org.nuxeo.ecm.core.search.api.client.search.results.document.ExtendedStringSource
- All Implemented Interfaces:
- StreamSource
public class ExtendedStringSource
- extends StringSource
A StringSource with the length.
- Author:
- arussel
ExtendedStringSource
public ExtendedStringSource(String string,
Integer length)
getLength
public long getLength()
throws IOException
- Specified by:
getLength
in interface StreamSource
- Overrides:
getLength
in class StringSource
- Throws:
IOException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.