Package org.crsh.util

Examples of org.crsh.util.InputStreamFactory


          if (child == null) {
            children.put(name, child = new Node(name));
          }
          child.resources.add(
              new Resource(file.toURI().toURL(),
                  new InputStreamFactory() {
                    public InputStream open() throws IOException {
                      return new FileInputStream(file);
                    }
                  }, file.lastModified()
              )
View Full Code Here

TOP

Related Classes of org.crsh.util.InputStreamFactory

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.