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

Constructor Index

 o InputStreamBasedFile(InputStream, int)

Method Index

 o close()
 o flush()
 o getFilePointer()
 o getFileSize()
 o read(byte[], int, int)
 o setFilePointer(long)
 o truncate()
 o write(byte[], int, int)

Constructors

 o InputStreamBasedFile
public InputStreamBasedFile(InputStream in,
                            int size)

Methods

 o read
public int read(byte[] b,
                int off,
                int len) throws IOException
 o write
public int write(byte[] b,
                 int off,
                 int len) throws IOException
 o close
public void close() throws IOException
 o flush
public void flush() throws IOException
 o getFilePointer
public long getFilePointer() throws IOException
 o getFileSize
public long getFileSize() throws IOException
 o setFilePointer
public void setFilePointer(long pos) throws IOException
 o truncate
public void truncate() throws IOException

All Packages  Class Hierarchy  This Package  Previous  Next  Index