|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for generating Fedora PIDs. -----------------------------------------------------------------------------
License and Copyright: The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/.
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
The entire file consists of original code. Copyright © 2002-2005 by The Rector and Visitors of the University of Virginia and Cornell University. All rights reserved.
-----------------------------------------------------------------------------
| Method Summary | |
java.lang.String |
generatePID(java.lang.String NamespaceID)
Generate a new pid that is guaranteed to be unique, within the given namespace. |
java.lang.String |
getLastPID()
Get the last pid that was generated. |
void |
neverGeneratePID(java.lang.String pid)
Cause the given PID to never be generated by the PID generator. |
| Method Detail |
public java.lang.String generatePID(java.lang.String NamespaceID)
throws java.io.IOException
java.io.IOException
public java.lang.String getLastPID()
throws java.io.IOException
java.io.IOException
public void neverGeneratePID(java.lang.String pid)
throws java.io.IOException
java.io.IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||