| java.lang.Object de.mcs.utils.StreamHelper
StreamHelper | final public class StreamHelper (Code) | | This class contains some helper emthode for streaming operations.
author: W.Klaas |
copyStream | public static void copyStream(InputStream in, OutputStream out) throws IOException(Code) | | copy all data from in to out.
Parameters: out - outputstream to copy to Parameters: in - input stream to copy from throws: IOException - if something goes wrong |
copyStream | public static void copyStream(InputStream in, OutputStream out, int bufSize) throws IOException(Code) | | copy all data from in to out.
Parameters: out - outputstream to copy to Parameters: in - input stream to copy from Parameters: bufSize - the size of the buffer to use. throws: IOException - if something goes wrong |
printOutFile | public static void printOutFile(File rcPropFile) throws IOException(Code) | | printing the file to System.out.
Parameters: rcPropFile - file to print throws: IOException - if something goes wrong |
|
|