|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JFileSystem
Extension of FileSystem interface to support returning "normal" Java Input and Output Streams. This is mostly for efficiency purposes so a file system implementation with access to "underlying" streams can use those rather than wrapping them in a JInputStream only to wrap that in JavaInputStream.
| Method Summary | |
|---|---|
InputStream |
openJInput(File f)
Get a Java intput stream to write a file. |
OutputStream |
openJOutput(File f)
Get a Java output stream to write a file. |
RandomAccessFile |
openJRandomAccess(File f)
Get a random access to read and write a file. |
| Methods inherited from interface net.metanotion.io.FileSystem |
|---|
addListener, addListener, addListener, getFile, getRoot, openInput, openOutput, openRandomAccess, removeListener |
| Method Detail |
|---|
InputStream openJInput(File f)
f - File to open for reading.
OutputStream openJOutput(File f)
f - File to open for writing.
RandomAccessFile openJRandomAccess(File f)
f - File to open.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||