iiitAccessServer 1.0

de.iiit.access.server.util
Class Md5Cache

java.lang.Object
  |
  +--de.iiit.access.server.util.Md5Cache

public class Md5Cache
extends Object

Global cache for MD5 sums

Version:
$Revision: 1.4 $ $Date: 2003/04/13 20:16:42 $

Method Summary
static String get(String key)
          Retrieves a previously stored MD5 sum
static void put(String key, String md5sum)
          Puts a new value into the cache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

put

public static void put(String key,
                       String md5sum)
Puts a new value into the cache

Parameters:
key - the string the MD5 sum is needed for.
md5sum - the MD5 sum corresponding to the key

get

public static String get(String key)
Retrieves a previously stored MD5 sum

Parameters:
key - the string the MD5 sum is needed for.
Returns:
the MD5 sum corresponding to the key or null if there is none cached.

iiitAccessServer 1.0

Copyright © 2002, 2003 ingeneurbuero fuer innovative informationstechnik, Dipl.-Ing. Joerg Beckmann, Dortmund, Germany. All Rights Reserved.
See Copyright statement