public class DirectFileJava7 extends DirectFile
f, hidden, homeDirfileFactory| Constructor and Description |
|---|
DirectFileJava7(java.lang.String path,
AbstractFileFactory<DirectFile> fileFactory,
java.io.File homeDir) |
| Modifier and Type | Method and Description |
|---|---|
SftpFileAttributes |
getAttributes() |
java.util.List<AbstractFile> |
getChildren() |
void |
linkTo(java.lang.String target) |
java.lang.String |
readSymbolicLink() |
AbstractFile |
resolveFile(java.lang.String child) |
void |
setAttributes(SftpFileAttributes attrs) |
void |
symlinkTo(java.lang.String target) |
createFolder, createNewFile, delete, doEquals, doHashCode, exists, getAbsolutePath, getCanonicalPath, getInputStream, getName, getOutputStream, isDirectory, isFile, isHidden, isReadable, isWritable, lastModified, length, moveTo, openFile, refresh, supportsRandomAccess, truncatecopyFrom, equals, getFileFactory, getOutputStream, hashCodepublic DirectFileJava7(java.lang.String path,
AbstractFileFactory<DirectFile> fileFactory,
java.io.File homeDir)
throws java.io.IOException
java.io.IOExceptionpublic void setAttributes(SftpFileAttributes attrs) throws java.io.IOException
setAttributes in interface AbstractFilesetAttributes in class AbstractDirectFile<DirectFile>java.io.IOExceptionpublic SftpFileAttributes getAttributes() throws java.io.IOException
getAttributes in interface AbstractFilegetAttributes in class DirectFilejava.io.IOExceptionpublic java.util.List<AbstractFile> getChildren() throws java.io.IOException
getChildren in interface AbstractFilegetChildren in class DirectFilejava.io.IOExceptionpublic AbstractFile resolveFile(java.lang.String child) throws java.io.IOException, PermissionDeniedException
resolveFile in interface AbstractFileresolveFile in class DirectFilejava.io.IOExceptionPermissionDeniedExceptionpublic void linkTo(java.lang.String target)
throws java.io.IOException,
PermissionDeniedException
linkTo in class AbstractFileImpl<DirectFile>java.io.IOExceptionPermissionDeniedExceptionpublic void symlinkTo(java.lang.String target)
throws java.io.IOException,
PermissionDeniedException
symlinkTo in interface AbstractFilesymlinkTo in class AbstractFileImpl<DirectFile>java.io.IOExceptionPermissionDeniedExceptionpublic java.lang.String readSymbolicLink()
throws java.io.IOException,
PermissionDeniedException
readSymbolicLink in interface AbstractFilereadSymbolicLink in class DirectFilejava.io.IOExceptionPermissionDeniedExceptionCopyright © 2022. All rights reserved.