org.teleal.cling.transport.impl
Class StreamUtil

java.lang.Object
  extended by org.teleal.cling.transport.impl.StreamUtil

public class StreamUtil
extends Object


Constructor Summary
StreamUtil()
           
 
Method Summary
static String readBufferedString(InputStream inputStream)
           
static byte[] readBytes(InputStream inputStream)
           
static void writeBytes(OutputStream outputStream, byte[] data)
           
static void writeUTF8(OutputStream outputStream, String data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamUtil

public StreamUtil()
Method Detail

readBufferedString

public static String readBufferedString(InputStream inputStream)
                                 throws IOException
Throws:
IOException

readBytes

public static byte[] readBytes(InputStream inputStream)
                        throws IOException
Throws:
IOException

writeUTF8

public static void writeUTF8(OutputStream outputStream,
                             String data)
                      throws IOException
Throws:
IOException

writeBytes

public static void writeBytes(OutputStream outputStream,
                              byte[] data)
                       throws IOException
Throws:
IOException


Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.