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[] | dedupKeysString data type containing the the dedup sort Keys.
 | 
| protected  int[] | dedupOrdersint data type containing the dedup sort orders.
 | 
| protected  int | maxDedupSortRecordsinteger data type containing the maximum number of records
 to dedup.
 | 
 
| Constructor Summary | 
| Sorts(IniFile inifile,
      String section)Load the sort parameters from the inifile.
 | 
 
 
 
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.
Sorts
public Sorts(IniFile inifile,
             String section)
- Load the sort parameters from the inifile.- 
- Parameters:
- inifile- containing parameters
- section- containing parameters
 
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