public abstract class AbstractStoreFileCommandHandler extends AbstractFakeCommandHandler
INTERNAL_ERROR_KEY, replyCodeForFileSystemExceptionLOG| 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, verifyWritePermissionassertValidReplyCode, getReplyTextBundle, quotes, setReplyTextBundleprotected void handle(Command command, Session session)
AbstractFakeCommandHandlerhandle in class AbstractFakeCommandHandlercommand - - 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.