de.unido.ls5.eti.client
Class Filetools
java.lang.Object
de.unido.ls5.eti.client.Filetools
public class Filetools
- extends Object
Helper Methods to handle files and streams
Will probably removed in future and replaced by usage of commons-io
- Rating

Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Filetools
public Filetools()
streamToFile
public static void streamToFile(InputStream is,
File file)
throws Exception
- Writes the contents of an input stream into a file
- Parameters:
is
- the input stream to read fromfile
- the file to write to
- Throws:
Exception
- if something goes wrong