org.sakaiproject.importer.impl
Class IMSFileParser.FileHelper

java.lang.Object
  extended by org.sakaiproject.importer.impl.IMSFileParser.FileHelper
All Implemented Interfaces:
ManifestFile
Enclosing class:
IMSFileParser

protected abstract class IMSFileParser.FileHelper
extends Object
implements ManifestFile


Constructor Summary
protected IMSFileParser.FileHelper()
           
 
Method Summary
 byte[] getFileBytesForNode(Node node, String contextPath)
           
 String getFilenameForNode(Node node)
           
 String getFilePathForNode(Node node, String contextPath)
           
 String getTitle(Node fileNode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IMSFileParser.FileHelper

protected IMSFileParser.FileHelper()
Method Detail

getFileBytesForNode

public byte[] getFileBytesForNode(Node node,
                                  String contextPath)
                           throws IOException
Specified by:
getFileBytesForNode in interface ManifestFile
Throws:
IOException

getFilePathForNode

public String getFilePathForNode(Node node,
                                 String contextPath)
Specified by:
getFilePathForNode in interface ManifestFile

getTitle

public String getTitle(Node fileNode)
Specified by:
getTitle in interface ManifestFile

getFilenameForNode

public String getFilenameForNode(Node node)
Specified by:
getFilenameForNode in interface ManifestFile


Copyright © 2005-2012 Sakai Foundation. All Rights Reserved.