Skip to content
This repository was archived by the owner on Oct 30, 2019. It is now read-only.

CodeType

cezarmathe edited this page Jun 21, 2019 · 3 revisions

CodeType is an enum that contains different types of codes, along with their regular expression representations.

Enum values

  • PRIVATE a private Code that only has an identifier
  • PUBLIC_NO_PASSCODE a public Code that includes the identifier and the owner username
  • PUBLIC_WITH_PASSCODE a public Code that includes the identifier, the owner username along with the passcode that protects this Code

Methods

  • getRegex() get the regular expression representation of this CodeType(in String form)
  • getPattern() get the compiled Pattern for this CodeType(it can be used for matching patterns in an input String)

Clone this wiki locally