Package org.jostraca.transform

Examples of org.jostraca.transform.CStringEscapeTransform



  // public methods

  public void testTransform() {
    CStringEscapeTransform t = new CStringEscapeTransform();
    ErrorUtil.setQuiet( true );
    assertTrue( "a\\tb".equals(                        t.transform("a\tb") ) );
    assertTrue( "A\\\"B\\\\C\\nD\\rE\\tF\\fG\\bH".equals( t.transform("A\"B\\C\nD\rE\tF\fG\bH") ) );
  }
View Full Code Here

TOP

Related Classes of org.jostraca.transform.CStringEscapeTransform

Copyright © 2018 www.massapicom. 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.