|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdatabionics.io.BaseFile
databionics.io.Array2DFile
databionics.io.UmxFile
public class UmxFile
File that stores an U-Matrix in a 2D array.
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
log
Log4j logging. |
| Fields inherited from class databionics.io.Array2DFile |
|---|
data |
| Fields inherited from class databionics.io.BaseFile |
|---|
allowEmptyLines, comment, commentPrefix, delimiter, delimiters, file, header, headerPrefix, loc, nf |
| Constructor Summary | |
|---|---|
UmxFile()
Standard constructor |
|
UmxFile(int rows,
int cols)
Constructor with size for an empty array. |
|
UmxFile(java.lang.String filename)
Constructor with a filename |
|
| Method Summary | |
|---|---|
protected void |
buildHeader()
Generate header. |
protected void |
checkHeader()
Check consistency of header information. |
static FileType |
getFileType()
Get the type of file. |
| Methods inherited from class databionics.io.Array2DFile |
|---|
buildLine, get, getColumns, getData, getRows, getSize, init, parseLine, set, setData, setData |
| Methods inherited from class databionics.io.BaseFile |
|---|
checkHeaderAgainstSize, getComment, getFile, getFilename, getHeader, getLocale, getNumberFormat, isHeader, 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 |
|---|
protected static org.apache.log4j.Logger log
| Constructor Detail |
|---|
public UmxFile()
public UmxFile(java.lang.String filename)
filename - Name of the file
public UmxFile(int rows,
int cols)
rows - Rows of data array.cols - Columns of data array.| Method Detail |
|---|
protected void checkHeader()
checkHeader in class BaseFileprotected void buildHeader()
buildHeader in class Array2DFilepublic static FileType getFileType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||