org.fcrepo.server.storage.lowlevel
Class PathAlgorithm

java.lang.Object
  extended by org.fcrepo.server.storage.lowlevel.PathAlgorithm

public abstract class PathAlgorithm
extends Object

Author:
Bill Niebel

Constructor Summary
PathAlgorithm(Map<String,?> configuration)
           
 
Method Summary
static String decode(String encoded)
           
static String encode(String unencoded)
           
abstract  String get(String pid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathAlgorithm

public PathAlgorithm(Map<String,?> configuration)
Method Detail

get

public abstract String get(String pid)
                    throws LowlevelStorageException
Throws:
LowlevelStorageException

encode

public static String encode(String unencoded)
                     throws LowlevelStorageException
Throws:
LowlevelStorageException

decode

public static String decode(String encoded)
                     throws LowlevelStorageException
Throws:
LowlevelStorageException


Copyright © 2011 DuraSpace. All Rights Reserved.