Package org.jboss.test.virtual.support

Examples of org.jboss.test.virtual.support.PatternVirtualFileVisitor


      String urlString = url.toExternalForm();
      int p = urlString.indexOf(":/");
      url = new URL("vfszip" + urlString.substring(p) + "/lib/spring-beans.jar/org/jboss/test/spring");
      VirtualFile file = VFS.getRoot(url);
      assertNotNull(file);
      PatternVirtualFileVisitor visitor = new PatternVirtualFileVisitor();
      file.visit(visitor);
      List<String> resources = visitor.getResources();
      assertNotNull(resources);
      assertTrue("Resources empty", resources.size() > 0);
      for (String path : resources)
      {
         VirtualFile clazz = file.getChild(path);
View Full Code Here

TOP

Related Classes of org.jboss.test.virtual.support.PatternVirtualFileVisitor

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.