org.metasyntactic.io.filesystem
Interface File

All Superinterfaces:
Entry
All Known Implementing Classes:
AbstractFile

public interface File
extends Entry


Method Summary
 java.io.InputStream getInputStream()
           
 java.util.Date getLastModified()
          Returns the time that this file was last modified
 long getLength()
          Returns the length (in bytes) of this file
 java.io.OutputStream getOutputStream()
           
 
Methods inherited from interface org.metasyntactic.io.filesystem.Entry
delete, equals, getFileSystem, getName, getParent, getPath, hashCode, toString
 

Method Detail

getLength

public long getLength()
Returns the length (in bytes) of this file


getLastModified

public java.util.Date getLastModified()
Returns the time that this file was last modified


getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
java.io.IOException

getOutputStream

public java.io.OutputStream getOutputStream()
                                     throws java.io.IOException
java.io.IOException