Class FtpConfigImpl
java.lang.Object
org.exoplatform.services.ftp.config.FtpConfigImpl
- All Implemented Interfaces:
FtpConfig
Created by The eXo Platform SAS Author : Vitaly Guly gavrik-vetal@ukr.net/mail.ru.
- Version:
- $Id: $
-
Field Summary
FieldsModifier and TypeFieldDescriptionForbidden chars.protected org.exoplatform.container.PortalContainerPortal Container.charReplace char.booleanReplace forbidden chars.static final StringAccording JCR specification JSR-170 .static final charThe all forbidden chars will replaced '_' by default.static final booleanThe replace forbidden chars is enable by default.protected booleanIs enable trace.static final String"cache-folder-name".static final String"client-side-encoding".static final String"command-port".static final String"data-max-port".static final String"data-min-port".static final String"def-file-mime-type".static final String"def-file-node-type".static final String"def-folder-node-type".static final String"download-speed-limit".static final Stringforbidden-charsstatic final Stringreplace-charstatic final Stringreplace-forbidden-charsstatic final String"system".static final String"timeout".static final String"upload-speed-limit". -
Constructor Summary
ConstructorsConstructorDescriptionFtpConfigImpl(org.exoplatform.container.ExoContainerContext context, org.exoplatform.container.xml.InitParams params) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionintintintintorg.exoplatform.container.PortalContainercharintintbooleanbooleanbooleanboolean
-
Field Details
-
INIT_PARAM_COMMAND_PORT
"command-port".- See Also:
-
INIT_PARAM_DATA_MIN_PORT
"data-min-port".- See Also:
-
INIT_PARAM_DATA_MAX_PORT
"data-max-port".- See Also:
-
INIT_PARAM_SYSTEM
"system".- See Also:
-
INIT_PARAM_CLIENT_SIDE_ENCODING
"client-side-encoding".- See Also:
-
INIT_PARAM_DEF_FOLDER_NODE_TYPE
"def-folder-node-type".- See Also:
-
INIT_PARAM_DEF_FILE_NODE_TYPE
"def-file-node-type".- See Also:
-
INIT_PARAM_DEF_FILE_MIME_TYPE
"def-file-mime-type".- See Also:
-
INIT_PARAM_CACHE_FOLDER_NAME
"cache-folder-name".- See Also:
-
INIT_PARAM_UPLOAD_SPEED_LIMIT
"upload-speed-limit".- See Also:
-
INIT_PARAM_DOWNLOAD_SPEED_LIMIT
"download-speed-limit".- See Also:
-
INIT_PARAM_REPLACE_FORBIDDEN_CHARS
replace-forbidden-chars- See Also:
-
INIT_PARAM_FORBIDDEN_CHARS
forbidden-chars- See Also:
-
INIT_PARAM_REPLACE_CHAR
replace-char- See Also:
-
INIT_PARAM_TIME_OUT
"timeout".- See Also:
-
DEFAULT_JCR_FORBIDDEN_CHARS
According JCR specification JSR-170 . See 4.6 Path Syntax: Any Unicode character except: '/', ':', '[', ']', '*', '|'- See Also:
-
DEFAULT_REPLACE_CHAR
public static final char DEFAULT_REPLACE_CHARThe all forbidden chars will replaced '_' by default.- See Also:
-
DEFAULT_REPLACE_FORBIDDEN_CHARS
public static final boolean DEFAULT_REPLACE_FORBIDDEN_CHARSThe replace forbidden chars is enable by default.- See Also:
-
_forbiddenChars
Forbidden chars. -
_replaceChar
public char _replaceCharReplace char. -
_replaceForbiddenChars
public boolean _replaceForbiddenCharsReplace forbidden chars. -
ENABLE_TRACE
protected boolean ENABLE_TRACEIs enable trace. -
_portalContainer
protected org.exoplatform.container.PortalContainer _portalContainerPortal Container.
-
-
Constructor Details
-
FtpConfigImpl
public FtpConfigImpl(org.exoplatform.container.ExoContainerContext context, org.exoplatform.container.xml.InitParams params) Constructor.- Parameters:
context-params-
-
-
Method Details
-
getCommandPort
public int getCommandPort()- Specified by:
getCommandPortin interfaceFtpConfig
-
getDataMinPort
public int getDataMinPort()- Specified by:
getDataMinPortin interfaceFtpConfig
-
getDataMaxPort
public int getDataMaxPort()- Specified by:
getDataMaxPortin interfaceFtpConfig
-
getSystemType
- Specified by:
getSystemTypein interfaceFtpConfig
-
getClientSideEncoding
- Specified by:
getClientSideEncodingin interfaceFtpConfig
-
getDefFolderNodeType
- Specified by:
getDefFolderNodeTypein interfaceFtpConfig
-
getDefFileNodeType
- Specified by:
getDefFileNodeTypein interfaceFtpConfig
-
getDefFileMimeType
- Specified by:
getDefFileMimeTypein interfaceFtpConfig
-
getCacheFolderName
- Specified by:
getCacheFolderNamein interfaceFtpConfig
-
isNeedSlowUpLoad
public boolean isNeedSlowUpLoad()- Specified by:
isNeedSlowUpLoadin interfaceFtpConfig
-
getUpLoadSpeed
public int getUpLoadSpeed()- Specified by:
getUpLoadSpeedin interfaceFtpConfig
-
isNeedSlowDownLoad
public boolean isNeedSlowDownLoad()- Specified by:
isNeedSlowDownLoadin interfaceFtpConfig
-
getDownLoadSpeed
public int getDownLoadSpeed()- Specified by:
getDownLoadSpeedin interfaceFtpConfig
-
isNeedTimeOut
public boolean isNeedTimeOut()- Specified by:
isNeedTimeOutin interfaceFtpConfig
-
getTimeOut
public int getTimeOut()- Specified by:
getTimeOutin interfaceFtpConfig
-
getPortalContainer
public org.exoplatform.container.PortalContainer getPortalContainer()- Specified by:
getPortalContainerin interfaceFtpConfig
-
getForbiddenChars
- Specified by:
getForbiddenCharsin interfaceFtpConfig
-
getReplaceChar
public char getReplaceChar()- Specified by:
getReplaceCharin interfaceFtpConfig
-
isReplaceForbiddenChars
public boolean isReplaceForbiddenChars()- Specified by:
isReplaceForbiddenCharsin interfaceFtpConfig
-