org.sakaiproject.importer.impl
Class SakaiArchiveFileParser
java.lang.Object
org.sakaiproject.importer.impl.ZipFileParser
org.sakaiproject.importer.impl.SakaiArchiveFileParser
- All Implemented Interfaces:
- ImportFileParser
public class SakaiArchiveFileParser
- extends ZipFileParser
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
importMappings
protected Document importMappings
SakaiArchiveFileParser
public SakaiArchiveFileParser()
isValidArchive
public boolean isValidArchive(byte[] fileData)
- Specified by:
isValidArchive in interface ImportFileParser- Overrides:
isValidArchive in class ZipFileParser
awakeFromUnzip
protected void awakeFromUnzip(String unArchiveLocation)
- Specified by:
awakeFromUnzip in class ZipFileParser
newParser
public ImportFileParser newParser()
parse
public ImportDataSource parse(byte[] fileData,
String unArchiveLocation)
- Specified by:
parse in interface ImportFileParser- Overrides:
parse in class ZipFileParser
getCategoriesFromArchive
protected Collection getCategoriesFromArchive(String pathToData)
- Specified by:
getCategoriesFromArchive in class ZipFileParser
getImportableItemsFromArchive
protected Collection getImportableItemsFromArchive(String pathToData)
- Specified by:
getImportableItemsFromArchive in class ZipFileParser
Copyright © 2005-2012 Sakai Foundation. All Rights Reserved.