Package org.cfeclipse.cfml.views.explorer

Examples of org.cfeclipse.cfml.views.explorer.FileSystemRoot


    public Object[] getRoots() {
      System.out.println("FTPConnection.getRoots():"+connectionProperties.getHost());

        if (isConnected()) {
          System.out.println("connected");
          FileSystemRoot root = new FileSystemRoot(connectionProperties.getPath());
          root.setPath(connectionProperties.getPath());
          root.setType(connectionProperties.getType());
          try {
                FileObject rootItem = manager.resolveFile(connectionString,fileSystemOptions);
        root.setFileObject(rootItem);
      } catch (FileSystemException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
      }
            return new FileSystemRoot[] { root };
View Full Code Here

TOP

Related Classes of org.cfeclipse.cfml.views.explorer.FileSystemRoot

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.