|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.altair.hwm.toolkit.utils.HWMFileCheckSum
public class HWMFileCheckSum
Title: HWMFileCheckSum Description: This utility class finds/checks the check-sum of the a given file. Company: Altair Engineering, Inc.
Constructor Summary | |
---|---|
HWMFileCheckSum()
|
Method Summary | |
---|---|
static boolean |
CompareCheckSumOfFiles(java.lang.String strFilePath_1,
java.lang.String strFilePath_2)
This method tries to compare the checksums of two files. |
static boolean |
CompareFileCheckSum(java.lang.String strFilePath,
long nCompareValue)
This method tries to compare the checksum of the file requested with the . |
static long |
GetFileCheckSum(java.lang.String strFilePath)
This method tries to find and return the CheckSum of a file. |
static void |
main(java.lang.String[] args)
This method is for stand-alone testing purpose only. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HWMFileCheckSum()
Method Detail |
---|
public static void main(java.lang.String[] args)
args[0]
- :: The path of the file whose CheckSum needs to be
determined.public static long GetFileCheckSum(java.lang.String strFilePath) throws java.io.IOException
strFileName
- :: The path of the file whose CheckSum needs to be
determined.
java.io.IOException
public static boolean CompareFileCheckSum(java.lang.String strFilePath, long nCompareValue) throws java.io.IOException
strFileName
- :: The path of the file whose CheckSum needs to be
determined and compared.nCompareValue
- :: The value against which to compare the file's
CheckSum.
java.io.IOException
public static boolean CompareCheckSumOfFiles(java.lang.String strFilePath_1, java.lang.String strFilePath_2) throws java.io.IOException
strFilePath_1
- :: The path of the first file whose CheckSum needs
to be determined and compared.strFilePath_2
- :: The path of the second file whose CheckSum needs
to be determined and compared.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |