public class SftpFileObject extends org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_GID |
static String |
ATTR_PERMISSIONS |
static String |
ATTR_UID |
| Modifier | Constructor and Description |
|---|---|
protected |
SftpFileObject(org.apache.commons.vfs2.provider.AbstractFileName name,
SftpFileSystem fs) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doAttach() |
protected void |
doCreateFolder() |
protected void |
doDelete() |
protected void |
doDetach() |
protected Map<String,Object> |
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 void |
doSetAttribute(String attrName,
Object value) |
protected boolean |
doSetLastModifiedTime(long modtime) |
canRenameTo, childrenChanged, close, compareTo, copyFrom, createFile, createFolder, delete, delete, deleteAll, doCreateFileContent, doGetCertificates, doIsExecutable, doIsReadable, doIsSameFile, doIsWriteable, doListChildrenResolved, doRemoveAttribute, doSetExecutable, doSetReadable, doSetWritable, endOutput, exists, finalize, findFiles, findFiles, getAbstractFileSystem, getChild, getChildren, getContent, getFileContentInfoFactory, getFileOperations, getFileSystem, getInputStream, getName, getOutputStream, getOutputStream, getParent, getPublicURIString, getRandomAccessContent, getType, getURL, handleChanged, handleCreate, handleDelete, holdObject, injectType, isAttached, isContentOpen, isExecutable, isFile, isFolder, isHidden, isReadable, isSameFile, isWriteable, iterator, listFiles, moveTo, notifyAllStreamsClosed, onChange, onChildrenChanged, refresh, resolveFile, resolveFile, setExecutable, setReadable, setWritable, toStringclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static final String ATTR_UID
public static final String ATTR_GID
public static final String ATTR_PERMISSIONS
protected SftpFileObject(org.apache.commons.vfs2.provider.AbstractFileName name,
SftpFileSystem fs)
protected void doSetAttribute(String attrName, Object value) throws Exception
doSetAttribute in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>Exceptionprotected org.apache.commons.vfs2.FileType doGetType()
throws Exception
doGetType in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>Exceptionprotected void doCreateFolder()
throws Exception
doCreateFolder in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>Exceptionprotected long doGetLastModifiedTime()
throws Exception
doGetLastModifiedTime in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>Exceptionprotected boolean doSetLastModifiedTime(long modtime)
throws Exception
doSetLastModifiedTime in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>Exceptionprotected void doDelete()
throws Exception
doDelete in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>Exceptionprotected void doRename(org.apache.commons.vfs2.FileObject newfile)
throws Exception
doRename in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>Exceptionprotected String[] doListChildren() throws Exception
doListChildren in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>Exceptionprotected Map<String,Object> doGetAttributes() throws Exception
doGetAttributes in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>Exceptionprotected long doGetContentSize()
throws Exception
doGetContentSize in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>Exceptionprotected org.apache.commons.vfs2.RandomAccessContent doGetRandomAccessContent(org.apache.commons.vfs2.util.RandomAccessMode mode)
throws Exception
doGetRandomAccessContent in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>Exceptionprotected InputStream doGetInputStream() throws Exception
doGetInputStream in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>Exceptionprotected void doAttach()
throws Exception
doAttach in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>Exceptionprotected void doDetach()
throws Exception
doDetach in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>Exceptionprotected OutputStream doGetOutputStream(boolean bAppend) throws Exception
doGetOutputStream in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>Exceptionprotected boolean doIsHidden()
throws Exception
doIsHidden in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>ExceptionCopyright © 2025. All rights reserved.