xjavadoc.filesystem
Class ReaderFile

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

public class ReaderFile
extends Object
implements AbstractFile


Constructor Summary
ReaderFile(Reader file)
           
 
Method Summary
 OutputStream getOutputStream()
          Get an outputstream for the file.
 String getPath()
           
 Reader getReader()
          Obtain a reader for the file.
 Reader getReader(String enc)
           
 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.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReaderFile

public ReaderFile(Reader file)
Method Detail

getReader

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

Specified by:
getReader in interface AbstractFile
Returns:
Throws:
IOException

getReader

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

getWriter

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

Specified by:
getWriter in interface AbstractFile
Returns:
Throws:
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 OutputStream getOutputStream()
                             throws FileNotFoundException
Description copied from interface: AbstractFile
Get an outputstream for the file.

Specified by:
getOutputStream in interface AbstractFile
Returns:
Throws:
FileNotFoundException

getPath

public 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 String toString()


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