All Downloads are FREE. Search and download functionalities are using the official Maven repository.

prompto.parser.Dialect Maven / Gradle / Ivy

The newest version!
package prompto.parser;



public enum Dialect {
	E("Engly", new EParserFactory()),
	O("Objy", new OParserFactory()),
	M("Monty", new MParserFactory());
	
	String friendlyName;
	IParserFactory parserFactory;
	
	Dialect(String friendlyName, IParserFactory factory) {
		this.friendlyName = friendlyName;
		this.parserFactory = factory;
	}
	
	public String getFriendlyName() {
		return friendlyName;
	}
	
	public IParserFactory getParserFactory() {
		return parserFactory;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy