Package com.google.re2j
Class MatcherInput.Utf16MatcherInput
- java.lang.Object
-
- com.google.re2j.MatcherInput
-
- com.google.re2j.MatcherInput.Utf16MatcherInput
-
- Enclosing class:
- MatcherInput
static class MatcherInput.Utf16MatcherInput extends MatcherInput
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.re2j.MatcherInput
MatcherInput.Encoding, MatcherInput.Utf16MatcherInput, MatcherInput.Utf8MatcherInput
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.CharSequencecharSequence
-
Constructor Summary
Constructors Constructor Description Utf16MatcherInput(java.lang.CharSequence charSequence)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]asBytes()java.lang.CharSequenceasCharSequence()MatcherInput.EncodinggetEncoding()intlength()-
Methods inherited from class com.google.re2j.MatcherInput
utf16, utf8, utf8
-
-
-
-
Method Detail
-
getEncoding
public MatcherInput.Encoding getEncoding()
- Specified by:
getEncodingin classMatcherInput
-
asCharSequence
public java.lang.CharSequence asCharSequence()
- Specified by:
asCharSequencein classMatcherInput
-
asBytes
public byte[] asBytes()
- Specified by:
asBytesin classMatcherInput
-
length
public int length()
- Specified by:
lengthin classMatcherInput
-
-