|
Open SiteSearch 4.1.1 Final |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--ORG.oclc.HoldingServer.InstData
| Field Summary | |
static int |
COUNTRY_CODE_LEN
The length of the country code |
static int |
GROUP_SYM_LEN
The length of group symbol |
static int |
INST_SYM_LEN
The length of institution symbol, will be expended to 8 with the institution code expansion project |
static String |
INSTDATA_SECTION
|
static long |
NumGroups
Total number of groups |
static long |
NumInsts
Total number of institutions |
static int |
STATE_CODE_LEN
The length of the state code |
| Constructor Summary | |
InstData()
|
|
| Method Summary | |
static void |
dumpGroupInfo()
Dumps all the group info |
static void |
dumpInstIndex()
Dumps all the institution index info |
static void |
dumpInstInfo()
Dumps all the institution info object |
static void |
dumpRegionInfo()
Dumps all the region info |
static GroupInfo |
getGroupInfo(String groupSym)
Get GroupInfo by group symbol |
static InstInfo |
getInstInfo(long instNum)
Get InstInfo by institution number |
static InstInfo |
getInstInfo(String instSym)
Get InstInfo by institution symbol |
static long |
getInstNum(String instSym)
Get institution number by institution symbol |
static String |
getInstSym(long instNum)
Get institution symbol by institution number |
static String |
getRegion(String region)
Get region from region hashtable |
static boolean |
initInstData(IniFile iniFile,
String instDataSection)
InitInstData get InstData file names from ini file Generate Hashtables for InstInfo, GroupInfo and RegionInfo for later access. |
static void |
logInit()
Initialize InstDataLog for tracing purposes |
static void |
logInit(PrintStream log)
Initialize InstDataLog for tracing purposes |
static void |
logInit(String logFile)
Initialize InstDataLog for tracing purposes |
static void |
main(String[] args)
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
public static final String INSTDATA_SECTION
public static final int INST_SYM_LEN
public static final int GROUP_SYM_LEN
public static final int STATE_CODE_LEN
public static final int COUNTRY_CODE_LEN
public static long NumInsts
public static long NumGroups
| Constructor Detail |
public InstData()
| Method Detail |
public static boolean initInstData(IniFile iniFile,
String instDataSection)
throws FileNotFoundException,
IOException,
EOFException,
NullPointerException
iniFile - instdata ini fileinstDataSection - instdata section namepublic static String getInstSym(long instNum)
instNum - institution numberpublic static long getInstNum(String instSym)
instSym - institution symbolpublic static InstInfo getInstInfo(long instNum)
instNum - institution numberpublic static InstInfo getInstInfo(String instSym)
instSym - institution symbolpublic static GroupInfo getGroupInfo(String groupSym)
groupSym - group symbolpublic static String getRegion(String region)
region - region codepublic static void dumpInstInfo()
public static void dumpInstIndex()
public static void dumpGroupInfo()
public static void dumpRegionInfo()
public static void logInit()
public static void logInit(String logFile)
logFile - tracelog file namepublic static void logInit(PrintStream log)
log - PrintStream name
public static void main(String[] args)
throws IOException
|
Open SiteSearch 4.1.1 Final |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||