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