public abstract class AbstractStoreFileCommandHandler extends AbstractFakeCommandHandler
INTERNAL_ERROR_KEY, replyCodeForFileSystemException
LOG
Constructor and Description |
---|
AbstractStoreFileCommandHandler() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
appendToOutputFile() |
protected abstract String |
getMessageKey() |
protected String |
getOutputFile(Command command)
Return the path (absolute or relative) for the output file.
|
protected void |
handle(Command command,
Session session)
Handle the specified command for the session.
|
defaultIfNullOrEmpty, endOfLine, getFileSystem, getRealPath, getRequiredSessionAttribute, getServerConfiguration, getUserAccount, handleCommand, list, list, login, notNullOrEmpty, sendReply, sendReply, sendReply, sendReply, setServerConfiguration, validateUserAccount, verifyExecutePermission, verifyFileSystemCondition, verifyLoggedIn, verifyReadPermission, verifyWritePermission
assertValidReplyCode, getReplyTextBundle, quotes, setReplyTextBundle
protected void handle(Command command, Session session)
AbstractFakeCommandHandler
handle
in class AbstractFakeCommandHandler
command
- - the Command to be handledsession
- - the session on which the Command was submittedprotected String getOutputFile(Command command)
command
- - the Commandprotected boolean appendToOutputFile()
protected abstract String getMessageKey()
Copyright © 2016. All rights reserved.