Open SiteSearch 4.1.1
Final

ORG.oclc.tools
Class IniDb

java.lang.Object
  |
  +--ORG.oclc.webz.Db
        |
        +--ORG.oclc.tools.IniDb

public class IniDb
extends Db

IniDb reads/maintains database information read from inifiles.

See Also:
Db, IniServer, IndexMap, IniSort

Field Summary
protected  String briefberformat
           
protected  String briefmarcformat
           
protected  String briefRecordFmt
          The object containing the class for brief record formatting.
protected  String brieftextformat
           
protected  int dbid
          Newton dbid.
protected  String docorderformat
           
protected  Vector fmtClassTable
          The object containing the list of alternate formatting classes.
protected  String fullRecordFmt
          The object containing the class for full record formatting.
protected  String hdir
          Hdir name.
protected  String hedr
          Hedr name.
protected  int[] includes
          The list of databases for a newton logical db.
protected  String indx
          Indx name.
protected static Hashtable iniDbs
           
protected  String marcformat
          Z3950 format types.
protected static Hashtable newtonDbs
           
protected  String pdir
          Pdir name.
protected  String post
          Post name.
protected  IniServer remoteServer
          The remote server object.
protected  String serverName
          The Z39.50 ServerName.
protected static Hashtable servers
           
protected  IniSort sort
          Sort specifications for the database.
protected  String textformat
           
 
Fields inherited from class ORG.oclc.webz.Db
alternateThesaurusDbName, attributes, dbIniFile, dedup, fCanDoScan, fCanDoSort, fDbGroup, fFullText, fHideit, fmtClassTable, fullTextRecordSyntax, holdingsDbName, ILLService, indexMap, longName, name, recordIdTag, recordSyntax, remoteAuthorizationRequired, remoteDatabaseAutho, remoteDatabasePassword, remoteDatabaseServerName, sort, termFinder, thesaurusDbName, zName, zServer
 
Constructor Summary
IniDb()
          Construct a DbObject.
 
Method Summary
 String toIniString()
          Generates an IniFile Style output for the database.
 String toString()
          Generates the string representation of this object.
static void writeDbInis(String rootpath)
          Write the database IniFiles.
static void writeServerInis(String rootpath)
          Write the server IniFiles.
 
Methods inherited from class ORG.oclc.webz.Db
alternateThesaurusDb, dbIniFile, dedup, deweyDb, fCanDoRanked, fCanDoScan, fCanDoSort, fCanDoTermFinder, fFullText, fmtClassTable, fPartialSearch, fullTextRecordSyntax, get, getAllDbs, getAttributes, getDefaultDbGroup, getFormat, getSortedNames, holdingsDb, ILLService, indexMap, isDbGroupDefinition, isHidden, loadFromIniFile, longName, name, partialSearchParms, recordIdTag, recordSyntax, setDefaultDbGroup, sort, stopWords, termFinderInfo, thesaurusDb, zName, zServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serverName

protected String serverName
The Z39.50 ServerName.

remoteServer

protected IniServer remoteServer
The remote server object.

fullRecordFmt

protected String fullRecordFmt
The object containing the class for full record formatting.

briefRecordFmt

protected String briefRecordFmt
The object containing the class for brief record formatting.

fmtClassTable

protected Vector fmtClassTable
The object containing the list of alternate formatting classes.

sort

protected IniSort sort
Sort specifications for the database.

hedr

protected String hedr
Hedr name.

hdir

protected String hdir
Hdir name.

post

protected String post
Post name.

indx

protected String indx
Indx name.

pdir

protected String pdir
Pdir name.

dbid

protected int dbid
Newton dbid.

includes

protected int[] includes
The list of databases for a newton logical db.

marcformat

protected String marcformat
Z3950 format types.

briefmarcformat

protected String briefmarcformat

textformat

protected String textformat

brieftextformat

protected String brieftextformat

briefberformat

protected String briefberformat

docorderformat

protected String docorderformat

newtonDbs

protected static Hashtable newtonDbs

iniDbs

protected static Hashtable iniDbs

servers

protected static Hashtable servers
Constructor Detail

IniDb

public IniDb()
Construct a DbObject.
Method Detail

writeServerInis

public static void writeServerInis(String rootpath)
Write the server IniFiles.
Parameters:
rootpath - the starting directory

writeDbInis

public static void writeDbInis(String rootpath)
Write the database IniFiles.
Parameters:
rootpath - the starting directory

toIniString

public String toIniString()
Generates an IniFile Style output for the database.
Returns:
String

toString

public String toString()
Generates the string representation of this object.
Returns:
String
Overrides:
toString in class Db

Open SiteSearch 4.1.1
Final