public class HashReferenceParser extends Object implements ReferenceParser, HashEncodingArtefact
VirtualHashReferenceParser
,
VanillaHashReferenceParser
or NodeHashReferenceParser
for
custom protocol parsing.ReferenceParser.Cursor
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 and Description |
---|
HashReferenceParser() |
Modifier and Type | Method and Description |
---|---|
Reference |
parse(ReferenceParser.Cursor c) |
Reference |
parse(String referenceString)
Parses a string reference into a
Reference object |
public Reference parse(String referenceString) throws ReferenceParseException
ReferenceParser
Reference
objectparse
in interface ReferenceParser
Reference
ReferenceParseException
public Reference parse(ReferenceParser.Cursor c)
Copyright © 2005–2017 Alfresco Software. All rights reserved.