Class LtiFileUpload

java.lang.Object
org.opencastproject.lti.service.api.LtiFileUpload

public final class LtiFileUpload extends Object
A tuple consisting of a file name and the file data
  • Constructor Details

    • LtiFileUpload

      public LtiFileUpload(InputStream stream, String sourceName)
      Construct a file upload object
      Parameters:
      stream - The file data
      sourceName - The file (or source) name
  • Method Details

    • getStream

      public InputStream getStream()
      Get the file data
      Returns:
      The file data
    • getSourceName

      public String getSourceName()
      Get the source (file) name
      Returns:
      The source (file) name