Package com.iizix.app.builder
Interface IIFile
- All Superinterfaces:
- IIResource
 - All Known Implementing Classes:
- EclipseIFile,- EclipseIPathFile,- JavaFile
 - public interface IIFile extends IIResource The interface to an interface of a file. The file is either a plain Java File or an Eclipse IFile or IPath.- Author:
- Christopher Mindus
 
- Method Summary- All Methods Instance Methods Abstract Methods - Modifier and Type - Method - Description - long- getFileSize()Gets the file size.- long- getLastModified()Gets the file modified time in milliseconds since the epoch.- java.io.InputStream- openInputStream(java.lang.Object monitor)Opens the input stream to the file.- Methods inherited from interface com.iizix.app.builder.IIResource- equals, getFile, getFullPath, getName, isDirectory
 
 
- Method Detail- openInputStream- java.io.InputStream openInputStream(java.lang.Object monitor) throws java.io.IOExceptionOpens the input stream to the file.- Parameters:
- monitor- The IProgressMonitor, null for none.
- Returns:
- The input stream.
- Throws:
- java.io.IOException- For read errors.
 
 - getFileSize- long getFileSize() Gets the file size.
 - getLastModified- long getLastModified() Gets the file modified time in milliseconds since the epoch.- Returns:
- Milliseconds since 1st January 1970, 0:00.