Class ResourcePath
- java.lang.Object
-
- org.apache.xmlbeans.impl.jam.provider.ResourcePath
-
public class ResourcePath extends java.lang.ObjectRepresent 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 java.io.InputStreamfindInPath(java.lang.String resource)static ResourcePathforFiles(java.io.File[] files)java.lang.StringtoString()Returns the path as a single string in which each file component is separates by File.pathSeparatorChar.java.net.URI[]toUriPath()java.net.URL[]toUrlPath()
-
-
-
Method Detail
-
forFiles
public static ResourcePath forFiles(java.io.File[] files)
-
toUriPath
public java.net.URI[] toUriPath()
-
toUrlPath
public java.net.URL[] toUrlPath() throws java.net.MalformedURLException- Throws:
java.net.MalformedURLException
-
findInPath
public java.io.InputStream findInPath(java.lang.String resource)
-
toString
public java.lang.String toString()
Returns the path as a single string in which each file component is separates by File.pathSeparatorChar.- Overrides:
toStringin classjava.lang.Object
-
-