public class VirtualFileObject extends com.sshtools.common.files.AbstractFileAdapter implements VirtualFile
Modifier and Type | Field and Description |
---|---|
protected VirtualFileFactory |
fileFactory |
Modifier | Constructor and Description |
---|---|
protected |
VirtualFileObject(VirtualFileFactory factory,
VirtualMount parentMount) |
Modifier and Type | Method and Description |
---|---|
VirtualMount |
getMount() |
VirtualMount |
getParentMount()
Deprecated.
|
protected java.util.Map<java.lang.String,com.sshtools.common.files.AbstractFile> |
getVirtualMounts() |
void |
refresh() |
copyFrom, createFolder, createNewFile, delete, exists, getAbsolutePath, getAttributes, getCanonicalPath, getChildren, getFileFactory, getInputStream, getName, getOutputStream, getOutputStream, init, isDirectory, isFile, isHidden, isReadable, isWritable, lastModified, length, moveTo, openFile, readSymbolicLink, resolveFile, setAttributes, supportsRandomAccess, symlinkTo, truncate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copyFrom, createFolder, createNewFile, delete, exists, getAbsolutePath, getAttributes, getCanonicalPath, getChildren, getFileFactory, getInputStream, getName, getOutputStream, getOutputStream, isDirectory, isFile, isHidden, isReadable, isWritable, lastModified, length, moveTo, openFile, readSymbolicLink, resolveFile, setAttributes, supportsRandomAccess, symlinkTo, truncate
protected VirtualFileFactory fileFactory
protected VirtualFileObject(VirtualFileFactory factory, VirtualMount parentMount)
public void refresh()
refresh
in interface com.sshtools.common.files.AbstractFile
refresh
in class com.sshtools.common.files.AbstractFileAdapter
public VirtualMount getMount()
getMount
in interface VirtualFile
@Deprecated public VirtualMount getParentMount()
protected java.util.Map<java.lang.String,com.sshtools.common.files.AbstractFile> getVirtualMounts() throws java.io.IOException, com.sshtools.common.permissions.PermissionDeniedException
java.io.IOException
com.sshtools.common.permissions.PermissionDeniedException
Copyright © 2022. All rights reserved.