public abstract class FilesystemBasedFtpFile extends org.waarp.common.file.filesystembased.FilesystemBasedFileImpl implements FtpFile
Constructor and Description |
---|
FilesystemBasedFtpFile(FtpSession session,
FilesystemBasedFtpDir dir,
String path,
boolean append) |
Modifier and Type | Method and Description |
---|---|
long |
length() |
void |
trueRetrieve()
Launch retrieve operation (internal method, should not be called directly)
|
abortFile, canRead, canWrite, clear, closeFile, delete, exists, get, getDir, getFile, getFileChannel, getFileFromPath, getFileOutputStream, getPosition, getRandomFile, getRelativePath, getSession, isDirectory, isFile, isInReading, isInWriting, readDataBlock, renameTo, setPosition, writeDataBlock
checkIdentify, getMarker, restartMarker, retrieve, store
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abortFile, canRead, canWrite, checkIdentify, clear, closeFile, delete, exists, getDir, getFile, getMarker, getSession, isDirectory, isFile, isInReading, isInWriting, readDataBlock, renameTo, restartMarker, retrieve, setPosition, store, writeDataBlock
public FilesystemBasedFtpFile(FtpSession session, FilesystemBasedFtpDir dir, String path, boolean append) throws org.waarp.common.command.exception.CommandAbstractException
session
- dir
- It is not necessary the directory that owns this file.path
- append
- org.waarp.common.command.exception.CommandAbstractException
public long length() throws org.waarp.common.command.exception.CommandAbstractException
length
in interface org.waarp.common.file.FileInterface
length
in class org.waarp.common.file.filesystembased.FilesystemBasedFileImpl
org.waarp.common.command.exception.CommandAbstractException
public void trueRetrieve()
trueRetrieve
in interface FtpFile
Copyright © 2009–2019 Waarp. All rights reserved.