Package whistleClassifier
Class FileTrainingStore
java.lang.Object
whistleClassifier.FileTrainingStore
- All Implemented Interfaces:
TrainingDataStore
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Close store for writingboolean
IS a store correctly opened.boolean
Open store for writingOpen, read data and close a data storeboolean
writeData
(TrainingDataSet trainingDataSet) Write data to the opened store
-
Constructor Details
-
FileTrainingStore
public FileTrainingStore()
-
-
Method Details
-
closeStore
public boolean closeStore()Description copied from interface:TrainingDataStore
Close store for writing- Specified by:
closeStore
in interfaceTrainingDataStore
- Returns:
- true if OK
-
openStore
Description copied from interface:TrainingDataStore
Open store for writing- Specified by:
openStore
in interfaceTrainingDataStore
- Parameters:
storeName
- name- Returns:
- true if open
-
writeData
Description copied from interface:TrainingDataStore
Write data to the opened store- Specified by:
writeData
in interfaceTrainingDataStore
- Parameters:
trainingDataSet
- data to write- Returns:
- true if OK
-
readData
Description copied from interface:TrainingDataStore
Open, read data and close a data store- Specified by:
readData
in interfaceTrainingDataStore
- Parameters:
storeName
- store name- Returns:
- reference to TrainingDataSet
- See Also:
-
isStoreOk
public boolean isStoreOk()Description copied from interface:TrainingDataStore
IS a store correctly opened.- Specified by:
isStoreOk
in interfaceTrainingDataStore
- Returns:
- true if ok
-