com.izforge.izpack.panels.userinput.field.file
Interface FileFieldConfig

All Superinterfaces:
FieldConfig
All Known Subinterfaces:
DirFieldConfig, MultipleFileFieldConfig
All Known Implementing Classes:
AbstractFileFieldReader, DirFieldReader, FileFieldReader, MultipleFileFieldReader

public interface FileFieldConfig
extends FieldConfig

File field configuration.

Author:
Tim Anderson

Method Summary
 boolean getAllowEmptyValue()
          Determines if empty input values are allowed.
 String getFileExtension()
          Returns the file extension.
 String getFileExtensionDescription()
          Returns the file extension description.
 boolean mustExist()
          Determine if the file must exist.
 
Methods inherited from interface com.izforge.izpack.panels.userinput.field.FieldConfig
getCondition, getDefaultValue, getDescription, getDisplayHiddenCondition, getInitialValue, getLabel, getOmitFromAuto, getOsModels, getPacks, getProcessors, getReadonlyCondition, getSize, getSummaryKey, getTooltip, getValidators, getValidators, getVariable, isDisplayHidden, isReadonly
 

Method Detail

getFileExtension

String getFileExtension()
Returns the file extension.

Returns:
the file extension. May be null

getFileExtensionDescription

String getFileExtensionDescription()
Returns the file extension description.

Returns:
the file extension description. May be null

getAllowEmptyValue

boolean getAllowEmptyValue()
Determines if empty input values are allowed.

Returns:
true if empty input values are allowed

mustExist

boolean mustExist()
Determine if the file must exist.

Returns:
@return true if file must exist


Copyright © 2018. All rights reserved.