Package org.alfresco.repo.virtual.ref
Class RepositoryPath
- java.lang.Object
-
- org.alfresco.repo.virtual.ref.RepositoryPath
-
- All Implemented Interfaces:
RepositoryLocation
public class RepositoryPath extends Object implements RepositoryLocation
-
-
Constructor Summary
Constructors Constructor Description RepositoryPath(String aPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeRefasNodeRef(ActualEnvironment environment)booleanequals(Object obj)StringgetPath()inthashCode()InputStreamopenContentStream(ActualEnvironment environment)Stringstringify(Stringifier stringifier)
-
-
-
Constructor Detail
-
RepositoryPath
public RepositoryPath(String aPath)
-
-
Method Detail
-
getPath
public String getPath()
-
stringify
public String stringify(Stringifier stringifier) throws ReferenceEncodingException
- Specified by:
stringifyin interfaceRepositoryLocation- Throws:
ReferenceEncodingException
-
openContentStream
public InputStream openContentStream(ActualEnvironment environment) throws ActualEnvironmentException
- Specified by:
openContentStreamin interfaceRepositoryLocation- Throws:
ActualEnvironmentException
-
asNodeRef
public NodeRef asNodeRef(ActualEnvironment environment) throws ActualEnvironmentException
- Specified by:
asNodeRefin interfaceRepositoryLocation- Throws:
ActualEnvironmentException
-
-