|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AbstractFile
An interface that allows XJavadoc to read and write from any source/destination and not just files.
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. |
Method Detail |
---|
java.io.Reader getReader() throws java.io.IOException
java.io.IOException
java.io.Writer getWriter() throws java.io.IOException
java.io.IOException
boolean isWriteable()
long lastModified()
java.io.OutputStream getOutputStream() throws java.io.IOException
java.io.IOException
java.lang.String getPath()
java.io.Reader getReader(java.lang.String enc) throws java.io.UnsupportedEncodingException, java.io.FileNotFoundException
encoding
-
java.io.UnsupportedEncodingException
java.io.FileNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |