Package com.ibm.sbt.playground.vfs

Examples of com.ibm.sbt.playground.vfs.FileVFS


   * @param context
   * @param relPath The folder path.
   * @return VFSFile from the relPath and context.
   */
  private static VFSFile getRootFile(String relPath) {
    FileVFS vfs = new FileVFS(new File(relPath));
    return vfs.getRoot();
  }
View Full Code Here


      String location=source.getLocation().trim();
      File baseDir=new File(location);
      if(!baseDir.exists()) {
        throw new FacesExceptionEx(null, "Import directory {0} does not exist", location);
      }
      FileVFS vfs=new FileVFS(baseDir);
      return vfs;
    } else if(StringUtil.equals(source.getSource(), "github")) {
      String location=source.getLocation().trim();
      if(StringUtil.isEmpty(location)) {
        throw new FacesExceptionEx(null, "GitHub: Location is empty", location);
View Full Code Here

TOP

Related Classes of com.ibm.sbt.playground.vfs.FileVFS

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.