Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.esau.ptarmigan.util
Class HelperDigest  view HelperDigest download HelperDigest.java

java.lang.Object
  extended byorg.esau.ptarmigan.util.HelperDigest

public final class HelperDigest
extends java.lang.Object

Compute checksum/digest for the range of a file

Version:
$Revision: 1.1 $ $Date: 2002/09/10 06:24:34 $

Field Summary
(package private) static org.apache.commons.logging.Log log
          logging object
 
Constructor Summary
HelperDigest()
           
 
Method Summary
static java.lang.String getDigest(java.lang.String algorithm, Range range, java.io.File file)
          use the internal File and Range to build an MD5 digest for the audio data
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

static org.apache.commons.logging.Log log
logging object

Constructor Detail

HelperDigest

public HelperDigest()
Method Detail

getDigest

public static java.lang.String getDigest(java.lang.String algorithm,
                                         Range range,
                                         java.io.File file)
                                  throws java.io.IOException,
                                         java.security.NoSuchAlgorithmException
use the internal File and Range to build an MD5 digest for the audio data