Class: SpecialCharacter

SpecialCharacter()

The SpecialCharacter class represents a reserved character in webpage URLs.

Methods

getChar() → {String}

"Getter method" for getting a SpecialCharacter object's regular character.
Source:
Returns:
The plain text representation of the SpecialCharacter object'
Type
String

getCode() → {String}

"Getter method" for getting the SpecialCharacter object's percent code.
Source:
Returns:
The SpecialCharacter object's percent code.
Type
String

isEqualTo(rhs) → {Boolean}

isEqualTo compares the SpecialCharacter object's plain text representation to the incoming character and returns true if the two are the same and false otherwise.
Parameters:
Name Type Description
rhs String The incoming rhs for comparision.
Source:
Returns:
True if the same; false otherwise.
Type
Boolean