All Packages Class Hierarchy This Package Previous Next Index
Class org.jos.fs.util.InputStreamBasedFile
java.lang.Object
|
+----org.jos.fs.util.InputStreamBasedFile
- public class InputStreamBasedFile
- extends Object
- implements FSFile
- Version:
- JOS-FileSystem 4 Preview (25-Mar-98)
- Author:
- Stefan Reich
-
InputStreamBasedFile(InputStream, int)
-
-
close()
-
-
flush()
-
-
getFilePointer()
-
-
getFileSize()
-
-
read(byte[], int, int)
-
-
setFilePointer(long)
-
-
truncate()
-
-
write(byte[], int, int)
-
InputStreamBasedFile
public InputStreamBasedFile(InputStream in,
int size)
read
public int read(byte[] b,
int off,
int len) throws IOException
write
public int write(byte[] b,
int off,
int len) throws IOException
close
public void close() throws IOException
flush
public void flush() throws IOException
getFilePointer
public long getFilePointer() throws IOException
getFileSize
public long getFileSize() throws IOException
setFilePointer
public void setFilePointer(long pos) throws IOException
truncate
public void truncate() throws IOException
All Packages Class Hierarchy This Package Previous Next Index