| 
 | Open SiteSearch 4.1.1 Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An interface for accessing IniFiles and BerProperties
| Method Summary | |
|  boolean | getBooleanValue(String mainKey,
                String subKey)Given a section name, return the value specified for the input key | 
|  boolean | getBooleanValue(String mainKey,
                String subKey,
                boolean defaultValue)Given a section name, return the boolean value(true/false) specified for the input key | 
|  byte | getByteValue(String mainKey,
             String subKey)Given a section name, return the value specified for the input key | 
|  byte | getByteValue(String mainKey,
             String subKey,
             byte defaultValue)Given a section name, return the value specified for the input key | 
|  double | getDoubleValue(String mainKey,
               String subKey)Given a section name, return the value specified for the input key | 
|  double | getDoubleValue(String mainKey,
               String subKey,
               double defaultValue)Given a section name, return the value specified for the input key | 
|  float | getFloatValue(String mainKey,
              String subKey)Given a section name, return the value specified for the input key | 
|  float | getFloatValue(String mainKey,
              String subKey,
              float defaultValue)Given a section name, return the Float value specified for the input key - use for numeric values | 
|  int | getIntValue(String mainKey,
            String subKey)Given a section name, return the value specified for the input key | 
|  int | getIntValue(String mainKey,
            String subKey,
            int defaultValue)Given a section name, return the Integer value specified for the input key - use for numeric values | 
|  long | getLongValue(String mainKey,
             String subKey)Given a section name, return the value specified for the input key | 
|  long | getLongValue(String mainKey,
             String subKey,
             long defaultValue)Given a section name, return the value specified for the input key | 
|  Enumeration | getSectionKeys(String mainKey)Retrieve all the variables in a section | 
|  Enumeration | getSections()Get all the section names in the inifile | 
|  short | getShortValue(String mainKey,
              String subKey)Given a section name, return the value specified for the input key | 
|  short | getShortValue(String mainKey,
              String subKey,
              short defaultValue)Given a section name, return the value specified for the input key | 
|  String | getStringValue(String mainKey,
               String subKey)Given a section name, return the value specified for the input key | 
|  String | getStringValue(String mainKey,
               String subKey,
               String defaultValue)Given a section name, return the value specified for the input key | 
|  String | getValue(String mainKey,
         String subKey)Given a section name, return the value specified for the input key | 
|  String | getValue(String mainKey,
         String subKey,
         String defaultValue)Given a section name, return the value specified for the input key. | 
| Method Detail | 
public String getValue(String mainKey,
                       String subKey)
mainKey - the section namesubKey - the key to look for
public String getValue(String mainKey,
                       String subKey,
                       String defaultValue)
mainKey - the section namesubKey - the key to look fordefaultValue - the default value
public String getStringValue(String mainKey,
                             String subKey)
                      throws IniMissingSectionException,
                             IniMissingValueException
mainKey - the section namesubKey - the key to look for
public String getStringValue(String mainKey,
                             String subKey,
                             String defaultValue)
mainKey - the section namesubKey - the key to look for
public int getIntValue(String mainKey,
                       String subKey)
                throws IniMissingSectionException,
                       IniMissingValueException,
                       IniInvalidValueException
mainKey - the section namesubKey - the key to look for
public int getIntValue(String mainKey,
                       String subKey,
                       int defaultValue)
mainKey - the section namesubKey - the key to look fordefaultValue - the value to return if the key is not found
public float getFloatValue(String mainKey,
                           String subKey)
                    throws IniMissingSectionException,
                           IniMissingValueException,
                           IniInvalidValueException
mainKey - the section namesubKey - the key to look for
public float getFloatValue(String mainKey,
                           String subKey,
                           float defaultValue)
mainKey - the section namesubKey - the key to look fordefaultValue - the value to return if the key is not found
public boolean getBooleanValue(String mainKey,
                               String subKey)
                        throws IniMissingSectionException,
                               IniMissingValueException,
                               IniInvalidValueException
mainKey - the section namesubKey - the key to look for
public boolean getBooleanValue(String mainKey,
                               String subKey,
                               boolean defaultValue)
mainKey - the section namesubKey - the key to look fordefaultValue - the value to return if the key is not found
public byte getByteValue(String mainKey,
                         String subKey)
                  throws IniMissingSectionException,
                         IniMissingValueException,
                         IniInvalidValueException
mainKey - the section namesubKey - the key to look for
public byte getByteValue(String mainKey,
                         String subKey,
                         byte defaultValue)
mainKey - the section namesubKey - the key to look for
public short getShortValue(String mainKey,
                           String subKey)
                    throws IniMissingSectionException,
                           IniMissingValueException,
                           IniInvalidValueException
mainKey - the section namesubKey - the key to look for
public short getShortValue(String mainKey,
                           String subKey,
                           short defaultValue)
mainKey - the section namesubKey - the key to look for
public long getLongValue(String mainKey,
                         String subKey)
                  throws IniMissingSectionException,
                         IniMissingValueException,
                         IniInvalidValueException
mainKey - the section namesubKey - the key to look for
public long getLongValue(String mainKey,
                         String subKey,
                         long defaultValue)
mainKey - the section namesubKey - the key to look for
public double getDoubleValue(String mainKey,
                             String subKey)
                      throws IniMissingSectionException,
                             IniMissingValueException,
                             IniInvalidValueException
mainKey - the section namesubKey - the key to look for
public double getDoubleValue(String mainKey,
                             String subKey,
                             double defaultValue)
mainKey - the section namesubKey - the key to look forpublic Enumeration getSectionKeys(String mainKey)
mainKey - the section namepublic Enumeration getSections()
| 
 | Open SiteSearch 4.1.1 Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||