The path of the data finder points to a directory, and the resources are found by resolving the name against the directory.
| public | Creates a new instance initialized with the specified path key. |
| public | SakerPathClassLoaderDataFinder( Creates a new instance initialized with the given file provider and path. |
| public Supplier< | getResource( Gets a supplier for an existing resource stream specified by the given name. |
| public ByteSource | getResourceAsStream( Opens a stream to the resource specified by the given name. |
| public String | toString() Returns a string representation of the object. |
From: Object |
From: ClassLoaderDataFinder |
null.null.
The name is a slash ('/') separated path to the resource to be found.
The opened stream by the returned supplier should be closed for each returned stream.
The returned supplier can still return null, if there was opening error in the stream.
null if the resource is not found.
The name is a slash ('/') separated path to the resource to be found.
The returned stream should be closed by the caller.
null if not found.toString method returns a string that
"textually represents" this object. The result should be a concise but informative representation that is easy
for a person to read. It is recommended that all subclasses override this method.
The toString method for class Object returns a string consisting of the name of the class of
which the object is an instance, the at-sign character `@', and the unsigned hexadecimal representation
of the hash code of the object. In other words, this method returns a string equal to the value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())