Class PostScriptParser

java.lang.Object
org.openpdf.renderer.function.postscript.PostScriptParser

public class PostScriptParser extends Object
Very simple post script parser / tokenizer
Since:
22.10.2010
  • Constructor Details

    • PostScriptParser

      public PostScriptParser()
      Constructor
  • Method Details

    • parse

      public List<String> parse(String scriptContent)
      Parses the given script and returns a list of tokens.
      Parameters:
      scriptContent - to parse.
      Returns:
      the list of tokens.
    • filterBlockEnd

      private String filterBlockEnd(String t)
      Parameters:
      t -
      Returns:
    • filterBlockStart

      private String filterBlockStart(String t)
      Parameters:
      t -
      Returns: