public abstract class AbstractFileImpl<T extends AbstractFile> extends Object implements AbstractFile
| Modifier and Type | Field and Description |
|---|---|
protected Connection |
con |
protected AbstractFileFactory<T> |
fileFactory |
| Constructor and Description |
|---|
AbstractFileImpl(AbstractFileFactory<T> fileFactory,
Connection con) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyFrom(AbstractFile src) |
AbstractFileFactory<T> |
getFileFactory() |
OutputStream |
getOutputStream(boolean append) |
void |
moveTo(AbstractFile target) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateFolder, createNewFile, delete, exists, getAbsolutePath, getAttributes, getCanonicalPath, getChildren, getInputStream, getName, getOutputStream, isDirectory, isFile, isHidden, isReadable, isWritable, lastModified, length, openFile, refresh, resolveFile, setAttributes, supportsRandomAccess, truncateprotected AbstractFileFactory<T extends AbstractFile> fileFactory
protected Connection con
public AbstractFileImpl(AbstractFileFactory<T> fileFactory, Connection con)
public void copyFrom(AbstractFile src) throws IOException, PermissionDeniedException
copyFrom in interface AbstractFileIOExceptionPermissionDeniedExceptionpublic void moveTo(AbstractFile target) throws IOException, PermissionDeniedException
moveTo in interface AbstractFileIOExceptionPermissionDeniedExceptionpublic OutputStream getOutputStream(boolean append) throws IOException
getOutputStream in interface AbstractFileIOExceptionpublic AbstractFileFactory<T> getFileFactory()
getFileFactory in interface AbstractFileCopyright © 2025. All rights reserved.