|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.magicproject.database.XmlDeckTranslator
public class XmlDeckTranslator
Constructor Summary | |
---|---|
XmlDeckTranslator()
Constructor. |
Method Summary | |
---|---|
java.lang.String |
convert(java.lang.String cardName)
Return the translated card name of specified original card name. |
java.lang.String |
convert(XmlParser.Node node,
java.lang.String cardName)
Return the converted card name. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlDeckTranslator() throws org.xml.sax.SAXException, java.io.IOException
org.xml.sax.SAXException
java.io.IOException
Method Detail |
---|
public java.lang.String convert(java.lang.String cardName)
cardName
- the name to translate.
public java.lang.String convert(XmlParser.Node node, java.lang.String cardName)
node
- the node containing the regular expressions converting the given
string.cardName
- the card name to translate.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |