databionics.io
Class ExplFile

java.lang.Object
  extended by databionics.io.BaseFile
      extended by databionics.io.ListFile
          extended by databionics.io.ExplFile

public class ExplFile
extends ListFile

File that stores explanations why certain rules could not classify some data points.


Field Summary
protected static org.apache.log4j.Logger log
          Log4j logging.
 
Fields inherited from class databionics.io.ListFile
data
 
Fields inherited from class databionics.io.BaseFile
allowEmptyLines, comment, commentPrefix, delimiter, delimiters, file, header, headerPrefix, loc, nf
 
Constructor Summary
ExplFile()
          Standard constructor
ExplFile(java.lang.String filename)
          Constructor with a filename
 
Method Summary
protected  void buildHeader()
          Generate header.
static FileType getFileType()
          Get the type of file.
protected  boolean isHeader(java.lang.String line)
          Determine if a line still contains header information or whether the data lines started
protected  void parseLine(int row, java.lang.String line)
          Parse a line.
 
Methods inherited from class databionics.io.ListFile
buildLine, getData, getSize, setData
 
Methods inherited from class databionics.io.BaseFile
checkHeader, checkHeaderAgainstSize, getComment, getFile, getFilename, getHeader, getLocale, getNumberFormat, init, isNaN, isNumber, load, load, parseError, parseHeader, save, save, setComment, setFilename, setLocale, writeStringList, writeStringList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.log4j.Logger log
Log4j logging.

Constructor Detail

ExplFile

public ExplFile()
Standard constructor


ExplFile

public ExplFile(java.lang.String filename)
Constructor with a filename

Parameters:
filename - Name of the file
Method Detail

isHeader

protected boolean isHeader(java.lang.String line)
Determine if a line still contains header information or whether the data lines started

Overrides:
isHeader in class BaseFile
Parameters:
line - Line to check

parseLine

protected void parseLine(int row,
                         java.lang.String line)
Parse a line.

Overrides:
parseLine in class BaseFile
Parameters:
row - Number of current line.
line - Current line.

buildHeader

protected void buildHeader()
Generate header.

Overrides:
buildHeader in class BaseFile

getFileType

public static FileType getFileType()
Get the type of file.



Copyright © 2005-2006 Databionics Research Group. All Rights Reserved.