Package com.iizigo.app
Class EclipseIProject
java.lang.Object
com.iizigo.app.EclipseIProject
- All Implemented Interfaces:
- IIDirectory,- IIResource
The Eclipse project wrapper as a directory.
- Author:
- Christopher Mindus
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescription- booleanCompares two resources.Get the Java canonical File.Gets the full path to the resource.- getName()Gets the name of the resource.- int- hashCode()The hash code.- booleanChecks if this resource is a directory.- listDirectory- (Object monitor) Lists the contents of the directory.- toString()Resource String representation is the file name.- Methods inherited from class java.lang.Object- clone, finalize, getClass, notify, notifyAll, wait, wait, wait- Methods inherited from interface com.iizix.app.builder.IIResource- equals
- Constructor Details- EclipseIProjectConstructs a file.
 
- Method Details- getFullPathGets the full path to the resource.- Specified by:
- getFullPathin interface- IIResource
- Throws:
- IOException- For I/O errors.
 
- getFileGet the Java canonical File.- Specified by:
- getFilein interface- IIResource
- Parameters:
- monitor- The IProgressMonitor, null for none.
- Returns:
- a File in canonical form.
- Throws:
- IOException- For I/O errors.
 
- listDirectoryLists the contents of the directory.- Specified by:
- listDirectoryin interface- IIDirectory
- Parameters:
- monitor- The IProgressMonitor, null for none.
- Throws:
- IOException- For directory errors.
 
- isDirectorypublic boolean isDirectory()Checks if this resource is a directory.- Specified by:
- isDirectoryin interface- IIResource
- Returns:
- true.
 
- getNameGets the name of the resource.- Specified by:
- getNamein interface- IIResource
- Returns:
- The name of the resource (also includes the file extension).
 
- equalsCompares two resources.
- hashCodepublic int hashCode()The hash code.
- toStringResource String representation is the file name.