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, toString
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public 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>
Exception
protected org.apache.commons.vfs2.FileType doGetType() throws Exception
doGetType
in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>
Exception
protected void doCreateFolder() throws Exception
doCreateFolder
in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>
Exception
protected long doGetLastModifiedTime() throws Exception
doGetLastModifiedTime
in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>
Exception
protected boolean doSetLastModifiedTime(long modtime) throws Exception
doSetLastModifiedTime
in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>
Exception
protected void doDelete() throws Exception
doDelete
in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>
Exception
protected void doRename(org.apache.commons.vfs2.FileObject newfile) throws Exception
doRename
in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>
Exception
protected String[] doListChildren() throws Exception
doListChildren
in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>
Exception
protected Map<String,Object> doGetAttributes() throws Exception
doGetAttributes
in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>
Exception
protected long doGetContentSize() throws Exception
doGetContentSize
in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>
Exception
protected 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>
Exception
protected InputStream doGetInputStream() throws Exception
doGetInputStream
in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>
Exception
protected void doAttach() throws Exception
doAttach
in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>
Exception
protected void doDetach() throws Exception
doDetach
in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>
Exception
protected OutputStream doGetOutputStream(boolean bAppend) throws Exception
doGetOutputStream
in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>
Exception
protected boolean doIsHidden() throws Exception
doIsHidden
in class org.apache.commons.vfs2.provider.AbstractFileObject<SftpFileSystem>
Exception
Copyright © 2024. All rights reserved.