Package org.jostraca.transform

Examples of org.jostraca.transform.PerlStringEscapeTransform



  /* Public Methods << */

  public void testTransform() {
    PerlStringEscapeTransform t = new PerlStringEscapeTransform();

    assertTrue( "a\\tb".equals( t.transform("a\tb") ) );
    assertTrue( "A\\\"B\\\\C\\n\\@D\\$E\\tF\\fG\\bH".equals( t.transform("A\"B\\C\n@D$E\tF\fG\bH") ) );
   
  }
View Full Code Here

TOP

Related Classes of org.jostraca.transform.PerlStringEscapeTransform

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.