Class DelegateMetaIdentifierTransformer
java.lang.Object
is.galia.image.DelegateMetaIdentifierTransformer
- All Implemented Interfaces:
MetaIdentifierTransformer
public final class DelegateMetaIdentifierTransformer
extends Object
implements MetaIdentifierTransformer
Transforms meta-identifiers to or from arbitrary formats using a delegate
method.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(String metaIdentifier) Breaks apart the given meta-identifier into its constituent components.serialize(MetaIdentifier metaIdentifier) Joins the give instance into a meta-identifier string.
-
Constructor Details
-
DelegateMetaIdentifierTransformer
public DelegateMetaIdentifierTransformer()
-
-
Method Details
-
deserialize
Breaks apart the given meta-identifier into its constituent components.- Specified by:
deserializein interfaceMetaIdentifierTransformer- Parameters:
metaIdentifier- Meta-identifier string to deserialize. The string has already been URL-decoded and had slashes substituted.
-
serialize
Joins the give instance into a meta-identifier string.- Specified by:
serializein interfaceMetaIdentifierTransformer- Parameters:
metaIdentifier- Instance to serialize.- Returns:
- Serialized instance, not yet URL-encoded or with slashes substituted.
-