|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Leaf
Represents a non-directory type file in a (possibly remote) filesystem.
Method Summary | |
---|---|
DataSource |
getDataSource()
Returns a data source (replayable input stream) containing the data content of this leaf. |
java.io.OutputStream |
getOutputStream()
Returns an output stream from this leaf. |
Methods inherited from interface uk.ac.starlink.connect.Node |
---|
getName, getParent |
Method Detail |
---|
DataSource getDataSource() throws java.io.IOException
FileNotFoundException
- if the file named by this leaf does
not exist
java.io.IOException
- if some other error occursjava.io.OutputStream getOutputStream() throws java.io.IOException
java.io.IOException
- if there's some error
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |