|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectxjavadoc.filesystem.ReaderFile
Constructor Summary | |
ReaderFile(java.io.Reader file)
|
Method Summary | |
java.io.OutputStream |
getOutputStream()
Get an outputstream for the file. |
java.lang.String |
getPath()
|
java.io.Reader |
getReader()
Obtain a reader for the file. |
java.io.Reader |
getReader(java.lang.String enc)
|
java.io.Writer |
getWriter()
Obtain a writer for the file. |
boolean |
isWriteable()
Determine if the file is writeable or not. |
long |
lastModified()
Get the last modified timestamp of the file, or 0 if not available. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ReaderFile(java.io.Reader file)
Method Detail |
public java.io.Reader getReader() throws java.io.IOException
AbstractFile
getReader
in interface AbstractFile
java.io.IOException
public java.io.Reader getReader(java.lang.String enc) throws java.io.UnsupportedEncodingException, java.io.FileNotFoundException
getReader
in interface AbstractFile
java.io.UnsupportedEncodingException
java.io.FileNotFoundException
public java.io.Writer getWriter() throws java.io.IOException
AbstractFile
getWriter
in interface AbstractFile
java.io.IOException
public boolean isWriteable()
AbstractFile
isWriteable
in interface AbstractFile
public java.io.OutputStream getOutputStream() throws java.io.FileNotFoundException
AbstractFile
getOutputStream
in interface AbstractFile
java.io.FileNotFoundException
public java.lang.String getPath()
getPath
in interface AbstractFile
public long lastModified()
AbstractFile
lastModified
in interface AbstractFile
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |