|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object project35.io.FlatFileReader
public class FlatFileReader
Parses tab-delimited file into a two dimensional array (String[][]) of terms.
Copyright (c) Kevin Garwood and University of Manchester 2007. All rights reserved. Licensed under the Academic Free License version 3.0. For more information on the terms and conditions, please see the file "LICENSE" that is included in this distribution.
Constructor Summary | |
---|---|
FlatFileReader()
|
Method Summary | |
---|---|
java.lang.String[][] |
getData()
get a table of terms from the input file. |
java.lang.String[][] |
getData(java.util.ArrayList textLines)
hopefully will replace the other getData method. |
void |
setFile(java.io.File inputFile)
the file to be read |
void |
setFirstDataRow(int firstRowData)
indicates when the first row of data appears. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FlatFileReader()
Method Detail |
---|
public java.lang.String[][] getData() throws java.io.IOException, Project35Exception
java.io.IOException
Project35Exception
public java.lang.String[][] getData(java.util.ArrayList textLines) throws Project35Exception
Project35Exception
public void setFile(java.io.File inputFile)
public void setFirstDataRow(int firstRowData)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |