org.ow2.weblab.content
Class ContentUtil
java.lang.Object
org.ow2.weblab.content.ContentUtil
public class ContentUtil
- extends java.lang.Object
|
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 |
ContentUtil
public ContentUtil()
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.