Access | Constructor and Description |
---|---|
public | |
public | JavaResource(String
the resource name. name, Path the classpath. path)Construct a new JavaResource using the specified name and classpath. |
Modifier and Type | Method and Description |
---|---|
public int | Returns: a negative integer, zero, or a positive integer as this JavaResource is less than, equal to, or greater than the specified Resource.the other Resource against which to compare. another)Overrides org. Implements java. |
protected JavaResource | getRef()
Overrides org. |
public URL | getURL()
Implements org. |
protected InputStream | Returns: an open input stream for the resourcethe classloader to use. Will be null if the system
classloader is used cl)Implements abstract org. |
JavaResource | back to summary |
---|---|
public JavaResource() Default constructor. |
JavaResource | back to summary |
---|---|
public JavaResource(String name, Path path) Construct a new JavaResource using the specified name and classpath. |
compareTo | back to summary |
---|---|
public int compareTo(Resource another) Overrides org. Implements java. Compare this JavaResource to another Resource. |
getRef | back to summary |
---|---|
protected JavaResource getRef() Overrides org. Doc from org. Perform the check for circular references and return the referenced Resource.
|
getURL | back to summary |
---|---|
public URL getURL() Implements org. Get the URL represented by this Resource.
|
openInputStream | back to summary |
---|---|
protected InputStream openInputStream(ClassLoader cl) throws IOException Implements abstract org. open the input stream from a specific classloader
|