public class DocumentIdentifier
extends java.lang.Object
| Constructor and Description | 
|---|
DocumentIdentifier(java.lang.String docid)
Constructor to build a docid object and parse an incoming string. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getIdentifier()
returns  
 | 
java.lang.String | 
getRev()
returns the revision number encoded in this docid 
 | 
java.lang.String | 
getSeparator()
returns the separator used in the accession number 
 | 
java.lang.String | 
getSiteCode()
returns the siteCode encoded in this docid 
 | 
java.lang.String | 
getUniqueId()
returns the uniqueId encoded in this docid 
 | 
static void | 
main(java.lang.String[] args)
Test driver. 
 | 
java.lang.String | 
toString()
returns the whole docid as a string 
 | 
public DocumentIdentifier(java.lang.String docid)
                   throws AccessionNumberException
AccessionNumberExceptionpublic java.lang.String getRev()
public java.lang.String getUniqueId()
public java.lang.String getSiteCode()
public java.lang.String getSeparator()
public java.lang.String getIdentifier()
public java.lang.String toString()
toString in class java.lang.Objectpublic static void main(java.lang.String[] args)
Copyright © 2020 Regents of the University of California. All Rights Reserved.