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