OOP Pop3Receiver Version 2.2

com.bentofw.popreceiver
Class ConfigPerPop3

java.lang.Object
  extended by com.bentofw.popreceiver.ConfigPerPop3

public class ConfigPerPop3
extends java.lang.Object

Parameters defined for each POP3 server.

Since:
2.0
Author:
Jun Inamori

Method Summary
 boolean[] getArrayOfBoolean(java.lang.String key)
          Returns the array of boolean for the specified key.
 double[] getArrayOfDouble(java.lang.String key)
          Returns the array of double for the specified key.
 int[] getArrayOfInt(java.lang.String key)
          Returns the array of int for the specified key.
 long[] getArrayOfLong(java.lang.String key)
          Returns the array of long for the specified key.
 java.lang.String[] getArrayOfString(java.lang.String key)
          Returns the array of String for the specified key.
 boolean getBoolean(java.lang.String key)
          Returns the boolean primitive for the specified key.
 double getDouble(java.lang.String key)
          Returns the double primitive for the specified key.
 int getInt(java.lang.String key)
          Returns the int primitive for the specified key.
 long getLong(java.lang.String key)
          Returns the long primitive for the specified key.
 java.util.Set getSetOfString(java.lang.String key)
          Returns the set of String for the specified key.
 java.lang.String getString(java.lang.String key)
          Returns the String for the specified key.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getString

public java.lang.String getString(java.lang.String key)
                           throws NoValueFoundException
Returns the String for the specified key.

Parameters:
key - The name of the key of the parameter.
Returns:
String for the specified key
Throws:
NoValueFoundException - - if the value is not defined for the specified key.

getInt

public int getInt(java.lang.String key)
           throws NoValueFoundException
Returns the int primitive for the specified key.

Parameters:
key - The name of the key of the parameter.
Returns:
int value for the specified key
Throws:
NoValueFoundException - - if the value is not defined for the specified key.

getLong

public long getLong(java.lang.String key)
             throws NoValueFoundException
Returns the long primitive for the specified key.

Parameters:
key - The name of the key of the parameter.
Returns:
long value for the specified key
Throws:
NoValueFoundException - - if the value is not defined for the specified key.

getDouble

public double getDouble(java.lang.String key)
                 throws NoValueFoundException
Returns the double primitive for the specified key.

Parameters:
key - The name of the key of the parameter.
Returns:
double value for the specified key
Throws:
NoValueFoundException - - if the value is not defined for the specified key.

getBoolean

public boolean getBoolean(java.lang.String key)
                   throws NoValueFoundException
Returns the boolean primitive for the specified key.

Parameters:
key - The name of the key of the parameter.
Returns:
boolean value for the specified key
Throws:
NoValueFoundException - - if the value is not defined for the specified key.

getSetOfString

public java.util.Set getSetOfString(java.lang.String key)
                             throws NoValueFoundException
Returns the set of String for the specified key.

Parameters:
key - The name of the key of the parameter.
Returns:
Set of String.
Throws:
NoValueFoundException - - if the value is not defined for the specified key.

getArrayOfString

public java.lang.String[] getArrayOfString(java.lang.String key)
                                    throws NoValueFoundException
Returns the array of String for the specified key.

Parameters:
key - The name of the key of the parameter.
Returns:
Array of String
Throws:
NoValueFoundException - - if the value is not defined for the specified key.

getArrayOfInt

public int[] getArrayOfInt(java.lang.String key)
                    throws NoValueFoundException
Returns the array of int for the specified key.

Parameters:
key - The name of the key of the parameter.
Returns:
Array of int
Throws:
NoValueFoundException - - if the value is not defined for the specified key.

getArrayOfLong

public long[] getArrayOfLong(java.lang.String key)
                      throws NoValueFoundException
Returns the array of long for the specified key.

Parameters:
key - The name of the key of the parameter.
Returns:
Array of long
Throws:
NoValueFoundException - - if the value is not defined for the specified key.

getArrayOfDouble

public double[] getArrayOfDouble(java.lang.String key)
                          throws NoValueFoundException
Returns the array of double for the specified key.

Parameters:
key - The name of the key of the parameter.
Returns:
Array of double
Throws:
NoValueFoundException - - if the value is not defined for the specified key.

getArrayOfBoolean

public boolean[] getArrayOfBoolean(java.lang.String key)
                            throws NoValueFoundException
Returns the array of boolean for the specified key.

Parameters:
key - The name of the key of the parameter.
Returns:
Array of boolean
Throws:
NoValueFoundException - - if the value is not defined for the specified key.

OOP Pop3Receiver Version 2.2

ALL CONTENTS COPYRIGHT 2005, OOP-Research Corporation. All rights reserved.
Any questions and comments are welcome to OOP-Research Corporation.