com.sun.jersey.json.impl
Class RootElementWrapper
java.lang.Object
com.sun.jersey.json.impl.RootElementWrapper
public class RootElementWrapper
- extends Object
- Author:
- Jakub.Podlesak@Sun.COM
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RootElementWrapper
public RootElementWrapper()
wrapInput
public static InputStream wrapInput(InputStream inputStream,
String rootName)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
unwrapInput
public static InputStream unwrapInput(InputStream inputStream)
throws IOException
- Throws:
IOException
unwrapOutput
public static OutputStream unwrapOutput(OutputStream outputStream)
throws IOException
- Throws:
IOException
wrapOutput
public static OutputStream wrapOutput(OutputStream outputStream)
throws IOException
- Throws:
IOException
Copyright © 2011 Oracle Corporation. All Rights Reserved.