|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.enhydra.xml.Utils
public class Utils
Utility methods for xml jdbc.
Constructor Summary | |
---|---|
Utils()
|
Method Summary | |
---|---|
static java.lang.String |
bytesToHexString(byte[] b)
This method transform binary object to string object |
static java.lang.String |
handleQuotedString(java.lang.String quotedString)
|
static byte[] |
hexStringToBytes(java.lang.String val)
This method transform string object to binary object (array of bytes) |
static java.lang.String |
replaceAll(java.lang.String input,
java.lang.String forReplace,
java.lang.String replaceWith)
Replace all occurence of forReplace with replaceWith in input string. |
static java.lang.String |
streamToHexString(java.io.InputStream is)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Utils()
Method Detail |
---|
public static java.lang.String handleQuotedString(java.lang.String quotedString)
public static java.lang.String replaceAll(java.lang.String input, java.lang.String forReplace, java.lang.String replaceWith)
input
- forReplace
- replaceWith
-
public static java.lang.String bytesToHexString(byte[] b)
b
- is array of bytes which represents binary object
public static byte[] hexStringToBytes(java.lang.String val)
val
- is string representation of binary object
public static java.lang.String streamToHexString(java.io.InputStream is) throws java.io.IOException
is
-
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |