org.apache.sshd.server.filesystem
Class NativeFileSystemView

java.lang.Object
  extended by org.apache.sshd.server.filesystem.NativeFileSystemView
All Implemented Interfaces:
FileSystemView

public class NativeFileSystemView
extends java.lang.Object
implements FileSystemView

Internal class, do not use directly. File system view based on native file system. Here the root directory will be user virtual root (/).

Author:
Apache MINA Project

Constructor Summary
protected NativeFileSystemView(java.lang.String userName)
          Constructor - internal do not use directly, use NativeFileSystemFactory instead
  NativeFileSystemView(java.lang.String userName, boolean caseInsensitive)
          Constructor - internal do not use directly, use NativeFileSystemFactory instead
 
Method Summary
 SshFile getFile(java.lang.String file)
          Get file object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NativeFileSystemView

protected NativeFileSystemView(java.lang.String userName)
Constructor - internal do not use directly, use NativeFileSystemFactory instead


NativeFileSystemView

public NativeFileSystemView(java.lang.String userName,
                            boolean caseInsensitive)
Constructor - internal do not use directly, use NativeFileSystemFactory instead

Method Detail

getFile

public SshFile getFile(java.lang.String file)
Get file object.

Specified by:
getFile in interface FileSystemView
Parameters:
file - The path to the file to get
Returns:
The SshFile for the provided path


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.