|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.runtime.services.streaming.AbstractStreamSource org.nuxeo.runtime.services.streaming.ByteArraySource
public class ByteArraySource
Constructor Summary | |
---|---|
ByteArraySource(byte[] bytes)
|
Method Summary | |
---|---|
boolean |
canReopen()
|
byte[] |
getBytes()
|
long |
getLength()
|
java.io.InputStream |
getStream()
|
Methods inherited from class org.nuxeo.runtime.services.streaming.AbstractStreamSource |
---|
copyTo, copyTo, destroy, getString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ByteArraySource(byte[] bytes)
Method Detail |
---|
public long getLength() throws java.io.IOException
getLength
in interface StreamSource
getLength
in class AbstractStreamSource
java.io.IOException
public boolean canReopen()
canReopen
in interface StreamSource
canReopen
in class AbstractStreamSource
public java.io.InputStream getStream() throws java.io.IOException
java.io.IOException
public byte[] getBytes() throws java.io.IOException
getBytes
in interface StreamSource
getBytes
in class AbstractStreamSource
java.io.IOException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |