com.maverick.vfs.ssh
Class SftpFileObject

java.lang.Object
  extended by org.apache.commons.vfs2.provider.AbstractFileObject
      extended by com.maverick.vfs.ssh.SftpFileObject
All Implemented Interfaces:
org.apache.commons.vfs2.FileObject

public class SftpFileObject
extends org.apache.commons.vfs2.provider.AbstractFileObject


Constructor Summary
protected SftpFileObject(org.apache.commons.vfs2.provider.AbstractFileName name, SftpFileSystem fs)
           
 
Method Summary
protected  void doAttach()
           
protected  void doCreateFolder()
           
protected  void doDelete()
           
protected  void doDetach()
           
protected  Map doGetAttributes()
           
protected  long doGetContentSize()
           
protected  InputStream doGetInputStream()
           
protected  long doGetLastModifiedTime()
           
protected  OutputStream doGetOutputStream(boolean bAppend)
           
protected  org.apache.commons.vfs2.RandomAccessContent doGetRandomAccessContent(org.apache.commons.vfs2.util.RandomAccessMode mode)
           
protected  org.apache.commons.vfs2.FileType doGetType()
           
protected  boolean doIsHidden()
           
protected  String[] doListChildren()
           
protected  void doRename(org.apache.commons.vfs2.FileObject newfile)
           
protected  boolean doSetLastModifiedTime(long modtime)
           
 
Methods inherited from class org.apache.commons.vfs2.provider.AbstractFileObject
canRenameTo, childrenChanged, close, copyFrom, createFile, createFolder, delete, delete, doCreateFileContent, doGetCertificates, doIsReadable, doIsSameFile, doIsWriteable, doListChildrenResolved, doRemoveAttribute, doSetAttribute, endOutput, exists, finalize, findFiles, findFiles, getChild, getChildren, getContent, getFileContentInfoFactory, getFileOperations, getFileSystem, getInputStream, getName, getOutputStream, getOutputStream, getParent, getRandomAccessContent, getType, getURL, handleChanged, handleCreate, handleDelete, holdObject, injectType, isAttached, isContentOpen, isHidden, isReadable, isSameFile, isWriteable, moveTo, notifyAllStreamsClosed, onChange, onChildrenChanged, refresh, resolveFile, resolveFile, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SftpFileObject

protected SftpFileObject(org.apache.commons.vfs2.provider.AbstractFileName name,
                         SftpFileSystem fs)
Method Detail

doGetType

protected org.apache.commons.vfs2.FileType doGetType()
                                              throws Exception
Specified by:
doGetType in class org.apache.commons.vfs2.provider.AbstractFileObject
Throws:
Exception

doCreateFolder

protected void doCreateFolder()
                       throws Exception
Overrides:
doCreateFolder in class org.apache.commons.vfs2.provider.AbstractFileObject
Throws:
Exception

doGetLastModifiedTime

protected long doGetLastModifiedTime()
                              throws Exception
Overrides:
doGetLastModifiedTime in class org.apache.commons.vfs2.provider.AbstractFileObject
Throws:
Exception

doSetLastModifiedTime

protected boolean doSetLastModifiedTime(long modtime)
                                 throws Exception
Overrides:
doSetLastModifiedTime in class org.apache.commons.vfs2.provider.AbstractFileObject
Throws:
Exception

doDelete

protected void doDelete()
                 throws Exception
Overrides:
doDelete in class org.apache.commons.vfs2.provider.AbstractFileObject
Throws:
Exception

doRename

protected void doRename(org.apache.commons.vfs2.FileObject newfile)
                 throws Exception
Overrides:
doRename in class org.apache.commons.vfs2.provider.AbstractFileObject
Throws:
Exception

doListChildren

protected String[] doListChildren()
                           throws Exception
Specified by:
doListChildren in class org.apache.commons.vfs2.provider.AbstractFileObject
Throws:
Exception

doGetAttributes

protected Map doGetAttributes()
                       throws Exception
Overrides:
doGetAttributes in class org.apache.commons.vfs2.provider.AbstractFileObject
Throws:
Exception

doGetContentSize

protected long doGetContentSize()
                         throws Exception
Specified by:
doGetContentSize in class org.apache.commons.vfs2.provider.AbstractFileObject
Throws:
Exception

doGetRandomAccessContent

protected org.apache.commons.vfs2.RandomAccessContent doGetRandomAccessContent(org.apache.commons.vfs2.util.RandomAccessMode mode)
                                                                        throws Exception
Overrides:
doGetRandomAccessContent in class org.apache.commons.vfs2.provider.AbstractFileObject
Throws:
Exception

doGetInputStream

protected InputStream doGetInputStream()
                                throws Exception
Specified by:
doGetInputStream in class org.apache.commons.vfs2.provider.AbstractFileObject
Throws:
Exception

doAttach

protected void doAttach()
                 throws Exception
Overrides:
doAttach in class org.apache.commons.vfs2.provider.AbstractFileObject
Throws:
Exception

doDetach

protected void doDetach()
                 throws Exception
Overrides:
doDetach in class org.apache.commons.vfs2.provider.AbstractFileObject
Throws:
Exception

doGetOutputStream

protected OutputStream doGetOutputStream(boolean bAppend)
                                  throws Exception
Overrides:
doGetOutputStream in class org.apache.commons.vfs2.provider.AbstractFileObject
Throws:
Exception

doIsHidden

protected boolean doIsHidden()
                      throws Exception
Overrides:
doIsHidden in class org.apache.commons.vfs2.provider.AbstractFileObject
Throws:
Exception


Copyright © 2012. All Rights Reserved.