Interface ContentObject


public interface ContentObject
Author:
Frederik Heremans
  • Method Details

    • getId

      String getId()
      Returns:
      a unique identifier for this instance.
    • getContentLength

      long getContentLength()
      Returns:
      the size of the content, in bytes.
    • getContent

      InputStream getContent()
      Returns:
      the inputstream to read the content from. Multiple calls to this method on the same instance should return the same InputStream instance. Caller should close the inputstream after usage to prevent resources leaking.