|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectubiware.util.StreamingUtils
public class StreamingUtils
Utilities which make working with byte and character streams more convenient. 18.3.2010
Constructor Summary | |
---|---|
StreamingUtils()
|
Method Summary | |
---|---|
static java.lang.String |
getInputFromFile(java.io.File file)
|
static void |
sendFileToOutputStream(java.io.File file,
java.io.OutputStream os)
Send a file to an outputstream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StreamingUtils()
Method Detail |
---|
public static void sendFileToOutputStream(java.io.File file, java.io.OutputStream os) throws java.io.FileNotFoundException, java.io.IOException
file
- The File
to be send to the OutputStream
os
- The OutputStream
java.io.FileNotFoundException
- If the File
could not be found
java.io.IOException
- If an IOException
occurred.public static java.lang.String getInputFromFile(java.io.File file) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |