Package com.sshtools.common.files
Class AbstractFileImpl<T extends AbstractFile>
java.lang.Object
com.sshtools.common.files.AbstractFileImpl<T>
- All Implemented Interfaces:
AbstractFile
- Direct Known Subclasses:
AbstractDirectFile
public abstract class AbstractFileImpl<T extends AbstractFile>
extends Object
implements AbstractFile
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract booleanprotected abstract intfinal booleangetOutputStream(boolean append) final inthashCode()voidMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sshtools.common.files.AbstractFile
copyFrom, createFolder, createNewFile, delete, exists, existsNoFollowLinks, getAbsolutePath, getAttributes, getAttributesNoFollowLinks, getCanonicalPath, getChildren, getInputStream, getName, getOutputStream, getParentFile, getVolume, isDirectory, isFile, isHidden, isReadable, isWritable, lastModified, length, linkFrom, linkTo, moveTo, open, openFile, readSymbolicLink, refresh, resolveFile, setAttributes, startMultipartUpload, supportsMultipartTransfers, supportsRandomAccess, symlinkFrom, truncate
-
Field Details
-
fileFactory
-
-
Constructor Details
-
AbstractFileImpl
-
-
Method Details
-
symlinkTo
- Specified by:
symlinkToin interfaceAbstractFile- Throws:
IOExceptionPermissionDeniedException
-
getOutputStream
- Specified by:
getOutputStreamin interfaceAbstractFile- Throws:
IOExceptionPermissionDeniedException
-
getFileFactory
- Specified by:
getFileFactoryin interfaceAbstractFile
-
doHashCode
protected abstract int doHashCode() -
hashCode
public final int hashCode() -
doEquals
-
equals
-