net.firstpartners.nounit.ui.common
Class ExtraValueChecker

java.lang.Object
  |
  +--net.firstpartners.nounit.ui.common.ExtraValueChecker

public class ExtraValueChecker
extends java.lang.Object

Checks to see the values stored in a Package are only those that have public keys i.e. public static final string KEY_NAME ="key_to_check_for" Helps pick up miss-spellings e.g changing key names , or adding basic defaults (from Parameters file)


Constructor Summary
ExtraValueChecker()
           
 
Method Summary
 boolean checkForExtraKeys(CommandPackage inValues)
          checkCommandLineValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtraValueChecker

public ExtraValueChecker()
Method Detail

checkForExtraKeys

public boolean checkForExtraKeys(CommandPackage inValues)
                          throws NoUnitException,
                                 java.lang.ClassNotFoundException
checkCommandLineValues
Parameters:
inValues - - sets of Values to Check
Returns:
successFlag - true if all values match those specified
Throws:
NoUnitException - if values do not match
java.lang.ClassNotFoundException -