Package org.springsource.loaded

Examples of org.springsource.loaded.PrefixTypePattern


*/
public class TypePatternTests extends SpringLoadedTests {

  @Test
  public void prefix() {
    PrefixTypePattern tp = new PrefixTypePattern("com.foo..*");
    assertEquals("text:com.foo..*", tp.toString());
    assertTrue(tp.matches("com.foo.Bar"));
    assertFalse(tp.matches("com.food.Bar"));
  }
View Full Code Here

TOP

Related Classes of org.springsource.loaded.PrefixTypePattern

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.