gov.nih.nci.caarray.services.util.httpfileuploadapplet
Class AppletValidatorCodeGenerator

java.lang.Object
  extended by gov.nih.nci.caarray.services.util.httpfileuploadapplet.AppletValidatorCodeGenerator

public class AppletValidatorCodeGenerator
extends java.lang.Object


Constructor Summary
AppletValidatorCodeGenerator()
           
 
Method Summary
static java.lang.String getValidatorCode(java.io.File fileToValidate)
          Retrieves the CRC32 as vaidatorCode for the submitted file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppletValidatorCodeGenerator

public AppletValidatorCodeGenerator()
Method Detail

getValidatorCode

public static java.lang.String getValidatorCode(java.io.File fileToValidate)
                                         throws java.lang.Exception
Retrieves the CRC32 as vaidatorCode for the submitted file

Parameters:
fileToValidate - File to validate
Returns:
String validatorCode for submitted file
Throws:
java.lang.Exception