|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jfw.file.SaveStream
public final class SaveStream
Save data in a stream.
Constructor Summary | |
---|---|
SaveStream()
|
Method Summary | |
---|---|
static void |
setData(java.io.InputStream inputStream,
java.io.OutputStream outputStream)
Call setData(java.io.InputStream, java.io.OutputStream, boolean, com.jfw.util.Encryption)
setting closeStreams to true and encryption to null. |
static void |
setData(java.io.InputStream inputStream,
java.io.OutputStream outputStream,
boolean closeStreams)
Call setData(java.io.InputStream, java.io.OutputStream, boolean, com.jfw.util.Encryption)
setting encryption to null. |
static void |
setData(java.io.InputStream inputStream,
java.io.OutputStream outputStream,
boolean closeStreams,
Encryption encryption)
Read all data form from a file input stream and write it in the output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SaveStream()
Method Detail |
---|
public static void setData(java.io.InputStream inputStream, java.io.OutputStream outputStream, boolean closeStreams, Encryption encryption) throws JFWGenericException
inputStream
- the input stream.outputStream
- the output stream.closeStreams
- if true the streams are closed by this method.encryption
- if not null the data are encrypted in the output stream.
JFWGenericException
public static void setData(java.io.InputStream inputStream, java.io.OutputStream outputStream, boolean closeStreams) throws JFWGenericException
setData(java.io.InputStream, java.io.OutputStream, boolean, com.jfw.util.Encryption)
setting encryption to null.
inputStream
- the input stream.outputStream
- the output stream.closeStreams
- if true the streams are closed by this method.
JFWGenericException
public static void setData(java.io.InputStream inputStream, java.io.OutputStream outputStream) throws JFWGenericException
setData(java.io.InputStream, java.io.OutputStream, boolean, com.jfw.util.Encryption)
setting closeStreams to true and encryption to null.
inputStream
- the input stream.outputStream
- the output stream.
JFWGenericException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |