Package entagged.tageditor.tools.stringtransform

Examples of entagged.tageditor.tools.stringtransform.TransformSet


  public  FileRenamerTest(String name){
    super(name);
  }
  public void testTransformations() throws Throwable {
    GenericTag gt = new GenericTag();
    TransformSet transformSet = new TransformSet(new TransformOperation[] {
        new CapitalizeOp(),
        new StripNonUsASCIIOp()
    });

    String tst1="Hi this (is) the xiii ��";
    String tstr1="Hi This (Is) The Xiii An";
    gt.setComment(tst1);
   
    transformSet.transformFirstCommons(gt);
   
    System.out.println(gt.getFirstComment());
   
    assertEquals(tstr1,gt.getFirstComment());
  }
View Full Code Here

TOP

Related Classes of entagged.tageditor.tools.stringtransform.TransformSet

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.