|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdataloader.FileHandler
public class FileHandler
A class that reads and loads the data set containing all the news.
Constructor Summary | |
---|---|
FileHandler()
|
Method Summary | |
---|---|
static DataSet |
loadDataSet(java.lang.String location)
The method parses the XML file tokenized.xml, and loads the data set. |
static void |
storeDataSet(java.lang.String location,
DataSet dataSet)
A method that stores the data set. |
static void |
storeReport(java.lang.String location,
java.lang.String report)
A method that stores the report. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileHandler()
Method Detail |
---|
public static DataSet loadDataSet(java.lang.String location) throws java.lang.Exception
location
-
java.lang.Exception
public static void storeDataSet(java.lang.String location, DataSet dataSet)
location
- The locationdataSet
- The data setpublic static void storeReport(java.lang.String location, java.lang.String report)
location
- The locationreport
- The report
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |