public class VirtualMappedFile extends AbstractFileAdapter implements VirtualFile
file| Constructor and Description |
|---|
VirtualMappedFile(String path,
Connection con,
VirtualMount parentMount,
VirtualFileFactory fileFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyFrom(AbstractFile src) |
String |
getAbsolutePath() |
String |
getCanonicalPath() |
List<AbstractFile> |
getChildren() |
AbstractFile |
getMappedFile() |
String |
getName() |
void |
moveTo(AbstractFile target) |
AbstractFile |
resolveFile(String child) |
protected String |
translateCanonicalPath(String path,
String securemount) |
createFolder, createNewFile, delete, exists, getAttributes, getFileFactory, getInputStream, getOutputStream, getOutputStream, init, isDirectory, isFile, isHidden, isReadable, isWritable, lastModified, length, openFile, refresh, setAttributes, supportsRandomAccess, truncateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateFolder, createNewFile, delete, exists, getAttributes, getFileFactory, getInputStream, getOutputStream, getOutputStream, isDirectory, isFile, isHidden, isReadable, isWritable, lastModified, length, openFile, refresh, setAttributes, supportsRandomAccess, truncatepublic VirtualMappedFile(String path, Connection con, VirtualMount parentMount, VirtualFileFactory fileFactory) throws IOException, PermissionDeniedException
IOExceptionPermissionDeniedExceptionpublic List<AbstractFile> getChildren() throws IOException, PermissionDeniedException
getChildren in interface AbstractFilegetChildren in class AbstractFileAdapterIOExceptionPermissionDeniedExceptionpublic AbstractFile getMappedFile()
public String getAbsolutePath() throws IOException, PermissionDeniedException
getAbsolutePath in interface AbstractFilegetAbsolutePath in class AbstractFileAdapterIOExceptionPermissionDeniedExceptionpublic String getCanonicalPath() throws IOException, PermissionDeniedException
getCanonicalPath in interface AbstractFilegetCanonicalPath in class AbstractFileAdapterIOExceptionPermissionDeniedExceptionpublic String getName()
getName in interface AbstractFilegetName in class AbstractFileAdapterpublic AbstractFile resolveFile(String child) throws PermissionDeniedException, IOException
resolveFile in interface AbstractFileresolveFile in class AbstractFileAdapterPermissionDeniedExceptionIOExceptionpublic void copyFrom(AbstractFile src) throws IOException, PermissionDeniedException
copyFrom in interface AbstractFilecopyFrom in class AbstractFileAdapterIOExceptionPermissionDeniedExceptionpublic void moveTo(AbstractFile target) throws IOException, PermissionDeniedException
moveTo in interface AbstractFilemoveTo in class AbstractFileAdapterIOExceptionPermissionDeniedExceptionprotected String translateCanonicalPath(String path, String securemount) throws FileNotFoundException, IOException, PermissionDeniedException
Copyright © 2025. All rights reserved.