Package test

Class TestStreamCopier

java.lang.Object
test.TestStreamCopier

public class TestStreamCopier extends Object
Simple test driver for testing pass-through copying using new StAX2 methods.
  • Field Details

  • Constructor Details

    • TestStreamCopier

      protected TestStreamCopier()
  • Method Details

    • 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