DescriptorBean
, SettableBean
, StandardInterface
public interface ImportMBean extends StandardInterface, DescriptorBean
Modifier and Type | Method | Description |
---|---|---|
java.lang.String[] |
getSupportedImportConstraints() |
Returns the list of import constraints that this provider supports.
|
java.lang.String[] |
getSupportedImportFormats() |
Returns the list of import data formats that this provider supports.
|
void |
importData(java.lang.String format,
java.lang.String filename,
java.util.Properties constraints) |
Imports provider specific data from a specified format.
|
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
getName
java.lang.String[] getSupportedImportFormats()
java.lang.String[] getSupportedImportConstraints()
void importData(java.lang.String format, java.lang.String filename, java.util.Properties constraints) throws InvalidParameterException, ErrorCollectionException
java.lang.Exceptions
,
where the text of each exception describes the error.format
- - The format for importing provider specific data.filename
- - The full path to the filename used to read data.constraints
- - The constraints to be used when importing data.
A null value indicates that all data will be imported.InvalidParameterException
ErrorCollectionException