Examples of PrefixTypePattern


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
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.