xjavadoc.filesystem
Interface AbstractFile
- ReaderFile, XJavadocFile
public interface AbstractFile
An interface that allows XJavadoc to read and write from any
source/destination and not just files.
getOutputStream
public OutputStream getOutputStream()
throws IOException
Get an outputstream for the file.
getPath
public String getPath()
getReader
public Reader getReader()
throws IOException
Obtain a reader for the file.
getReader
public Reader getReader(String enc)
throws UnsupportedEncodingException,
FileNotFoundException
getWriter
public Writer getWriter()
throws IOException
Obtain a writer for the file.
isWriteable
public boolean isWriteable()
Determine if the file is writeable or not.
lastModified
public long lastModified()
Get the last modified timestamp of the file, or 0 if not available.