Class PathResourceFinder


public class PathResourceFinder extends LazyMultiResourceFinder
A ResourceFinder that finds its resources along a "path" consisting of JAR file names, ZIP file names, and directory names.
See Also:
  • Constructor Details

    • PathResourceFinder

      public PathResourceFinder(File[] entries)
      Parameters:
      entries - The entries of the "path"
    • PathResourceFinder

      public PathResourceFinder(Iterator entries)
      Parameters:
      entries - The entries of the "path" (type must be File)
    • PathResourceFinder

      public PathResourceFinder(String path)
      Parameters:
      path - A java-like path, i.e. a "path separator"-separated list of entries.
  • Method Details

    • parsePath

      public 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 ';'). Empty components are ignored.

      UNIX Examples:

      A:B:C
      A, B, C
      ::B:
      B
      :A
      A
      (Empty string)
      (Zero components)
      See Also: