pl.edu.agh.cast.data.util
Class FileIOUtil

java.lang.Object
  extended by pl.edu.agh.cast.data.util.FileIOUtil

public class FileIOUtil
extends Object

Utility methods for the file input/output.

Author:
AGH CAST Team

Constructor Summary
FileIOUtil()
           
 
Method Summary
static void copyFileContent(InputStream in, OutputStream out)
          Copies the content of the given input stream to the given output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileIOUtil

public FileIOUtil()
Method Detail

copyFileContent

public static void copyFileContent(InputStream in,
                                   OutputStream out)
                            throws IOException
Copies the content of the given input stream to the given output stream.

Parameters:
in - the input stream
out - the output stream
Throws:
IOException


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.