Package com.iizix.app.builder
Interface IIFile
- All Superinterfaces:
- IIResource
- All Known Implementing Classes:
- EclipseIFile,- EclipseIPathFile,- JavaFile
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 SummaryModifier and TypeMethodDescription- longGets the file size.- longGets the file modified time in milliseconds since the epoch.- openInputStream- (Object monitor) Opens the input stream to the file.- Methods inherited from interface com.iizix.app.builder.IIResource- equals, getFile, getFullPath, getName, isDirectory
- Method Details- openInputStreamOpens the input stream to the file.- Parameters:
- monitor- The IProgressMonitor, null for none.
- Returns:
- The input stream.
- Throws:
- IOException- For read errors.
 
- getFileSizelong getFileSize()Gets the file size.
- getLastModifiedlong getLastModified()Gets the file modified time in milliseconds since the epoch.- Returns:
- Milliseconds since 1st January 1970, 0:00.