|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nci.caarray.services.util.file.FileValidator
public class FileValidator
File validator for testing integrity of files using CRC32s Title: caArray Description: MicroArray data repository and application Copyright: (c) 2005 NCICB. All rights reserved. Company: NIH/NCICB
Constructor Summary | |
---|---|
FileValidator()
Default Constructor |
Method Summary | |
---|---|
static java.lang.String |
getValidatorCode(java.io.File fileToValidate)
Retrieves the CRC32 as vaidatorCode for the submitted file |
static boolean |
validateFile(java.io.File fileToValidate,
java.lang.String validatorToValidate)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileValidator()
Method Detail |
---|
public static java.lang.String getValidatorCode(java.io.File fileToValidate) throws java.lang.Exception
fileToValidate
- File to validate
java.lang.Exception
public static boolean validateFile(java.io.File fileToValidate, java.lang.String validatorToValidate) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |