Class AbstractStringResourceStream

    • Field Detail

      • DEFAULT_CONTENT_TYPE

        public static final java.lang.String DEFAULT_CONTENT_TYPE
        The content-type applied in case the resource stream's default constructor is used
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractStringResourceStream

        public AbstractStringResourceStream()
        Constructor.
      • AbstractStringResourceStream

        public AbstractStringResourceStream​(java.lang.String contentType)
        Constructor.
        Parameters:
        contentType - The mime type of this resource, such as "image/jpeg" or "text/html"