View Javadoc

1   //Copyright 2006-2007, by the California Institute of Technology.
2   //ALL RIGHTS RESERVED. United States Government Sponsorship acknowledged.
3   //Any commercial use must be negotiated with the Office of Technology Transfer
4   //at the California Institute of Technology.
5   //
6   //This software is subject to U. S. export control laws and regulations
7   //(22 C.F.R. 120-130 and 15 C.F.R. 730-774). To the extent that the software
8   //is subject to U.S. export control laws and regulations, the recipient has
9   //the responsibility to obtain export licenses or other export authority as
10  //may be required before exporting such information to foreign countries or
11  //providing access to foreign nationals.
12  
13  package gov.nasa.pds.tools.flags;
14  
15  /***
16   * Class containing command-line option flags that can be used for
17   * the PDS Tools.
18   * 
19   * @author mcayanan
20   *
21   */
22  public interface ToolsFlags {
23  	public final static int SHORT = 0;
24  	public final static int LONG = 1;
25  	public final static int ARGNAME = 2;
26  	
27  	public final static String CONFIG[] = {"c", "config", "file"};
28  	public final static String DICT[] = {"d", "dict",".full file(s)"};
29  	public final static String HELP[] = {"h", "help"};
30  	public final static String REPORT[] = {"r", "report-file", "file"};
31  	public final static String VERSION[] = {"V", "version"};
32  	
33  	public final static String WHATIS_CONFIG = "Specify a configuration file"
34  			+ " to set the default values.";
35  	
36  	public final static String WHATIS_DICT = "Specify PDS-compliant dictionary"
37  			+ " file(s)";
38  	
39  	public final static String WHATIS_HELP = "Display usage.";	
40  	public final static String WHATIS_REPORT = "Specify report file name.";
41  	public final static String WHATIS_VERSION = "Display application version.";
42  
43  }