Methods Summary |
---|
public boolean | equals(java.lang.Object obj)
if (obj instanceof IFolderWrapper) {
return mFolder.equals(((IFolderWrapper)obj).mFolder);
}
if (obj instanceof IFolder) {
return mFolder.equals(obj);
}
return super.equals(obj);
|
public org.eclipse.core.resources.IFolder | getIFolder()
return mFolder;
|
public java.lang.String | getName()
return mFolder.getName();
|
public boolean | hasFile(java.lang.String name)
try {
IResource[] files = mFolder.members();
for (IResource file : files) {
if (name.equals(file.getName())) {
return true;
}
}
} catch (CoreException e) {
// we'll return false below.
}
return false;
|
public int | hashCode()
return mFolder.hashCode();
|