xjavadoc.filesystem
Class XJavadocFile

java.lang.Object
  extended byxjavadoc.filesystem.XJavadocFile
All Implemented Interfaces:
AbstractFile

public class XJavadocFile
extends java.lang.Object
implements AbstractFile


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
 

Constructor Detail

XJavadocFile

public XJavadocFile(java.io.File file)
Method Detail

getReader

public java.io.Reader getReader()
                         throws java.io.IOException
Description copied from interface: AbstractFile
Obtain a reader for the file.

Specified by:
getReader in interface AbstractFile
Returns:
Throws:
java.io.IOException

getReader

public java.io.Reader getReader(java.lang.String enc)
                         throws java.io.UnsupportedEncodingException,
                                java.io.FileNotFoundException
Specified by:
getReader in interface AbstractFile
Returns:
Throws:
java.io.UnsupportedEncodingException
java.io.FileNotFoundException

getWriter

public java.io.Writer getWriter()
                         throws java.io.IOException
Description copied from interface: AbstractFile
Obtain a writer for the file.

Specified by:
getWriter in interface AbstractFile
Returns:
Throws:
java.io.IOException

isWriteable

public boolean isWriteable()
Description copied from interface: AbstractFile
Determine if the file is writeable or not.

Specified by:
isWriteable in interface AbstractFile
Returns:

getOutputStream

public java.io.OutputStream getOutputStream()
                                     throws java.io.FileNotFoundException
Description copied from interface: AbstractFile
Get an outputstream for the file.

Specified by:
getOutputStream in interface AbstractFile
Returns:
Throws:
java.io.FileNotFoundException

getPath

public java.lang.String getPath()
Specified by:
getPath in interface AbstractFile

lastModified

public long lastModified()
Description copied from interface: AbstractFile
Get the last modified timestamp of the file, or 0 if not available.

Specified by:
lastModified in interface AbstractFile
Returns:

toString

public java.lang.String toString()


Copyright © 2002-2004 XDoclet Team. All Rights Reserved.