com.sun.jersey.json.impl
Class RootElementWrapper

java.lang.Object
  extended by com.sun.jersey.json.impl.RootElementWrapper

public class RootElementWrapper
extends Object

Author:
Jakub.Podlesak@Sun.COM

Constructor Summary
RootElementWrapper()
           
 
Method Summary
static InputStream unwrapInput(InputStream inputStream)
           
static OutputStream unwrapOutput(OutputStream outputStream)
           
static InputStream wrapInput(InputStream inputStream, String rootName)
           
static OutputStream wrapOutput(OutputStream outputStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RootElementWrapper

public RootElementWrapper()
Method Detail

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.