Scanner
Scanner scans a resource name.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Scanner(
name):Scanner
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Scanner
Methods
Section titled “Methods”end():
number
End returns the end index (exclusive) of the current segment.
Returns
Section titled “Returns”number
full()
Section titled “full()”full():
boolean
Full returns true if the scanner has detected a full resource name.
Returns
Section titled “Returns”boolean
scan()
Section titled “scan()”scan():
boolean
Scan to the next segment.
Returns
Section titled “Returns”boolean
segment()
Section titled “segment()”segment():
Segment
Segment returns the current segment.
Returns
Section titled “Returns”serviceName()
Section titled “serviceName()”serviceName():
string
ServiceName returns the service name, when the scanner has detected a full resource name.
Returns
Section titled “Returns”string
start()
Section titled “start()”start():
number
Start returns the start index (inclusive) of the current segment.
Returns
Section titled “Returns”number