Java browser: Option.java

Content of Option.java extracted from proxy.jar

//
// Very simple command line parser
//
// version 0.1
//
// see file readme.txt for the usage
//
package parser;
 
public class Option
{	protected String match;
	protected boolean hasValue;
	protected String nameValue;
	protected String description;
 
	protected boolean present;	// set by Parser.parse()
	protected String value;     // set by Parser.parse()
 
	protected Option (String match, boolean hasValue, String nameValue, String description) {
		this.match = match;
		this.nameValue = nameValue;
		this.hasValue = hasValue;
		this.description = description;
	}
};
 
Share Share on Facebook Share on Twitter Bookmark on Reddit Share via mail
Privacy Policy Creative Commons Attribution-Share Alike Trovami