|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.fuckingbrit.q3astats.HitParserFactory
This factory provides a way to aquire an instance of the HitParser for the
current game. Example:
HitParser hp = HitParserFactory.getHitParser("com.fuckingbrit.q3astats.urbanterror.UT2Hit");
String where = hp.hitParse("You hit Chewy in the Left Leg.");
System.out.println(where);
HitParser| Constructor Summary | |
HitParserFactory()
|
|
| Method Summary | |
static HitParser |
getHitParser(java.lang.String hitClass)
This method will fetch an instance of a class that implements the HitParser Interface, handling any exceptions. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HitParserFactory()
| Method Detail |
public static HitParser getHitParser(java.lang.String hitClass)
throws QuakeParseException
hitClass - Name of the java class used for hit parsing
QuakeParseException - When unable to find, instansiate or access the specified class.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||