Class PlainJavaFolder

    • Constructor Detail

      • PlainJavaFolder

        public PlainJavaFolder​(java.io.File directory)
    • Method Detail

      • getType

        public AResource.AResourceType getType()
        Description copied from interface: AResource
        A resource type can be used instead of checking for instanceof with concrete implementations.
        Specified by:
        getType in interface AResource
        Returns:
        the resource's type
      • getFile

        public AFile getFile​(java.lang.String name)
        Description copied from interface: AFolder
        Returns the file with the given name contained in this folder.

        Note that that file does not necessarily exist.

        Specified by:
        getFile in interface AFolder
        Parameters:
        name - the file's name
        Returns:
        the file with the given name
      • getFolder

        public AFolder getFolder​(java.lang.String name)
        Description copied from interface: AFolder
        Returns the folder with the given name contained in this folder.

        Note that that folder does not necessarily exist.

        Specified by:
        getFolder in interface AFolder
        Parameters:
        name - the folder name
        Returns:
        the folder with the given name
      • create

        public void create​(org.eclipse.core.runtime.IProgressMonitor monitor)
        Description copied from interface: AFolder
        Creates this folder in the file-system.
        Specified by:
        create in interface AFolder
        Parameters:
        monitor - a progress monitor that is notified about this process. The monitor may be null when progress does not need to be reported.