|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.ebi.adfconverter.tools.checker.OptimizedFileChecker
uk.ac.ebi.adfconverter.tools.checker.OptimizedADFChecker
Class for file strcuture checking will check file structure and data contained in a file
| Constructor Summary | |
OptimizedADFChecker()
Default Constructor of FileChecker inits sub tables |
|
OptimizedADFChecker(java.io.File _fileStructureFileDirectory,
boolean _isDuplicateCheckingEnable)
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 |
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 |
static void |
main(java.lang.String[] argv)
|
| Methods inherited from class uk.ac.ebi.adfconverter.tools.checker.OptimizedFileChecker |
checkCurrentRowFieldDependance, checkDocument, checkFile, checkFile, checkFileAndCurate, checkFileAndCurate, checkFileData, checkVerticalDataTable, convert2Regex, getCuratedTable |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OptimizedADFChecker()
public OptimizedADFChecker(java.io.File _fileStructureFileDirectory,
boolean _isDuplicateCheckingEnable)
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.Exceptionpublic void clear()
public void createCompositeSequence(ADFReporter reporter)
throws IncorrectFileStructure
reporter - the ADFreporter which is associated the created compositesequence
IncorrectFileStructurepublic static void main(java.lang.String[] argv)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||