com.maverick.sshd.sftp
Class AbstractMount

java.lang.Object
  extended by com.maverick.sshd.sftp.AbstractMount
All Implemented Interfaces:
FileSystemMount
Direct Known Subclasses:
VirtualMount, VirtualMountTemplate

public class AbstractMount
extends Object
implements FileSystemMount


Field Summary
protected  boolean isImaginary
           
protected  String mount
           
protected  String path
           
 
Constructor Summary
protected AbstractMount(String mount, String path)
           
protected AbstractMount(String mount, String path, boolean isDefault, boolean isImaginary)
           
 
Method Summary
 boolean equals(Object obj)
           
 Object getAttribute(String key, Object defaultValue)
           
 String getMount()
           
 String getRoot()
           
 int hashCode()
           
 boolean isDefault()
           
 boolean isFilesystemRoot()
           
 boolean isImaginary()
           
 void setAttribute(String key, Object value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mount

protected String mount

path

protected String path

isImaginary

protected boolean isImaginary
Constructor Detail

AbstractMount

protected AbstractMount(String mount,
                        String path)

AbstractMount

protected AbstractMount(String mount,
                        String path,
                        boolean isDefault,
                        boolean isImaginary)
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getMount

public String getMount()
Specified by:
getMount in interface FileSystemMount

getRoot

public String getRoot()
Specified by:
getRoot in interface FileSystemMount

isFilesystemRoot

public boolean isFilesystemRoot()
Specified by:
isFilesystemRoot in interface FileSystemMount

isDefault

public boolean isDefault()
Specified by:
isDefault in interface FileSystemMount

isImaginary

public boolean isImaginary()

getAttribute

public Object getAttribute(String key,
                           Object defaultValue)
Specified by:
getAttribute in interface FileSystemMount

setAttribute

public void setAttribute(String key,
                         Object value)
Specified by:
setAttribute in interface FileSystemMount


Copyright © 2012. All Rights Reserved.