public class RootElementWrapper extends Object
| Constructor and Description |
|---|
RootElementWrapper() |
| Modifier and Type | Method and Description |
|---|---|
static InputStream |
unwrapInput(InputStream inputStream) |
static OutputStream |
unwrapOutput(OutputStream outputStream) |
static InputStream |
wrapInput(InputStream inputStream,
String rootName) |
static OutputStream |
wrapOutput(OutputStream outputStream) |
public static InputStream wrapInput(InputStream inputStream, String rootName) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic static InputStream unwrapInput(InputStream inputStream) throws IOException
IOExceptionpublic static OutputStream unwrapOutput(OutputStream outputStream) throws IOException
IOExceptionpublic static OutputStream wrapOutput(OutputStream outputStream) throws IOException
IOExceptionCopyright © 2022. All rights reserved.