Defines interface to get input / output stream on CoFile objects.
CoFile
Method Summary | |
CoConsole |
getConsole()
Gets console if implemented or null. |
char |
getDataType()
Get type of data transfer. |
java.io.InputStream |
getInputStream()
Returns an input stream for this file. |
java.io.OutputStream |
getOutputStream()
Returns an output stream for this file. |
java.io.OutputStream |
getOutputStream(boolean append)
Returns an output stream for this file. |
CoFile |
newFileChild(java.lang.String child)
Creates a new file instance from this abstract pathname and a child string. |
CoFile |
newFileRename(java.lang.String name)
Creates a new file instance from a parent of this abstract pathname and a name string. |
Method Detail |
public CoConsole getConsole()
public char getDataType()
public java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
public java.io.OutputStream getOutputStream() throws java.io.IOException
java.io.IOException
public java.io.OutputStream getOutputStream(boolean append) throws java.io.IOException
java.io.IOException
public CoFile newFileChild(java.lang.String child)
public CoFile newFileRename(java.lang.String name)