org.siebengeisslein.util
Class IOUtil

java.lang.Object
  extended by org.siebengeisslein.util.IOUtil

public class IOUtil
extends java.lang.Object


Method Summary
static void close(java.io.RandomAccessFile file)
           
static void writeToChannel(java.nio.channels.SocketChannel channel, java.nio.ByteBuffer bbuf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

writeToChannel

public static void writeToChannel(java.nio.channels.SocketChannel channel,
                                  java.nio.ByteBuffer bbuf)
                           throws java.io.IOException
Throws:
java.io.IOException

close

public static void close(java.io.RandomAccessFile file)
                  throws java.io.IOException
Throws:
java.io.IOException