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(Document xmlContent,
OutputStream outStream)
Save the document object in the specified output stream.
|
public static boolean saveXmlInStream(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 © 2010 - 2020 Adobe. All Rights Reserved