Package org.crsh.vfs.spi.url

Examples of org.crsh.vfs.spi.url.Resource


  private void resolve(List<JavaFileObject> files, Node node, String binaryName, boolean recurse) throws IOException, URISyntaxException {
    for (Node child : driver.children(node)) {
      Iterator<Resource> i = child.iterator();
      if (i.hasNext()) {
        if (child.name.endsWith(".class")) {
          Resource r = i.next();
          URI uri = r.url.toURI();
          files.add(new NodeJavaFileObject(
              binaryName + "." + child.name.substring(0, child.name.length() - ".class".length()),
              uri,
              r.streamFactory,
View Full Code Here

TOP

Related Classes of org.crsh.vfs.spi.url.Resource

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.