|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.ebi.adfconverter.tools.checker.FileChecker
uk.ac.ebi.adfconverter.tools.checker.ADFChecker
Class for file strcuture checking will check file structure and data contained in a file
| Constructor Summary | |
ADFChecker()
Default Constructor of FileChecker inits sub tables |
|
ADFChecker(java.io.File _fileStructureFileDirectory)
Constructor of FileChecker |
|
| Method Summary | |
boolean |
check(java.io.File _ADFFile,
boolean strictMode,
boolean stepByStepMode)
Check an ADF. |
ADFJava |
checkAndCurateADF(java.io.File _ADFFile,
boolean strictMode,
boolean stepByStepMode)
Check if an ADF is correct and retrieves the ADFJava object |
boolean |
CheckTables(DataTable headerTable,
DataTable featureReporterTable,
DataTable compositeSequenceTable,
boolean strictMode,
boolean stepByStepMode)
Check an ADF. |
void |
clear()
clear the object / memory |
void |
createCompositeSequence(ADFReporter reporter)
In case of simple microarray layout, create the composite sequence associated to the reporter Data, are simply copy from reporter to compositeSequence |
| Methods inherited from class uk.ac.ebi.adfconverter.tools.checker.FileChecker |
checkCurrentRowFieldDependance, checkDataTable, checkFile, checkFileAndCurate, checkTableAndCurate, convert2Regex, getCuratedTable, getFileStructure, getHeaderStructure |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ADFChecker()
public ADFChecker(java.io.File _fileStructureFileDirectory)
throws IncorrectADFCheckerInitException
_fileStructureFileDirectory - the path to the directory containing xml stucture files (describying structure of afile)
IncorrectADFCheckerInitException - if an error occurs during ADFChecker initialisation| Method Detail |
public boolean check(java.io.File _ADFFile,
boolean strictMode,
boolean stepByStepMode)
throws IncorrectDataFile,
IncorrectFile,
IncorrectFileStructure,
java.lang.Exception
_ADFFile - path to the ADF workbook or ADF header filestrictMode - if the checking is in strict mode(ADF must strictly match the ADF specificationstepByStepMode - if the checking is in step by step mode (stop after any error)
IncorrectDataFile - if the ADF file is incorrect
IncorrectFile
IncorrectFileStructure
java.lang.Exception
public ADFJava checkAndCurateADF(java.io.File _ADFFile,
boolean strictMode,
boolean stepByStepMode)
throws IncorrectDataFile,
IncorrectFile,
IncorrectFileStructure,
java.lang.Exception
_ADFFile - the file containing the header datastrictMode - indicates if the data must strictly match the specificationstepByStepMode - if the checking is done step by step. Stop when an error is found
IncorrectDataFile
IncorrectFile
IncorrectFileStructure
java.lang.Exception
public boolean CheckTables(DataTable headerTable,
DataTable featureReporterTable,
DataTable compositeSequenceTable,
boolean strictMode,
boolean stepByStepMode)
throws ErrorInitLog,
IncorrectFile,
IncorrectFileStructure,
java.io.IOException,
IncorrectDataTableException,
IncorrectDataFile,
UnknownStructure,
java.lang.Exception
headerTable - the table containing ADF header part datafeatureReporterTable - the table containing ADF Feature/Reporter part datacompositeSequenceTable - the table containing ADF CompositeSequence part data
ErrorInitLog
IncorrectFile
IncorrectFileStructure
java.io.IOException
IncorrectDataTableException
IncorrectDataFile
UnknownStructure
java.lang.Exceptionpublic void clear()
public void createCompositeSequence(ADFReporter reporter)
reporter - the ADFreporter which is associated the created compositesequence
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||