ORG.oclc.HoldingServer
Class ISSNMap
java.lang.Object
|
+--ORG.oclc.HoldingServer.ISSNMap
- public class ISSNMap
- extends Object
Method Summary |
static void |
dumpISSNs()
Dumps all the ISSNs object |
static void |
dumpOCLCRecs()
Dumps all the OCLC record number object |
static String |
getISSN(int recno)
Retrieve issn for each OCLC record number |
static Vector |
getRECs(String issn)
Retrieve OCLC record numbers for each issn |
static boolean |
initISSNMap(IniFile iniFile,
String issnMapSection)
Get issnmap files from ini file and generate ISSN and
OCLC record hash tables for later access |
static void |
main(String[] args)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ISSNMAP_SECTION
public static final String ISSNMAP_SECTION
ISSNMap
public ISSNMap()
initISSNMap
public static boolean initISSNMap(IniFile iniFile,
String issnMapSection)
- Get issnmap files from ini file and generate ISSN and
OCLC record hash tables for later access
- Parameters:
iniFile
- issnmap ini fileissnMapSection
- issnmap section- Returns:
- a boolean value. true: successful, false: failed.
getISSN
public static String getISSN(int recno)
- Retrieve issn for each OCLC record number
- Parameters:
recno
- OCLC record number- Returns:
- ISSN associated with OCLC record number
getRECs
public static Vector getRECs(String issn)
- Retrieve OCLC record numbers for each issn
- Parameters:
issn
- ISSN code- Returns:
- vector of OCLC record numbers
dumpOCLCRecs
public static void dumpOCLCRecs()
- Dumps all the OCLC record number object
dumpISSNs
public static void dumpISSNs()
- Dumps all the ISSNs object
main
public static void main(String[] args)
throws IOException