| java.lang.Object org.jaffa.tools.build.ValidatePropertiesFile
ValidatePropertiesFile | public class ValidatePropertiesFile (Code) | | This will check the input properties file for duplicate entries
|
Method Summary | |
public static void | main(String args) This will invoke the performValidation method, passing the input arguments.
Parameters: args - the command line arguments. | public static Set | performValidation(String fileName) Check the input properties file for duplicate entries.
This will return a unique Collection of the duplicate entries, if any exist.
Parameters: fileName - The properties file, relative to the classpath. throws: IOException - if any IO error occurs. throws: MalformedURLException - if the input fileName is an invalid URL. |
main | public static void main(String args)(Code) | | This will invoke the performValidation method, passing the input arguments.
Parameters: args - the command line arguments. The first argument will be the PropertiesFileName relative to ClassPath. |
performValidation | public static Set performValidation(String fileName) throws IOException, MalformedURLException(Code) | | Check the input properties file for duplicate entries.
This will return a unique Collection of the duplicate entries, if any exist.
Parameters: fileName - The properties file, relative to the classpath. throws: IOException - if any IO error occurs. throws: MalformedURLException - if the input fileName is an invalid URL. a Set containing the duplicate entries, if any |
|
|