
public abstract class AbstractFile extends Object implements FileInterface
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isReady
Is this Document ready to be accessed
|
| Constructor and Description |
|---|
AbstractFile() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkIdentify()
Check if the authentication is correct
|
void |
clear()
Set empty this FtpFile, mark it unReady.
|
DataBlock |
getMarker()
Create a restart from context for the current FileInterface
|
boolean |
restartMarker(Restart restart)
Restart from a Marker for the current FileInterface if any.
|
boolean |
retrieve()
Ask to retrieve the current FileInterface.
|
boolean |
store()
Ask to store the current FileInterface.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabortFile, canRead, canWrite, closeFile, delete, exists, getDir, getFile, getSession, isDirectory, isFile, isInReading, isInWriting, length, readDataBlock, renameTo, setPosition, writeDataBlockpublic void clear()
throws CommandAbstractException
FileInterfaceclear in interface FileInterfaceCommandAbstractExceptionpublic void checkIdentify()
throws Reply530Exception
FileInterfacecheckIdentify in interface FileInterfaceReply530Exceptionpublic DataBlock getMarker() throws CommandAbstractException
FileInterfacegetMarker in interface FileInterfaceCommandAbstractExceptionpublic boolean restartMarker(Restart restart) throws CommandAbstractException
FileInterfacerestartMarker in interface FileInterfaceCommandAbstractExceptionpublic boolean retrieve()
throws CommandAbstractException
FileInterfaceretrieve in interface FileInterfaceCommandAbstractExceptionpublic boolean store()
throws CommandAbstractException
FileInterfacestore in interface FileInterfaceCommandAbstractExceptionCopyright © 2009–2019 Waarp. All rights reserved.