| org.sakaiproject.importer.api.ImportService
All known Subclasses: org.sakaiproject.importer.impl.BasicImportService,
ImportService | public interface ImportService (Code) | | The ImportService provides a top level framework to handled import data collected from
a content package or other archive.
|
Method Summary | |
void | doImportItems(Collection importables, String siteId) | boolean | isValidArchive(byte[] archiveFileData) Check the validity of the file data passed.
Parameters: archiveFileData - is a byte array of data gathered from an archive file or package. | ImportDataSource | parseFromFile(byte[] archiveFileData) Parse the archive file data and create an Import Data Source object containing the results.
Parameters: archiveFileData - is a byte array of data gathered from an archive file or package. |
doImportItems | void doImportItems(Collection importables, String siteId)(Code) | | doImportItems
Parameters: importable - a collection of things to import (?) Parameters: siteId - is the the id of the site to import to. |
isValidArchive | boolean isValidArchive(byte[] archiveFileData)(Code) | | Check the validity of the file data passed.
Parameters: archiveFileData - is a byte array of data gathered from an archive file or package. true if file data is valid. |
parseFromFile | ImportDataSource parseFromFile(byte[] archiveFileData)(Code) | | Parse the archive file data and create an Import Data Source object containing the results.
Parameters: archiveFileData - is a byte array of data gathered from an archive file or package. ImportDataSource containing parsing results. |
|
|