|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectxjavadoc.filesystem.ReaderFile
Constructor Summary | |
ReaderFile(Reader file)
|
Method Summary | |
OutputStream |
getOutputStream()
Get an outputstream for the file. |
String |
getPath()
|
Reader |
getReader()
Obtain a reader for the file. |
Reader |
getReader(String enc)
|
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. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ReaderFile(Reader file)
Method Detail |
public Reader getReader() throws IOException
AbstractFile
getReader
in interface AbstractFile
IOException
public Reader getReader(String enc) throws UnsupportedEncodingException, FileNotFoundException
getReader
in interface AbstractFile
UnsupportedEncodingException
FileNotFoundException
public Writer getWriter() throws IOException
AbstractFile
getWriter
in interface AbstractFile
IOException
public boolean isWriteable()
AbstractFile
isWriteable
in interface AbstractFile
public OutputStream getOutputStream() throws FileNotFoundException
AbstractFile
getOutputStream
in interface AbstractFile
FileNotFoundException
public String getPath()
getPath
in interface AbstractFile
public long lastModified()
AbstractFile
lastModified
in interface AbstractFile
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |