Interface ResourceInfo

All Superinterfaces:
Comparable<ResourceInfo>
All Known Subinterfaces:
Resource, ResourceCollection

public interface ResourceInfo extends Comparable<ResourceInfo>
Abstraction for resource information.
  • Method Details

    • exists

      boolean exists()
      Returns:
      true if resource exists
    • getName

      String getName()
      Returns:
      File name (without path)
    • getPath

      String getPath()
      Returns:
      Full path for file
    • getCanonicalPath

      String getCanonicalPath()
      Returns:
      Canonical path for file that is absolute and unique.