Class ResourcePath
- java.lang.Object
-
- org.apache.xmlbeans.impl.jam.provider.ResourcePath
-
public class ResourcePath extends Object
Represent a file search path, such as a classpath or sourcepath.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
findInPath(String resource)
static ResourcePath
forFiles(File[] files)
String
toString()
Returns the path as a single string in which each file component is separates by File.pathSeparatorChar.URI[]
toUriPath()
URL[]
toUrlPath()
-
-
-
Method Detail
-
forFiles
public static ResourcePath forFiles(File[] files)
-
toUriPath
public URI[] toUriPath()
-
toUrlPath
public URL[] toUrlPath() throws MalformedURLException
- Throws:
MalformedURLException
-
findInPath
public InputStream findInPath(String resource)
-
-