org.apache.jackrabbit.mk.util
Class StringUtils
java.lang.Object
org.apache.jackrabbit.mk.util.StringUtils
public class StringUtils
- extends Object
Some string utility methods.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringUtils
public StringUtils()
convertBytesToHex
public static String convertBytesToHex(byte[] value)
- Convert a byte array to a hex encoded string.
- Parameters:
value - the byte array
- Returns:
- the hex encoded string
convertHexToBytes
public static byte[] convertHexToBytes(String s)
- Convert a hex encoded string to a byte array.
- Parameters:
s - the hex encoded string
- Returns:
- the byte array
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.