se.unlogic.standardutils.streams
Class StreamUtils
java.lang.Object
se.unlogic.standardutils.streams.StreamUtils
public class StreamUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamUtils
public StreamUtils()
toByteArray
public static byte[] toByteArray(InputStream inputStream)
throws IOException
- Throws:
IOException
transfer
public static void transfer(InputStream inputStream,
OutputStream outputStream)
throws IOException
- Throws:
IOException
closeStream
public static void closeStream(InputStream stream)
closeStream
public static void closeStream(OutputStream stream)
Copyright © 2011. All Rights Reserved.