|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectxjavadoc.filesystem.XJavadocFile
public class XJavadocFile
| Field Summary | |
|---|---|
private java.io.File |
file
|
| Constructor Summary | |
|---|---|
XJavadocFile(java.io.File 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 |
| Field Detail |
|---|
private java.io.File file
| Constructor Detail |
|---|
public XJavadocFile(java.io.File file)
| Method Detail |
|---|
public java.io.Reader getReader()
throws java.io.IOException
AbstractFile
getReader in interface AbstractFilejava.io.IOException
public java.io.Reader getReader(java.lang.String enc)
throws java.io.UnsupportedEncodingException,
java.io.FileNotFoundException
getReader in interface AbstractFilejava.io.UnsupportedEncodingException
java.io.FileNotFoundException
public java.io.Writer getWriter()
throws java.io.IOException
AbstractFile
getWriter in interface AbstractFilejava.io.IOExceptionpublic boolean isWriteable()
AbstractFile
isWriteable in interface AbstractFile
public java.io.OutputStream getOutputStream()
throws java.io.FileNotFoundException
AbstractFile
getOutputStream in interface AbstractFilejava.io.FileNotFoundExceptionpublic java.lang.String getPath()
getPath in interface AbstractFilepublic long lastModified()
AbstractFile
lastModified in interface AbstractFilepublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||