org.archiviststoolkit.importer
Class AccessionImportXmlHandler
java.lang.Object
org.archiviststoolkit.importer.ImportHandler
org.archiviststoolkit.importer.AccessionImportXmlHandler
- All Implemented Interfaces:
- java.lang.Runnable
public class AccessionImportXmlHandler
- extends ImportHandler
Imports Contact domain objects from CSV files.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE_CREATION_NONE
public static final java.lang.String RESOURCE_CREATION_NONE
- See Also:
- Constant Field Values
RESOURCE_CREATION_STUB
public static final java.lang.String RESOURCE_CREATION_STUB
- See Also:
- Constant Field Values
RESOURCE_CREATION_FULL
public static final java.lang.String RESOURCE_CREATION_FULL
- See Also:
- Constant Field Values
AccessionImportXmlHandler
public AccessionImportXmlHandler(ImportOptionsAccessions importOptions)
- Constructor.
- Parameters:
importOptions - - the import options panel
canImportFile
public boolean canImportFile(java.io.File file)
- Can this file be imported.
- Specified by:
canImportFile in class ImportHandler
- Parameters:
file - the file to import.
- Returns:
- yes or no
importFile
public boolean importFile(java.io.File importFile,
DomainImportController controller,
InfiniteProgressPanel progressPanel)
throws ImportException
- Import the file.
- Specified by:
importFile in class ImportHandler
- Parameters:
importFile - the file to import.controller - the controller to use.progressPanel - - the progress panel to display heartbeat messages
- Returns:
- if we succeded
- Throws:
ImportException
getResourceRecordCreationValues
public static java.util.Vector<java.lang.String> getResourceRecordCreationValues()