xjavadoc.filesystem
Class ReaderFile
java.lang.Object
xjavadoc.filesystem.ReaderFile
- AbstractFile
public class ReaderFile
extends java.lang.Object
ReaderFile
public ReaderFile(Reader file)
getOutputStream
public OutputStream getOutputStream()
throws FileNotFoundException
Get an outputstream for the file.
- getOutputStream in interface AbstractFile
getReader
public Reader getReader()
throws IOException
Obtain a reader for the file.
- getReader in interface AbstractFile
getReader
public Reader getReader(String enc)
throws UnsupportedEncodingException,
FileNotFoundException
- getReader in interface AbstractFile
getWriter
public Writer getWriter()
throws IOException
Obtain a writer for the file.
- getWriter in interface AbstractFile
isWriteable
public boolean isWriteable()
Determine if the file is writeable or not.
- isWriteable in interface AbstractFile
lastModified
public long lastModified()
Get the last modified timestamp of the file, or 0 if not available.
- lastModified in interface AbstractFile
toString
public String toString()