public class FileStreamData extends java.lang.Object implements StreamData
Constructor and Description |
---|
FileStreamData(AppContext conn,
java.io.File f) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getInputStream()
get an InputStream to read the state of the obect
|
long |
getLength()
get the size of data held in the object
|
java.io.OutputStream |
getOutputStream()
Get an OutputStream used to modify the state of the object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
append, read, write
public FileStreamData(AppContext conn, java.io.File f)
public long getLength()
StreamData
getLength
in interface StreamData
public java.io.InputStream getInputStream()
StreamData
getInputStream
in interface StreamData
public java.io.OutputStream getOutputStream()
StreamData
getOutputStream
in interface StreamData