public class RepositoryResource extends Object implements Resource
RepositoryLocation| Constructor and Description |
|---|
RepositoryResource(RepositoryLocation aLocation) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
asStream(ActualEnvironment environment) |
boolean |
equals(Object obj) |
RepositoryLocation |
getLocation() |
int |
hashCode() |
<R> R |
processWith(ResourceProcessor<R> processor)
Processes the Resource with a
ResourceProcessor. |
String |
stringify(Stringifier stringifier)
Returns the String representation of the resource.
|
public RepositoryResource(RepositoryLocation aLocation)
public String stringify(Stringifier stringifier) throws ReferenceEncodingException
Resourcestringify in interface ResourceReferenceEncodingExceptionpublic RepositoryLocation getLocation()
public <R> R processWith(ResourceProcessor<R> processor) throws ResourceProcessingError
ResourceResourceProcessor. This method has
the role of the accept method in the Visitor pattern, in this case the
Visitor being the ResourceProcessor and the Element - the
Resource.processWith in interface ResourceResourceProcessingErrorpublic InputStream asStream(ActualEnvironment environment) throws ActualEnvironmentException
asStream in interface ResourceActualEnvironmentExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.