- getCharSource
Gets the char source to access the resource specifying the character set. A char
source is a supplie
- getByteSource
Gets the byte source to access the resource. A byte source is a supplier of
data. The source itself
- ofClasspath
Creates a resource from a fully qualified resource name. If the resource name
does not start with a
- of
Creates a resource from a string locator. This accepts locators starting with
'classpath:', 'url:' o
- ofFile
Creates a resource from a File. Windows separators are converted to UNIX style.
This takes no accoun
- ofClasspathUrl
Creates a resource from a URL.
- ofUrl
Creates a resource from a URL.
- <init>
Creates an instance of the locator.
- equals
Checks if this locator equals another locator. The comparison checks the locator
string.
- getLocator
Gets the string form of the locator. The string form of the locator describes
the location of the re
- hashCode
Returns a suitable hash code for the locator.
- ofPath
Creates a resource from a Path. This will return either a file locator or a URL
locator.