Package org.jostraca.resource

Examples of org.jostraca.resource.PartLoader


  }



  public void testLoad() throws Exception {
    PartLoader pl  = new PartLoader( "<!--part-begin:", "-->", "<!--part-end:", "-->" );
    File       f   = FileUtil.findFile( "org/jostraca/resource/test/partloader.txt" );
    String     foo = pl.load( f, "foo" );
    assertEquals( 5, foo.length() );

    String     bar = pl.load( f, "bar" );
    assertEquals( 53, bar.length() );
  }
View Full Code Here

TOP

Related Classes of org.jostraca.resource.PartLoader

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.