summaryrefslogtreecommitdiff
path: root/src/args/ArgsParser.java
blob: cf77fa474628c11ebb1bb95b150e8187bf269582 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package org.manzerbredes.open_klm.args;

import org.manzerbredes.open_klm.drivers.Driver;

/**
 * All arguments parser must implement this interface
 * 
 * @author Manzerbredes
 *
 */
public interface ArgsParser{
	/**
	 * Apply parsed argument and exit the program
	 */
	public void applyAndExit(Driver aDriver, String[] args);
	
	/**
	 * Get the type of the driver the parser should parse
	 * 
	 * @return class that represent the type of the driver (DriverTypeA.class for example)
	 */
	public Class<?> getType();
}