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
UnsupportedEncodingException
public static InputStream unwrapInput(InputStream inputStream) throws IOException
IOException
public static OutputStream unwrapOutput(OutputStream outputStream) throws IOException
IOException
public static OutputStream wrapOutput(OutputStream outputStream) throws IOException
IOException
Copyright © 2013 Oracle Corporation. All rights reserved.