SSpaceFormat format = (argOptions.hasOption("outputFormat"))
? SSpaceFormat.valueOf(
argOptions.getStringOption("outputFormat").toUpperCase())
: getSpaceFormat();
SemanticSpaceWriter writer =
new SemanticSpaceWriter(outputFile, format);
Collection<String> inputFiles = new LinkedList<String>();
for (int arg = 0; arg < numArgs - 1; ++arg)
inputFiles.add(argOptions.getPositionalArg(arg));