Package com.sshtools.common.files.direct
Class DirectFile
java.lang.Object
com.sshtools.common.files.AbstractFileImpl<T>
com.sshtools.common.files.direct.AbstractDirectFile<DirectFile>
com.sshtools.common.files.direct.DirectFile
- All Implemented Interfaces:
AbstractFile
- Direct Known Subclasses:
DirectFileJava7
@Deprecated(since="3.1.0",
forRemoval=true)
public class DirectFile
extends AbstractDirectFile<DirectFile>
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated, use
NioFile and NioFileFactory instead.-
Field Summary
Fields inherited from class com.sshtools.common.files.direct.AbstractDirectFile
f, hidden, homeDirFields inherited from class com.sshtools.common.files.AbstractFileImpl
fileFactory -
Constructor Summary
ConstructorsConstructorDescriptionDirectFile(String path, AbstractFileFactory<DirectFile> fileFactory, File homeDir) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.resolveFile(String child) Deprecated, for removal: This API element is subject to removal in a future version.voidsetAttributes(SftpFileAttributes attrs) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class com.sshtools.common.files.direct.AbstractDirectFile
createFolder, createNewFile, delete, doEquals, doHashCode, exists, getAbsolutePath, getCanonicalPath, getInputStream, getName, getOutputStream, isDirectory, isFile, isHidden, isReadable, isWritable, lastModified, length, moveTo, openFile, refresh, supportsRandomAccess, truncateMethods inherited from class com.sshtools.common.files.AbstractFileImpl
equals, getFileFactory, getOutputStream, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sshtools.common.files.AbstractFile
copyFrom, existsNoFollowLinks, getAttributesNoFollowLinks, getVolume, linkFrom, open, startMultipartUpload, supportsMultipartTransfers, symlinkFrom
-
Constructor Details
-
DirectFile
public DirectFile(String path, AbstractFileFactory<DirectFile> fileFactory, File homeDir) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
-
Method Details
-
setAttributes
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setAttributesin interfaceAbstractFile- Overrides:
setAttributesin classAbstractDirectFile<DirectFile>- Throws:
IOException
-
getParentFile
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
getAttributes
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getAttributesin interfaceAbstractFile- Specified by:
getAttributesin classAbstractDirectFile<DirectFile>- Throws:
IOException
-
getChildren
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
resolveFile
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOExceptionPermissionDeniedException
-
linkTo
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOExceptionPermissionDeniedException
-
symlinkTo
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
symlinkToin interfaceAbstractFile- Overrides:
symlinkToin classAbstractFileImpl<DirectFile>- Throws:
IOExceptionPermissionDeniedException
-
readSymbolicLink
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOExceptionPermissionDeniedException
-