Package jodd.props

Examples of jodd.props.Props.load()


  }

  @Test
  public void testProps() {
    Props props = new Props();
    props.load("pojoBean2.val2=123");
    props.load("pojoBean2.val1=\\\\${pojo}");

    assertEquals("123", props.getValue("pojoBean2.val2"));
    assertEquals("\\${pojo}", props.getValue("pojoBean2.val1"));
View Full Code Here


  @Test
  public void testProps() {
    Props props = new Props();
    props.load("pojoBean2.val2=123");
    props.load("pojoBean2.val1=\\\\${pojo}");

    assertEquals("123", props.getValue("pojoBean2.val2"));
    assertEquals("\\${pojo}", props.getValue("pojoBean2.val1"));

    PetiteContainer pc = new PetiteContainer();
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.