Package org.sakaiproject.importer.impl
Class Blackboard6FileParser
- java.lang.Object
-
- org.sakaiproject.importer.impl.ZipFileParser
-
- org.sakaiproject.importer.impl.IMSFileParser
-
- org.sakaiproject.importer.impl.Blackboard6FileParser
-
- All Implemented Interfaces:
org.sakaiproject.importer.api.ImportFileParser
public class Blackboard6FileParser extends org.sakaiproject.importer.impl.IMSFileParser
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classBlackboard6FileParser.Bb6FileHelperprotected classBlackboard6FileParser.Bb6ItemHelperprotected classBlackboard6FileParser.Bb6ManifestHelperprotected classBlackboard6FileParser.Bb6ResourceHelper-
Nested classes/interfaces inherited from class org.sakaiproject.importer.impl.IMSFileParser
org.sakaiproject.importer.impl.IMSFileParser.FileHelper, org.sakaiproject.importer.impl.IMSFileParser.ItemHelper, org.sakaiproject.importer.impl.IMSFileParser.ManifestHelper, org.sakaiproject.importer.impl.IMSFileParser.ResourceHelper
-
-
Field Summary
Fields Modifier and Type Field Description static StringANNOUNCEMENT_GROUPstatic StringASSESSMENT_FILES_DIRECTORYstatic StringASSESSMENT_GROUP
-
Constructor Summary
Constructors Constructor Description Blackboard6FileParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CollectiongetCategoriesFromArchive(String pathToData)protected org.sakaiproject.importer.api.ImportablegetCompanionForCompoundDocument(Document resourceDescriptor, org.sakaiproject.importer.impl.importables.Folder folder)protected booleanisCompoundDocument(Node node, Document resourceDescriptor)booleanisValidArchive(InputStream fileData)org.sakaiproject.importer.api.ImportFileParsernewParser()protected booleanwantsCompanionForCompoundDocument()-
Methods inherited from class org.sakaiproject.importer.impl.IMSFileParser
addResourceTranslator, awakeFromUnzip, getDescriptionForNode, getImportableItemsFromArchive, getTitleForNode, setTranslatorMap, translateFromNodeToImportables
-
-
-
-
Field Detail
-
ASSESSMENT_GROUP
public static final String ASSESSMENT_GROUP
- See Also:
- Constant Field Values
-
ANNOUNCEMENT_GROUP
public static final String ANNOUNCEMENT_GROUP
- See Also:
- Constant Field Values
-
ASSESSMENT_FILES_DIRECTORY
public static final String ASSESSMENT_FILES_DIRECTORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
isValidArchive
public boolean isValidArchive(InputStream fileData)
- Specified by:
isValidArchivein interfaceorg.sakaiproject.importer.api.ImportFileParser- Overrides:
isValidArchivein classorg.sakaiproject.importer.impl.IMSFileParser
-
isCompoundDocument
protected boolean isCompoundDocument(Node node, Document resourceDescriptor)
- Specified by:
isCompoundDocumentin classorg.sakaiproject.importer.impl.IMSFileParser
-
getCompanionForCompoundDocument
protected org.sakaiproject.importer.api.Importable getCompanionForCompoundDocument(Document resourceDescriptor, org.sakaiproject.importer.impl.importables.Folder folder)
- Specified by:
getCompanionForCompoundDocumentin classorg.sakaiproject.importer.impl.IMSFileParser
-
wantsCompanionForCompoundDocument
protected boolean wantsCompanionForCompoundDocument()
- Specified by:
wantsCompanionForCompoundDocumentin classorg.sakaiproject.importer.impl.IMSFileParser
-
getCategoriesFromArchive
protected Collection getCategoriesFromArchive(String pathToData)
- Specified by:
getCategoriesFromArchivein classorg.sakaiproject.importer.impl.IMSFileParser
-
newParser
public org.sakaiproject.importer.api.ImportFileParser newParser()
-
-