java.lang.Object
com.atlassian.plugin.webresource.impl.support.ContentImpl
All Implemented Interfaces:
Content

public abstract class ContentImpl extends Object implements Content
Helper to simplify implementation of Content class.
Since:
3.3
  • Constructor Details

    • ContentImpl

      public ContentImpl(String contentType, boolean isTransformed)
  • Method Details

    • getContentType

      public String getContentType()
      Description copied from interface: Content
      Returns the content type for the resource. May return null if it cannot resolve its own content type.
      Specified by:
      getContentType in interface Content
    • isTransformed

      public boolean isTransformed()
      Specified by:
      isTransformed in interface Content
      Returns:
      if content has been transformed.