Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.search.api.client.search.results.document
Class ExtendedStringSource

java.lang.Object
  extended by org.nuxeo.runtime.services.streaming.AbstractStreamSource
      extended by org.nuxeo.runtime.services.streaming.StringSource
          extended by 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

Constructor Summary
ExtendedStringSource(java.lang.String string, java.lang.Integer length)
           
 
Method Summary
 long getLength()
           
 
Methods inherited from class org.nuxeo.runtime.services.streaming.StringSource
getStream
 
Methods inherited from class org.nuxeo.runtime.services.streaming.AbstractStreamSource
canReopen, copyTo, copyTo, destroy, getBytes, getString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedStringSource

public ExtendedStringSource(java.lang.String string,
                            java.lang.Integer length)
Method Detail

getLength

public long getLength()
               throws java.io.IOException
Specified by:
getLength in interface StreamSource
Overrides:
getLength in class StringSource
Throws:
java.io.IOException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.