Package org.sakaiproject.importer.impl
Class IMSFileParser.FileHelper
- java.lang.Object
-
- org.sakaiproject.importer.impl.IMSFileParser.FileHelper
-
- All Implemented Interfaces:
ManifestFile
- Enclosing class:
- IMSFileParser
protected abstract class IMSFileParser.FileHelper extends Object implements ManifestFile
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFileHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getFileBytesForNode(Node node, String contextPath)StringgetFilenameForNode(Node node)StringgetFilePathForNode(Node node, String contextPath)InputStreamgetInputStreamForNode(Node node, String contextPath)StringgetTitle(Node fileNode)
-
-
-
Method Detail
-
getFileBytesForNode
public byte[] getFileBytesForNode(Node node, String contextPath) throws IOException
- Specified by:
getFileBytesForNodein interfaceManifestFile- Throws:
IOException
-
getInputStreamForNode
public InputStream getInputStreamForNode(Node node, String contextPath) throws IOException
- Specified by:
getInputStreamForNodein interfaceManifestFile- Throws:
IOException
-
getFilePathForNode
public String getFilePathForNode(Node node, String contextPath)
- Specified by:
getFilePathForNodein interfaceManifestFile
-
getTitle
public String getTitle(Node fileNode)
- Specified by:
getTitlein interfaceManifestFile
-
getFilenameForNode
public String getFilenameForNode(Node node)
- Specified by:
getFilenameForNodein interfaceManifestFile
-
-