|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.g11ntoolkit.tokfile.XMLParseTokFile
Takes a TokFile in XML format and parses it.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
See License Agreement.
| Field Summary | |
private static java.util.logging.Logger |
log
The log used for all messages from this class. |
protected static java.util.ResourceBundle |
mrb
Messages used by the tools and classes. |
protected static java.util.ResourceBundle |
vrb
Constants and variables used by the tools and classes. |
| Constructor Summary | |
XMLParseTokFile()
Create an instance of the XMLParseTokFile tool. |
|
| Method Summary | |
private static java.lang.String |
convertToFileURL(java.lang.String filename)
Returns the filename converted to a file URL. |
static void |
main(java.lang.String[] argv)
Provides a command line entry point. |
static void |
run(java.lang.String theFile,
java.lang.String outFile,
boolean setValidation,
boolean setNameSpaces)
Parse a TokFile in XML format and write a TokFile in text format. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static java.util.logging.Logger log
protected static java.util.ResourceBundle mrb
protected static java.util.ResourceBundle vrb
| Constructor Detail |
public XMLParseTokFile()
XMLParseTokFile tool.
| Method Detail |
public static void main(java.lang.String[] argv)
throws java.lang.Exception
argv - a String the specified arguments from the command line
java.lang.Exception - for any errors encountered
public static void run(java.lang.String theFile,
java.lang.String outFile,
boolean setValidation,
boolean setNameSpaces)
throws java.lang.Exception
TokFile in XML format and write a TokFile in text format.
theFile - a String specifying the name of the file to parseoutFile - a String specifying the name of the output filesetValidation - a boolean specifying whether the user wants validation of the XML DTD (TRUE) or not (FALSE)setNameSpaces - a boolean specifying whether the user wants the process to be Names Space aware (TRUE) or not (FALSE)
java.lang.Exception - description if anything goes wrongprivate static java.lang.String convertToFileURL(java.lang.String filename)
filename - a String containing the file name to be converted
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||