Examples of FileSystemManager

@author Adam Murdoch
  • org.apache.commons.vfs2.FileSystemManager
    here.org/somefile

  • Absolute local file name. For example, /home/someuser/a-file or c:\dir\somefile.html. Elements in the name can be separated using any of the following characters: /, \, or the native file separator character. For example, the following file names are the same:

     c:\somedir\somefile.xml c:/somedir/somefile.xml 

  • Relative path. For example: ../somefile or somedir/file.txt. The file system manager resolves relative paths against its base file. Elements in the relative path can be separated using /, \, or file system specific separator characters. Relative paths may also contain .. and . elements. See {@link FileObject#resolveFile} for moredetails.

    @author Commons VFS team

  • org.apache.ftpserver.ftplet.FileSystemManager
    This is the file system manager - it returns the file system view for user.
  • org.freeplane.plugin.workspace.io.FileSystemManager

  • Examples of org.apache.commons.vfs2.FileSystemManager

            {
                return super.getURL(basePath, file);
            }
            try
            {
                FileSystemManager fsManager = VFS.getManager();

                FileName path;
                if (basePath != null && UriParser.extractScheme(file) == null)
                {
                    FileName base = fsManager.resolveURI(basePath);
                    path = fsManager.resolveName(base, file);
                }
                else
                {
                    path = fsManager.resolveURI(file);
                }

                URLStreamHandler handler = new VFSURLStreamHandler(path);
                return new URL(null, path.getURI(), handler);
            }
    View Full Code Here

    Examples of org.apache.ftpserver.ftplet.FileSystemManager

                   
                    return;
                }
               
                // update different objects
                FileSystemManager fmanager = context.getFileSystemManager();
                FileSystemView fsview = fmanager.createFileSystemView(authenticatedUser);
                session.setLogin(fsview);
                stat.setLogin(session);

                // everything is fine - send login ok message
                session.write(FtpReplyUtil.translate(session, request, context, FtpReply.REPLY_230_USER_LOGGED_IN, "PASS", userName));
    View Full Code Here

    Examples of org.freeplane.plugin.workspace.io.FileSystemManager

      public static AWorkspaceModeExtension getCurrentModeExtension() {
        return getModeExtension(Controller.getCurrentModeController());
      }
     
      public static FileSystemManager getFileSystemMgr() {
        return new FileSystemManager(getCurrentModeExtension().getFileTypeManager());
      }
    View Full Code Here
    TOP
    Copyright © 2018 www.massapi.com. 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.