Class PlainJavaFolder
- java.lang.Object
-
- org.faktorips.devtools.abstraction.AWrapper<java.io.File>
-
- org.faktorips.devtools.abstraction.plainjava.internal.PlainJavaResource
-
- org.faktorips.devtools.abstraction.plainjava.internal.PlainJavaContainer
-
- org.faktorips.devtools.abstraction.plainjava.internal.PlainJavaFolder
-
- All Implemented Interfaces:
java.lang.Comparable<AResource>,java.lang.Iterable<AResource>,AAbstraction,AContainer,AFolder,AResource
- Direct Known Subclasses:
PlainJavaProject,PlainJavaWorkspaceRoot
public class PlainJavaFolder extends PlainJavaContainer implements AFolder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.faktorips.devtools.abstraction.AResource
AResource.AResourceTreeTraversalDepth, AResource.AResourceType
-
-
Field Summary
-
Fields inherited from interface org.faktorips.devtools.abstraction.AResource
COMPARING_BY_NAME
-
-
Constructor Summary
Constructors Constructor Description PlainJavaFolder(java.io.File directory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate(org.eclipse.core.runtime.IProgressMonitor monitor)Creates this folder in the file-system.AFilegetFile(java.lang.String name)Returns the file with the given name contained in this folder.AFoldergetFolder(java.lang.String name)Returns the folder with the given name contained in this folder.AResource.AResourceTypegetType()A resource type can be used instead of checking forinstanceofwith concrete implementations.-
Methods inherited from class org.faktorips.devtools.abstraction.plainjava.internal.PlainJavaContainer
findMember, getFile, getFolder, getMembers, isSynchronizedInternal, recursive, refreshInternal
-
Methods inherited from class org.faktorips.devtools.abstraction.plainjava.internal.PlainJavaResource
copy, createMarker, delete, deleteMarker, deleteMarkers, exists, findMarkers, getLocalTimeStamp, getLocation, getModificationStamp, getName, getParent, getProject, getProjectRelativePath, getWorkspace, getWorkspaceRelativePath, isAccessible, isDerived, isSynchronized, move, recursive, refreshLocal, setDerived, touch
-
Methods inherited from class org.faktorips.devtools.abstraction.AWrapper
equals, hashCode, toString, unwrap
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.faktorips.devtools.abstraction.AAbstraction
unwrap
-
Methods inherited from interface org.faktorips.devtools.abstraction.AContainer
findMember, getFile, getFolder, getMembers, iterator
-
Methods inherited from interface org.faktorips.devtools.abstraction.AResource
compareTo, copy, createMarker, delete, deleteMarkers, exists, findMarkers, getLocalTimeStamp, getLocation, getModificationStamp, getName, getParent, getProject, getProjectRelativePath, getWorkspace, getWorkspaceRelativePath, isAccessible, isDerived, isSynchronized, move, refreshLocal, setDerived, touch
-
-
-
-
Method Detail
-
getType
public AResource.AResourceType getType()
Description copied from interface:AResourceA resource type can be used instead of checking forinstanceofwith concrete implementations.
-
getFile
public AFile getFile(java.lang.String name)
Description copied from interface:AFolderReturns the file with the given name contained in this folder.Note that that file does not necessarily
exist.
-
getFolder
public AFolder getFolder(java.lang.String name)
Description copied from interface:AFolderReturns the folder with the given name contained in this folder.Note that that folder does not necessarily
exist.
-
create
public void create(org.eclipse.core.runtime.IProgressMonitor monitor)
Description copied from interface:AFolderCreates this folder in the file-system.
-
-