This method is intended to be used to obtain configuration, setup, localization and other information from this module. This "module space" is not a namespace with unique members; the same entry name can be present multiple times. This method therefore returns an enumeration of URL objects. These URLs can come from different JARs but have the same path name. This method can either return only entries in the specified path or recurse into subdirectories returning entries in the directory tree beginning at the specified path.
URLs for directory entries must have their path end with "/".
Note: Jar and zip files are not required to include directory entries. URLs to directory entries will not be returned if the module contents do not contain directory entries. @param path The path name in which to look. The path is always relativeto the root of this module and may begin with "/". A path value of "/" indicates the root of this module. @param filePattern The file name pattern for selecting entries in thespecified path. The pattern is only matched against the last element of the entry path. If the entry is a directory then the trailing "/" is not used for pattern matching. Substring matching is supported, as specified in the Filter specification, using the wildcard character ("*"). If null is specified, this is equivalent to "*" and matches all files. @param recurse If {@code true}, recurse into subdirectories. Otherwise only return entries from the specified path. @return An enumeration of URL objects for each matching entry, or{@code null} if no matching entry could be found. @throws IllegalStateException If this module has been uninstalled.
|
|
|
|