Package org.apache.myfaces.tobago.internal.webapp

Examples of org.apache.myfaces.tobago.internal.webapp.TobagoResponseXmlWriterImpl.writeText()


  }

  @Test
  public void testCharArray() throws IOException {
    TobagoResponseWriter writer = new TobagoResponseXmlWriterImpl(stringWriter, "text/xml", "ISO-8859-1");
    writer.writeText("123".toCharArray(), 0, 3);
    Assert.assertEquals("123", stringWriter.toString());
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.