|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.hattrickorganizer.gui.transferscout.PlayerConverter
public class PlayerConverter
Parses a player out of a text copied from HT. Tries also to give error informations but this may be wrong!
Constructor Summary | |
---|---|
PlayerConverter()
We prepare our skill and specialities and sort them |
Method Summary | |
---|---|
Player |
build(java.lang.String text)
Parses the copied text and returns a Player Object |
static java.lang.String |
getDeadlineString(java.lang.String tmp)
|
int |
getError()
Returns possible error. |
static int |
getPrice(java.lang.String bid,
java.lang.String curbid)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlayerConverter()
Method Detail |
---|
public final int getError()
public final Player build(java.lang.String text) throws java.lang.Exception
text
- the copied text from HT site
java.lang.Exception
- Throws exception on some parse errorspublic static int getPrice(java.lang.String bid, java.lang.String curbid)
public static java.lang.String getDeadlineString(java.lang.String tmp)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |