Package org.alfresco.repo.virtual.ref
Class ClasspathResource
java.lang.Object
org.alfresco.repo.virtual.ref.ClasspathResource
- All Implemented Interfaces:
Resource
Identifies content from a classpath
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasStream(ActualEnvironment environment) booleaninthashCode()<R> RprocessWith(ResourceProcessor<R> processor) Processes the Resource with aResourceProcessor.stringify(Stringifier stringifier) Returns the String representation of the resource.
-
Constructor Details
-
ClasspathResource
-
-
Method Details
-
getClasspath
-
stringify
Description copied from interface:ResourceReturns the String representation of the resource.- Specified by:
stringifyin interfaceResource- Returns:
- Throws:
ReferenceEncodingException
-
hashCode
public int hashCode() -
equals
-
processWith
Description copied from interface:ResourceProcesses the Resource with aResourceProcessor. This method has the role of the accept method in the Visitor pattern, in this case the Visitor being theResourceProcessorand the Element - the Resource.- Specified by:
processWithin interfaceResource- Returns:
- Throws:
ResourceProcessingError
-
asStream
- Specified by:
asStreamin interfaceResource- Throws:
ActualEnvironmentException
-