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, wait
abortFile, canRead, canWrite, closeFile, delete, exists, getDir, getFile, getSession, isDirectory, isFile, isInReading, isInWriting, length, readDataBlock, renameTo, setPosition, writeDataBlock
public void clear() throws CommandAbstractException
FileInterface
clear
in interface FileInterface
CommandAbstractException
public void checkIdentify() throws Reply530Exception
FileInterface
checkIdentify
in interface FileInterface
Reply530Exception
public DataBlock getMarker() throws CommandAbstractException
FileInterface
getMarker
in interface FileInterface
CommandAbstractException
public boolean restartMarker(Restart restart) throws CommandAbstractException
FileInterface
restartMarker
in interface FileInterface
CommandAbstractException
public boolean retrieve() throws CommandAbstractException
FileInterface
retrieve
in interface FileInterface
CommandAbstractException
public boolean store() throws CommandAbstractException
FileInterface
store
in interface FileInterface
CommandAbstractException
Copyright © 2009–2020 Waarp. All rights reserved.