com.maverick.sshd.fs
Class AbstractFileImpl<T extends AbstractFile,K extends FileSystemMount>
java.lang.Object
com.maverick.sshd.fs.AbstractFileImpl<T,K>
- All Implemented Interfaces:
- AbstractFile
- Direct Known Subclasses:
- AbstractDirectFile, VFSFile
public abstract class AbstractFileImpl<T extends AbstractFile,K extends FileSystemMount>
- extends Object
- implements AbstractFile
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.maverick.sshd.sftp.AbstractFile |
createFolder, createNewFile, delete, exists, getAbsolutePath, getAttributes, getCanonicalPath, getChildren, getInputStream, getName, getOutputStream, isDirectory, isFile, isHidden, isMount, isReadable, isWritable, lastModified, length, moveTo, openFile, refresh, setAttributes, supportsRandomAccess, truncate |
fileFactory
protected AbstractFileFactory<T extends AbstractFile,K extends FileSystemMount> fileFactory
con
protected Connection con
AbstractFileImpl
public AbstractFileImpl(AbstractFileFactory<T,K> fileFactory,
Connection con)
copyFrom
public void copyFrom(AbstractFile src)
throws IOException,
PermissionDeniedException
- Specified by:
copyFrom in interface AbstractFile
- Throws:
IOException
PermissionDeniedException
getOutputStream
public OutputStream getOutputStream(boolean append)
throws IOException
- Specified by:
getOutputStream in interface AbstractFile
- Throws:
IOException
resolveFile
public AbstractFile resolveFile(String name)
throws PermissionDeniedException,
IOException
- Specified by:
resolveFile in interface AbstractFile
- Throws:
PermissionDeniedException
IOException
Copyright © 2012. All Rights Reserved.