.
- Version:
- $Id: $
|
Constructor Summary |
FtpConfigImpl(org.exoplatform.container.ExoContainerContext context,
org.exoplatform.container.xml.InitParams params)
Constructor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INIT_PARAM_COMMAND_PORT
public static final String INIT_PARAM_COMMAND_PORT
- "command-port".
- See Also:
- Constant Field Values
INIT_PARAM_DATA_MIN_PORT
public static final String INIT_PARAM_DATA_MIN_PORT
- "data-min-port".
- See Also:
- Constant Field Values
INIT_PARAM_DATA_MAX_PORT
public static final String INIT_PARAM_DATA_MAX_PORT
- "data-max-port".
- See Also:
- Constant Field Values
INIT_PARAM_SYSTEM
public static final String INIT_PARAM_SYSTEM
- "system".
- See Also:
- Constant Field Values
INIT_PARAM_CLIENT_SIDE_ENCODING
public static final String INIT_PARAM_CLIENT_SIDE_ENCODING
- "client-side-encoding".
- See Also:
- Constant Field Values
INIT_PARAM_DEF_FOLDER_NODE_TYPE
public static final String INIT_PARAM_DEF_FOLDER_NODE_TYPE
- "def-folder-node-type".
- See Also:
- Constant Field Values
INIT_PARAM_DEF_FILE_NODE_TYPE
public static final String INIT_PARAM_DEF_FILE_NODE_TYPE
- "def-file-node-type".
- See Also:
- Constant Field Values
INIT_PARAM_DEF_FILE_MIME_TYPE
public static final String INIT_PARAM_DEF_FILE_MIME_TYPE
- "def-file-mime-type".
- See Also:
- Constant Field Values
INIT_PARAM_CACHE_FOLDER_NAME
public static final String INIT_PARAM_CACHE_FOLDER_NAME
- "cache-folder-name".
- See Also:
- Constant Field Values
INIT_PARAM_UPLOAD_SPEED_LIMIT
public static final String INIT_PARAM_UPLOAD_SPEED_LIMIT
- "upload-speed-limit".
- See Also:
- Constant Field Values
INIT_PARAM_DOWNLOAD_SPEED_LIMIT
public static final String INIT_PARAM_DOWNLOAD_SPEED_LIMIT
- "download-speed-limit".
- See Also:
- Constant Field Values
INIT_PARAM_REPLACE_FORBIDDEN_CHARS
public static final String INIT_PARAM_REPLACE_FORBIDDEN_CHARS
- replace-forbidden-chars
- See Also:
- Constant Field Values
INIT_PARAM_FORBIDDEN_CHARS
public static final String INIT_PARAM_FORBIDDEN_CHARS
- forbidden-chars
- See Also:
- Constant Field Values
INIT_PARAM_REPLACE_CHAR
public static final String INIT_PARAM_REPLACE_CHAR
- replace-char
- See Also:
- Constant Field Values
INIT_PARAM_TIME_OUT
public static final String INIT_PARAM_TIME_OUT
- "timeout".
- See Also:
- Constant Field Values
DEFAULT_JCR_FORBIDDEN_CHARS
public static final String DEFAULT_JCR_FORBIDDEN_CHARS
- According JCR specification JSR-170 .
See 4.6 Path Syntax:
Any Unicode character except: '/', ':', '[', ']', '*', ''', '"', '|'
- See Also:
- Constant Field Values
DEFAULT_REPLACE_CHAR
public static final char DEFAULT_REPLACE_CHAR
- The all forbidden chars will replaced '_' by default.
- See Also:
- Constant Field Values
DEFAULT_REPLACE_FORBIDDEN_CHARS
public static final boolean DEFAULT_REPLACE_FORBIDDEN_CHARS
- The replace forbidden chars is enable by default.
- See Also:
- Constant Field Values
_forbiddenChars
public String _forbiddenChars
- Forbidden chars.
_replaceChar
public char _replaceChar
- Replace char.
_replaceForbiddenChars
public boolean _replaceForbiddenChars
- Replace forbidden chars.
ENABLE_TRACE
protected boolean ENABLE_TRACE
- Is enable trace.
_portalContainer
protected org.exoplatform.container.PortalContainer _portalContainer
- Portal Container.
FtpConfigImpl
public FtpConfigImpl(org.exoplatform.container.ExoContainerContext context,
org.exoplatform.container.xml.InitParams params)
- Constructor.
- Parameters:
InitParams -
getCommandPort
public int getCommandPort()
- Specified by:
getCommandPort in interface FtpConfig
getDataMinPort
public int getDataMinPort()
- Specified by:
getDataMinPort in interface FtpConfig
getDataMaxPort
public int getDataMaxPort()
- Specified by:
getDataMaxPort in interface FtpConfig
getSystemType
public String getSystemType()
- Specified by:
getSystemType in interface FtpConfig
getClientSideEncoding
public String getClientSideEncoding()
- Specified by:
getClientSideEncoding in interface FtpConfig
getDefFolderNodeType
public String getDefFolderNodeType()
- Specified by:
getDefFolderNodeType in interface FtpConfig
getDefFileNodeType
public String getDefFileNodeType()
- Specified by:
getDefFileNodeType in interface FtpConfig
getDefFileMimeType
public String getDefFileMimeType()
- Specified by:
getDefFileMimeType in interface FtpConfig
getCacheFolderName
public String getCacheFolderName()
- Specified by:
getCacheFolderName in interface FtpConfig
isNeedSlowUpLoad
public boolean isNeedSlowUpLoad()
- Specified by:
isNeedSlowUpLoad in interface FtpConfig
getUpLoadSpeed
public int getUpLoadSpeed()
- Specified by:
getUpLoadSpeed in interface FtpConfig
isNeedSlowDownLoad
public boolean isNeedSlowDownLoad()
- Specified by:
isNeedSlowDownLoad in interface FtpConfig
getDownLoadSpeed
public int getDownLoadSpeed()
- Specified by:
getDownLoadSpeed in interface FtpConfig
isNeedTimeOut
public boolean isNeedTimeOut()
- Specified by:
isNeedTimeOut in interface FtpConfig
getTimeOut
public int getTimeOut()
- Specified by:
getTimeOut in interface FtpConfig
getPortalContainer
public org.exoplatform.container.PortalContainer getPortalContainer()
- Specified by:
getPortalContainer in interface FtpConfig
getForbiddenChars
public String getForbiddenChars()
- Specified by:
getForbiddenChars in interface FtpConfig
getReplaceChar
public char getReplaceChar()
- Specified by:
getReplaceChar in interface FtpConfig
isReplaceForbiddenChars
public boolean isReplaceForbiddenChars()
- Specified by:
isReplaceForbiddenChars in interface FtpConfig
Copyright © 2013 eXo Platform SAS. All Rights Reserved.