public final class StreamHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
copyStream(java.io.InputStream inStream,
java.io.OutputStream outStream)
Copy the input stream into the output stream.
|
static boolean |
saveXmlInStream(org.dom4j.Document xmlContent,
java.io.OutputStream outStream)
Turning the DOM4j object in the specified output stream.
|
public static boolean saveXmlInStream(org.dom4j.Document xmlContent, java.io.OutputStream outStream)
xmlContent
- The XML document.outStream
- The OutputStream in which the XML document will be written.public static boolean copyStream(java.io.InputStream inStream, java.io.OutputStream outStream)
inStream
- The source stream.outStream
- The destination stream.Copyright © 2005-2010 Potix Corporation. All Rights Reserved.