java.lang.Cloneable
, java.lang.Comparable<Resource>
, java.lang.Iterable<Resource>
, ResourceCollection
public class JavaConstantResource extends AbstractClasspathResource
AbstractClasspathResource.ClassLoaderWithFlag
description, location, project
MAGIC, UNKNOWN_DATETIME, UNKNOWN_SIZE
Constructor | Description |
---|---|
JavaConstantResource() |
Modifier and Type | Method | Description |
---|---|---|
protected java.io.InputStream |
openInputStream(java.lang.ClassLoader cl) |
open the input stream from a specific classloader
|
createClasspath, dieOnCircularReference, getClassLoader, getClasspath, getInputStream, getLoader, isExists, setClasspath, setClasspathRef, setLoaderRef, setParentFirst, setRefid
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes
finalize, getClass, notify, notifyAll, wait, wait, wait
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
as, asOptional, clone, compareTo, equals, getCheckedRef, getLastModified, getMagicNumber, getName, getOutputStream, getSize, hashCode, isDirectory, isFilesystemOnly, iterator, setDirectory, setExists, setLastModified, setName, setSize, size, toLongString, toString
isEmpty, stream
protected java.io.InputStream openInputStream(java.lang.ClassLoader cl) throws java.io.IOException
openInputStream
in class AbstractClasspathResource
cl
- the classloader to use. Will be null if the system classloader is usedjava.io.IOException
- if an error occurs.