}
private void validateCommandLineArguments() throws CommandLineParsingException {
if ((individualFile == null) && (directory == null)) {
String msg = "One of the -jp or -d flags must be specified.";
throw new CommandLineParsingException(msg);
}
if ((individualFile != null) && (directory != null)) {
String msg = "Only one of the -jp and -d flags may be specified.";
throw new CommandLineParsingException(msg);
}
}