hoplugins.conv
Class HAM
java.lang.Object
hoplugins.conv.HrfMaker
hoplugins.conv.HAM
- public class HAM
- extends hoplugins.conv.HrfMaker
- Author:
- Thorsten Dietz
Constructor Summary |
protected |
HAM()
|
Method Summary |
protected void |
addBasics()
|
protected void |
analyzeAllPlayers(org.w3c.dom.NodeList nodelist)
|
protected void |
analyzeArena(org.w3c.dom.NodeList nodelist)
|
protected void |
analyzeClub(org.w3c.dom.NodeList nodelist)
|
protected void |
analyzeEconomy(org.w3c.dom.NodeList nodelist)
|
protected void |
analyzeSinglePlayer(org.w3c.dom.NodeList nodelist,
int index)
|
protected void |
analyzeTeamDetails(org.w3c.dom.NodeList nodelist)
|
protected void |
analyzeTraining(org.w3c.dom.NodeList nodelist)
|
protected void |
analyzeWorldDetail(org.w3c.dom.NodeList nodelist)
|
protected void |
clearArrays()
|
protected static void |
convert(byte type,
java.io.File[] selectedFiles)
|
protected java.lang.String |
convertNumber(int number)
|
protected void |
debug(java.lang.Exception e)
|
protected void |
debug(java.lang.String txt)
|
protected java.io.File |
getDestinationFolder(javax.swing.JFrame owner)
|
protected static org.w3c.dom.Document |
getDocument(java.io.File file)
|
protected org.w3c.dom.Document |
getDocument(java.lang.String xmlString)
|
protected java.lang.String |
getUTF8String(java.io.File file)
|
void |
handleException(java.lang.Exception e,
java.lang.String txt)
|
protected void |
initPlayerArray(int playerCount)
|
protected void |
initPlayersArray(org.w3c.dom.NodeList nodelist)
|
protected void |
setTag(org.w3c.dom.Element element,
java.lang.String[][] value,
int index)
|
protected void |
setTag(org.w3c.dom.Element element,
java.lang.String[][] value,
int index,
int index2)
|
protected void |
start(java.io.File[] xmls,
java.io.File targetDir)
|
protected static void |
writeArray(java.lang.String[][] value,
java.io.OutputStreamWriter file)
|
protected void |
writeHrf(java.lang.String filter,
java.io.File dir)
|
protected static void |
writePlayerArray(java.lang.String[][] value,
java.io.OutputStreamWriter file)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clubValue
protected java.lang.String[][] clubValue
basicsValue
protected java.lang.String[][] basicsValue
arenaValue
protected java.lang.String[][] arenaValue
teamValue
protected java.lang.String[][] teamValue
leagueValue
protected java.lang.String[][] leagueValue
linupValue
protected java.lang.String[][] linupValue
lastlinupValue
protected java.lang.String[][] lastlinupValue
xtraValue
protected java.lang.String[][] xtraValue
economyValue
protected java.lang.String[][] economyValue
playerValue
protected java.lang.String[][] playerValue
type
protected java.lang.String type
window
protected plugins.IDebugWindow window
HAM
protected HAM()
start
protected void start(java.io.File[] xmls,
java.io.File targetDir)
convertNumber
protected final java.lang.String convertNumber(int number)
debug
protected void debug(java.lang.String txt)
debug
protected void debug(java.lang.Exception e)
handleException
public void handleException(java.lang.Exception e,
java.lang.String txt)
getDestinationFolder
protected java.io.File getDestinationFolder(javax.swing.JFrame owner)
getDocument
protected org.w3c.dom.Document getDocument(java.lang.String xmlString)
throws javax.xml.parsers.ParserConfigurationException,
java.io.IOException,
org.xml.sax.SAXException
- Throws:
javax.xml.parsers.ParserConfigurationException
java.io.IOException
org.xml.sax.SAXException
getUTF8String
protected final java.lang.String getUTF8String(java.io.File file)
clearArrays
protected void clearArrays()
writeHrf
protected void writeHrf(java.lang.String filter,
java.io.File dir)
writeArray
protected static final void writeArray(java.lang.String[][] value,
java.io.OutputStreamWriter file)
throws java.io.IOException
- Throws:
java.io.IOException
writePlayerArray
protected static final void writePlayerArray(java.lang.String[][] value,
java.io.OutputStreamWriter file)
throws java.io.IOException
- Throws:
java.io.IOException
addBasics
protected final void addBasics()
setTag
protected void setTag(org.w3c.dom.Element element,
java.lang.String[][] value,
int index)
setTag
protected void setTag(org.w3c.dom.Element element,
java.lang.String[][] value,
int index,
int index2)
convert
protected static void convert(byte type,
java.io.File[] selectedFiles)
analyzeTeamDetails
protected void analyzeTeamDetails(org.w3c.dom.NodeList nodelist)
analyzeClub
protected void analyzeClub(org.w3c.dom.NodeList nodelist)
analyzeArena
protected void analyzeArena(org.w3c.dom.NodeList nodelist)
analyzeEconomy
protected void analyzeEconomy(org.w3c.dom.NodeList nodelist)
analyzeTraining
protected void analyzeTraining(org.w3c.dom.NodeList nodelist)
analyzeWorldDetail
protected void analyzeWorldDetail(org.w3c.dom.NodeList nodelist)
analyzeSinglePlayer
protected void analyzeSinglePlayer(org.w3c.dom.NodeList nodelist,
int index)
analyzeAllPlayers
protected final void analyzeAllPlayers(org.w3c.dom.NodeList nodelist)
initPlayersArray
protected final void initPlayersArray(org.w3c.dom.NodeList nodelist)
initPlayerArray
protected void initPlayerArray(int playerCount)
getDocument
protected static final org.w3c.dom.Document getDocument(java.io.File file)
throws javax.xml.parsers.ParserConfigurationException,
java.io.IOException,
org.xml.sax.SAXException
- Throws:
javax.xml.parsers.ParserConfigurationException
java.io.IOException
org.xml.sax.SAXException
Copyright © 2005 Hattrick Organizer Plugins Project. All Rights Reserved.