Interface CSSStyleSheets


public interface CSSStyleSheets
A service that acts as a read only store of CSS style sheets.
Author:
Per-Erik
  • Method Details

    • getStyleSheetInfo

      Set<CSSStyleSheets.StyleSheetInfo> getStyleSheetInfo()
      Returns a set of objects containing information about a style sheet. The set represents all style sheets this service knows about.
      Returns:
      A set of style sheet descriptions.
    • getStyleSheet

      Optional<String> getStyleSheet(long styleSheetID)
      Returns the CSS string for the specified style sheet or empty if the style sheet cannot be found or no longer exists.
      Parameters:
      styleSheetID - The id of the style sheet as gotten from a style sheet info retrieved from getStyleSheetInfo().
      Returns:
      a CSS string.