org.jboss.messaging.utils
Class UTF8Util
java.lang.Object
org.jboss.messaging.utils.UTF8Util
public class UTF8Util
- extends java.lang.Object
A UTF8Util
This class will write UTFs directly to the ByteOutput (through the MessageBuffer interface)
- Author:
- Clebert Suconic
Created Feb 20, 2009 1:37:18 PM
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UTF8Util
public UTF8Util()
saveUTF
public static void saveUTF(MessagingBuffer out,
java.lang.String str)
throws java.io.IOException
- Throws:
java.io.IOException
readUTF
public static java.lang.String readUTF(MessagingBuffer input)
throws java.io.IOException
- Throws:
java.io.IOException
clearBuffer
public static void clearBuffer()
calculateUTFSize
public static int calculateUTFSize(java.lang.String str,
org.jboss.messaging.utils.UTF8Util.StringUtilBuffer stringBuffer)
Copyright © 2006 JBoss Inc. All Rights Reserved.