Open SiteSearch 4.1.1
Final

ORG.oclc.db
Class Sorts

java.lang.Object
  |
  +--ORG.oclc.db.Sorts

public class Sorts
extends Object

Get the sort parameters for a database from an IniFile.


Field Summary
protected  String[] dedupKeys
          String data type containing the the dedup sort Keys.
protected  int[] dedupOrders
          int data type containing the dedup sort orders.
protected  int maxDedupSortRecords
          integer data type containing the maximum number of records to dedup.
 
Constructor Summary
Sorts(IniFile inifile, String section)
          Load the sort parameters from the inifile.
 
Method Summary
 String[] getDedupKeys(String[] requestedKeys)
           
 int[] getDedupOrders(int number)
           
 int maxSortRecords()
           
 int presentStepSize()
           
 String presentSyntax()
           
 String toString()
          Generate a string representation of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dedupKeys

protected String[] dedupKeys
String data type containing the the dedup sort Keys.

dedupOrders

protected int[] dedupOrders
int data type containing the dedup sort orders.

maxDedupSortRecords

protected int maxDedupSortRecords
integer data type containing the maximum number of records to dedup.
Constructor Detail

Sorts

public Sorts(IniFile inifile,
             String section)
Load the sort parameters from the inifile.
Parameters:
inifile - containing parameters
section - containing parameters
Method Detail

getDedupKeys

public String[] getDedupKeys(String[] requestedKeys)

getDedupOrders

public int[] getDedupOrders(int number)

presentSyntax

public String presentSyntax()
Returns:
presentSyntax

presentStepSize

public int presentStepSize()
Returns:
presentStepSize

maxSortRecords

public int maxSortRecords()
Returns:
maxSortRecords

toString

public String toString()
Generate a string representation of this object
Overrides:
toString in class Object

Open SiteSearch 4.1.1
Final