Interface IAbstractResource

  • All Known Subinterfaces:
    IAbstractFile, IAbstractFolder
    All Known Implementing Classes:
    FileWrapper, FolderWrapper

    public interface IAbstractResource
    Base representation of a file system resource.

    This somewhat limited interface is designed to let classes use file-system resources, without having the manually handle either the standard Java file or the Eclipse file API..

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean exists()
      Returns whether the resource actually exists.
      java.lang.String getOsLocation()
      Returns the OS path of the folder location (may be absolute).
    • Method Detail

      • getOsLocation

        java.lang.String getOsLocation()
        Returns the OS path of the folder location (may be absolute).
      • exists

        boolean exists()
        Returns whether the resource actually exists.