org.ow2.weblab.content
Class ContentUtil

java.lang.Object
  extended by org.ow2.weblab.content.ContentUtil

public class ContentUtil
extends java.lang.Object


Constructor Summary
ContentUtil()
           
 
Method Summary
static java.lang.String convertToHex(byte[] data)
           
static boolean equals(byte[] one, byte[] another)
           
static boolean equals(java.io.File one, java.io.File another)
           
static java.lang.String SHA1(byte[] dataBytes)
           
static java.lang.String SHA1(java.io.File in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentUtil

public ContentUtil()
Method Detail

equals

public static boolean equals(java.io.File one,
                             java.io.File another)
                      throws org.ow2.weblab.core.extended.exception.WebLabCheckedException
Throws:
org.ow2.weblab.core.extended.exception.WebLabCheckedException

equals

public static boolean equals(byte[] one,
                             byte[] another)
                      throws org.ow2.weblab.core.extended.exception.WebLabCheckedException
Throws:
org.ow2.weblab.core.extended.exception.WebLabCheckedException

SHA1

public static java.lang.String SHA1(java.io.File in)
                             throws org.ow2.weblab.core.extended.exception.WebLabCheckedException
Throws:
org.ow2.weblab.core.extended.exception.WebLabCheckedException

SHA1

public static java.lang.String SHA1(byte[] dataBytes)
                             throws org.ow2.weblab.core.extended.exception.WebLabCheckedException
Throws:
org.ow2.weblab.core.extended.exception.WebLabCheckedException

convertToHex

public static java.lang.String convertToHex(byte[] data)


Copyright © 2004-2011. All Rights Reserved.