Package org.alfresco.repo.virtual.ref
Class VanillaHashStringifier
- java.lang.Object
-
- org.alfresco.repo.virtual.ref.ProtocolHashStringifier
-
- org.alfresco.repo.virtual.ref.VirtualHashStringifier
-
- org.alfresco.repo.virtual.ref.VanillaHashStringifier
-
- All Implemented Interfaces:
java.io.Serializable,HashEncodingArtefact,Stringifier
public class VanillaHashStringifier extends VirtualHashStringifier
Custom stringifier for hash encoded strings ofReferences having the protocol set toVanillaProtocol.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.alfresco.repo.virtual.ref.HashEncodingArtefact
CLASSPATH_RESOUCE_CODE, HASHED_CLASSPATH_RESOUCE_CODE, HASHED_NUMERIC_PATH_CODE, HASHED_REPOSITORY_PATH_CODE, MIXED_CLASSPATH_RESOUCE_CODE, MIXED_NUMERIC_PATH_CODE, MIXED_REPOSITORY_PATH_CODE, NODE_PROTOCOL_CODE, NUMERIC_PATH_CODE, NUMERIC_ROOT_PATH_CODE, REPOSITORY_NODEREF_RESOURCE_CODE, REPOSITORY_PATH_CODE, VANILLA_PROTOCOL_CODE, VIRTUAL_PROTOCOL_CODE
-
-
Constructor Summary
Constructors Constructor Description VanillaHashStringifier(HashStore classpathHashStore, Stringifier referenceDispatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringstringify(Reference reference)-
Methods inherited from class org.alfresco.repo.virtual.ref.VirtualHashStringifier
stringifyVirtualReference
-
Methods inherited from class org.alfresco.repo.virtual.ref.ProtocolHashStringifier
dispatchStringifyReference, stringify, stringify, stringify, stringify, stringifyParameter, stringifyParameter, stringifyParameter, stringifyParameter, stringifyRepositoryLocation, stringifyRepositoryLocation, stringifyRepositoryLocation, stringifyResource, stringifyResource, stringifyResource
-
-
-
-
Constructor Detail
-
VanillaHashStringifier
public VanillaHashStringifier(HashStore classpathHashStore, Stringifier referenceDispatcher)
-
-
Method Detail
-
stringify
public java.lang.String stringify(Reference reference) throws ReferenceEncodingException
- Specified by:
stringifyin interfaceStringifier- Overrides:
stringifyin classVirtualHashStringifier- Throws:
ReferenceEncodingException
-
-