Package snap.util

Class KeyChainParser

java.lang.Object
snap.parse.Parser
snap.util.KeyChainParser

public class KeyChainParser extends Parser
A Parser subclass to parse strings to KeyChains.
  • Constructor Details

    • KeyChainParser

      public KeyChainParser()
  • Method Details

    • keyChain

      public KeyChain keyChain(String aString)
      Returns a KeyChain for given string.
    • getError

      public String getError()
      Returns the error from last key chain parse.
    • getAndResetError

      public String getAndResetError()
      Returns the error from last KeyChain parse and clears error.
    • initRule

      protected void initRule()
      Load rule from rule file and install handlers.
      Overrides:
      initRule in class Parser