Class ConverterUtils
- java.lang.Object
-
- org.processmining.plugins.workshop.Yaguang.WekaDiscriminationTree.ConverterUtils
-
- All Implemented Interfaces:
java.io.Serializable
public class ConverterUtils extends java.lang.Object implements java.io.SerializableUtility routines for the converter package.- Version:
- $Revision 1.0 $
- Author:
- Mark Hall (mhall@cs.waikato.ac.nz)
- See Also:
Serializable, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConverterUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiderrms(java.io.StreamTokenizer tokenizer, java.lang.String theMsg)Throws error message with line number and last token read.static voidgetFirstToken(java.io.StreamTokenizer tokenizer)Gets token, skipping empty lines.static voidgetToken(java.io.StreamTokenizer tokenizer)Gets token.
-
-
-
Method Detail
-
getFirstToken
public static void getFirstToken(java.io.StreamTokenizer tokenizer) throws java.io.IOExceptionGets token, skipping empty lines.- Parameters:
tokenizer- the stream tokenizer- Throws:
java.io.IOException- if reading the next token fails
-
getToken
public static void getToken(java.io.StreamTokenizer tokenizer) throws java.io.IOExceptionGets token.- Parameters:
tokenizer- the stream tokenizer- Throws:
java.io.IOException- if reading the next token fails
-
errms
public static void errms(java.io.StreamTokenizer tokenizer, java.lang.String theMsg) throws java.io.IOExceptionThrows error message with line number and last token read.- Parameters:
theMsg- the error message to be throwntokenizer- the stream tokenizer- Throws:
IOExcpetion- containing the error messagejava.io.IOException
-
-