test
Class TestStreamCopier

java.lang.Object
  extended by test.TestStreamCopier

public class TestStreamCopier
extends Object

Simple test driver for testing pass-through copying using new StAX2 methods.


Constructor Summary
protected TestStreamCopier()
           
 
Method Summary
protected  org.codehaus.stax2.XMLInputFactory2 getFactory()
           
protected  org.codehaus.stax2.XMLOutputFactory2 getOutputFactory()
           
static void main(String[] args)
           
protected  void test(String input, OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestStreamCopier

protected TestStreamCopier()
Method Detail

getFactory

protected org.codehaus.stax2.XMLInputFactory2 getFactory()

getOutputFactory

protected org.codehaus.stax2.XMLOutputFactory2 getOutputFactory()

test

protected void test(String input,
                    OutputStream out)
             throws Exception
Throws:
Exception

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2012 Fasterxml.com. All Rights Reserved.