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