public class PathResourceFinder extends LazyMultiResourceFinder
ResourceFinder that finds its resources along a "path"
consisting of JAR file names, ZIP file names, and directory names.ZipFileResourceFinder,
DirectoryResourceFinderEMPTY_RESOURCE_FINDER| Constructor | Description |
|---|---|
PathResourceFinder(File[] entries) |
|
PathResourceFinder(String path) |
|
PathResourceFinder(Iterator<ResourceFinder> entries) |
| Modifier and Type | Method | Description |
|---|---|---|
static File[] |
parsePath(String s) |
Break a given string up by the system-dependent path-separator character (on UNIX systems,
this character is ':'; on Microsoft Windows systems it is ';').
|
findResourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindResourceAsStreampublic PathResourceFinder(File[] entries)
entries - The entries of the "path"public PathResourceFinder(Iterator<ResourceFinder> entries)
entries - The entries of the "path" (type must be File)public PathResourceFinder(String path)
path - A java-like path, i.e. a "path separator"-separated list of entries.public static File[] parsePath(String s)
UNIX Examples:
File.pathSeparatorCharCopyright © 2001–2019. All rights reserved.