Package io.wcm.devops.conga.resource
Interface ResourceInfo
- All Superinterfaces:
Comparable<ResourceInfo>
- All Known Subinterfaces:
Resource,ResourceCollection
Abstraction for resource information.
-
Method Summary
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
exists
boolean exists()Checks if this resource exists.- Returns:
- true if resource exists
-
getName
String getName()Gets the name of this resource.- Returns:
- File name (without path)
-
getPath
String getPath()Gets the path of this resource.- Returns:
- Full path for file
-
getCanonicalPath
String getCanonicalPath()Gets the canonical path of this resource.- Returns:
- Canonical path for file that is absolute and unique.
-