feat2.config
クラス FileConfig
java.lang.Object
feat2.config.Config
feat2.config.ResponseConfigBase
feat2.config.FileConfig
- すべての実装インタフェース:
- DIComponentConfig, ValidatableComponentConfig
- public class FileConfig
- extends ResponseConfigBase
- implements DIComponentConfig, ValidatableComponentConfig
ファイルダウンロードの設定。
- 作成者:
- SUGIMOTO Ken-ichi
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileConfig
public FileConfig()
getClassName
public JavaIdentifier getClassName()
setClassName
public void setClassName(JavaIdentifier className)
getFilename
public java.lang.String getFilename()
setFilename
public void setFilename(java.lang.String filename)
getContentType
public java.lang.String getContentType()
setContentType
public void setContentType(java.lang.String mimeType)
getErrorResponse
public Identifier getErrorResponse()
- 定義:
- インタフェース
ValidatableComponentConfig 内の getErrorResponse
setErrorResponse
public void setErrorResponse(Identifier errorResponse)
addInput
public void addInput(InputConfigBase input)
- 定義:
- インタフェース
DIComponentConfig 内の addInput
getInputs
public InputConfigBase[] getInputs()
- 定義:
- インタフェース
DIComponentConfig 内の getInputs
getInputConfig
public InputConfigBase getInputConfig(java.lang.String propertyName)
- 定義:
- インタフェース
DIComponentConfig 内の getInputConfig
addValidation
public void addValidation(ValidationConfig validation)
- 定義:
- インタフェース
ValidatableComponentConfig 内の addValidation
getValidations
public ValidationConfig[] getValidations()
- 定義:
- インタフェース
ValidatableComponentConfig 内の getValidations
getValidationConfig
public ValidationConfig getValidationConfig(java.lang.String name)
- 定義:
- インタフェース
ValidatableComponentConfig 内の getValidationConfig
getPropertyNameId
public java.lang.String getPropertyNameId(java.lang.String propertyName)
- インタフェース
ValidatableComponentConfig の記述:
- プロパティの表示名のリソースIDを返す。
- 定義:
- インタフェース
ValidatableComponentConfig 内の getPropertyNameId
- パラメータ:
propertyName -
- 戻り値:
getResponseInstance
public Response getResponseInstance()
- 定義:
- クラス
ResponseConfigBase 内の getResponseInstance
getElementName
public java.lang.String getElementName()
- クラス
Config の記述:
- 設定ファイルの要素名を返す。
- 定義:
- クラス
Config 内の getElementName
validate
public boolean validate(FeatErrors errs)
- オーバーライド:
- クラス
ResponseConfigBase 内の validate