commonj.connector.metadata.discovery.properties.extensions
Interface MultiFileProperty

All Superinterfaces:
Cloneable, MultiValuedProperty, Property, PropertyDescriptor, SingleTypedProperty

public interface MultiFileProperty
extends MultiValuedProperty

A property interface for browsing or selecting multiple files. The representation is java.io.File.

Since:
1.1

Field Summary
 
Fields inherited from interface commonj.connector.metadata.discovery.properties.MultiValuedProperty
MULTI_SELECT, SINGLE_SELECT
 
Method Summary
 String[] getFileExtensions()
          Represents the file extensions to perform filtering of files.
 boolean mustExist()
          Denotes whether all the files must exist or not.
 
Methods inherited from interface commonj.connector.metadata.discovery.properties.MultiValuedProperty
addValue, addValue, addValueAsString, addValueAsString, allowDuplicateValues, get, getSelectionStyle, getValues, getValuesAsStrings, removeValue, removeValue, removeValueAsString, setSelection
 
Methods inherited from interface commonj.connector.metadata.discovery.properties.SingleTypedProperty
getPropertyType
 
Methods inherited from interface commonj.connector.metadata.discovery.properties.Property
getValidationMessage, isSet, isValid, unSet
 
Methods inherited from interface commonj.connector.metadata.discovery.properties.PropertyDescriptor
addPropertyChangeListener, clone, getDescription, getDisplayName, getID, getName, isEnabled, removePropertyChangeListener
 

Method Detail

getFileExtensions

String[] getFileExtensions()
Represents the file extensions to perform filtering of files.

Returns:
an array of file extensions filter or null if there are no filters.

mustExist

boolean mustExist()
Denotes whether all the files must exist or not. If all the files must exist on the file system, return true. Otherwise, return false .

Returns:
true if all the files must exist, false otherwise