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