fedora.server.storage.lowlevel
Class PathAlgorithm

java.lang.Object
  extended by fedora.server.storage.lowlevel.PathAlgorithm

public abstract class PathAlgorithm
extends java.lang.Object

Title: IPathAlgorithm.java

Description:

Version:
$Id: PathAlgorithm.java 4875 2006-02-27 15:47:42Z eddie $
Author:
wdn5e@virginia.edu

Constructor Summary
PathAlgorithm(java.util.Map configuration)
           
 
Method Summary
static java.lang.String decode(java.lang.String encoded)
           
static java.lang.String encode(java.lang.String unencoded)
           
abstract  java.lang.String get(java.lang.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(java.util.Map configuration)
Method Detail

get

public abstract java.lang.String get(java.lang.String pid)
                              throws LowlevelStorageException
Throws:
LowlevelStorageException

encode

public static java.lang.String encode(java.lang.String unencoded)
                               throws LowlevelStorageException
Throws:
LowlevelStorageException

decode

public static java.lang.String decode(java.lang.String encoded)
                               throws LowlevelStorageException
Throws:
LowlevelStorageException