jp.cssj.cti.ctip
クラス CTIPUtils
java.lang.Object
jp.cssj.cti.ctip.CTIPUtils
- public final class CTIPUtils
- extends Object
- バージョン:
- $Id: CTIPUtils.java,v 1.2 2005/08/18 04:51:26 harumanx Exp $
- 作成者:
- MIYABE Tatsuhiko
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
readInt
public static int readInt(SocketChannel channel,
ByteBuffer destInt)
throws IOException
- 例外:
IOException
readByte
public static byte readByte(SocketChannel channel,
ByteBuffer destByte)
throws IOException
- 例外:
IOException
readString
public static String readString(SocketChannel channel,
ByteBuffer destShort,
String encoding)
throws IOException
- 例外:
IOException
readAll
public static void readAll(SocketChannel channel,
ByteBuffer dest)
throws IOException
- 例外:
IOException
toBytes
public static byte[] toBytes(String str,
String encoding)
throws IOException
- 例外:
IOException
writeAll
public static void writeAll(SocketChannel channel,
ByteBuffer src)
throws IOException
- 例外:
IOException
Copyright(c) 2004-2005 CSSJ T.MIYABE All Rights Reserved.