01: package org.objectweb.celtix.tools.common;
02:
03: import org.objectweb.celtix.configuration.AbstractCommandLineConfiguration;
04:
05: public class ToolConfig extends AbstractCommandLineConfiguration {
06:
07: private String[] originalArgs;
08:
09: public ToolConfig() {
10: }
11:
12: public ToolConfig(String[] args) {
13: parseCommandLine(args, true);
14: }
15:
16: @Override
17: protected final void parseCommandLine(String[] args, boolean consume) {
18:
19: originalArgs = new String[args.length];
20: System.arraycopy(args, 0, originalArgs, 0, args.length);
21: super .parseCommandLine(args, consume);
22: }
23:
24: public String[] getOriginalArgs() {
25: return originalArgs;
26: }
27:
28: }
|