| Package | Description |
|---|---|
| org.wildfly.common.bytes |
Classes related to the manipulation of byte sequences.
|
| org.wildfly.common.iteration |
Classes related to iteration.
|
| Modifier and Type | Method | Description |
|---|---|---|
ByteStringBuilder |
ByteStringBuilder.appendAscii(CodePointIterator iterator) |
|
ByteStringBuilder |
ByteStringBuilder.appendLatin1(CodePointIterator iterator) |
|
ByteStringBuilder |
ByteStringBuilder.appendUtf8(CodePointIterator iterator) |
| Modifier and Type | Field | Description |
|---|---|---|
static CodePointIterator |
CodePointIterator.EMPTY |
The empty code point iterator.
|
| Modifier and Type | Method | Description |
|---|---|---|
CodePointIterator |
ByteIterator.asLatin1String() |
Get this byte iterator as a Latin-1 string.
|
CodePointIterator |
ByteIterator.asUtf8String() |
Get this byte iterator as a UTF-8 string.
|
CodePointIterator |
ByteIterator.base32Encode() |
Base32-encode the current stream.
|
CodePointIterator |
ByteIterator.base32Encode(Base32Alphabet alphabet) |
Base32-encode the current stream.
|
CodePointIterator |
ByteIterator.base32Encode(Base32Alphabet alphabet,
boolean addPadding) |
Base32-encode the current stream.
|
CodePointIterator |
ByteIterator.base64Encode() |
Base64-encode the current stream.
|
CodePointIterator |
ByteIterator.base64Encode(Base64Alphabet alphabet) |
Base64-encode the current stream.
|
CodePointIterator |
ByteIterator.base64Encode(Base64Alphabet alphabet,
boolean addPadding) |
Base64-encode the current stream.
|
CodePointIterator |
CodePointIterator.delimitedBy(int... delims) |
Get a sub-iterator that is delimited by the given code points.
|
CodePointIterator |
ByteIterator.hexEncode() |
Hex-encode the current stream.
|
CodePointIterator |
ByteIterator.hexEncode(boolean toUpperCase) |
Hex-encode the current stream.
|
CodePointIterator |
CodePointIterator.limitedTo(long size) |
Return a copy of this iterator which is limited to the given number of code points after the current one.
|
static CodePointIterator |
CodePointIterator.ofChars(char[] chars) |
Get a code point iterator for a character array.
|
static CodePointIterator |
CodePointIterator.ofChars(char[] chars,
int offs) |
Get a code point iterator for a character array.
|
static CodePointIterator |
CodePointIterator.ofChars(char[] chars,
int offs,
int len) |
Get a code point iterator for a character array.
|
static CodePointIterator |
CodePointIterator.ofLatin1Bytes(byte[] bytes) |
Get a code point iterator for a ISO-8859-1 (Latin-1) encoded array.
|
static CodePointIterator |
CodePointIterator.ofLatin1Bytes(byte[] bytes,
int offs,
int len) |
Get a code point iterator for a ISO-8859-1 (Latin-1) encoded array.
|
static CodePointIterator |
CodePointIterator.ofString(java.lang.String string) |
Get a code point iterator for a string.
|
static CodePointIterator |
CodePointIterator.ofString(java.lang.String string,
int offs,
int len) |
Get a code point iterator for a string.
|
static CodePointIterator |
CodePointIterator.ofUtf8Bytes(byte[] bytes) |
Get a code point iterator for a UTF-8 encoded byte array.
|
static CodePointIterator |
CodePointIterator.ofUtf8Bytes(byte[] bytes,
int offs,
int len) |
Get a code point iterator for a UTF-8 encoded array.
|
CodePointIterator |
CodePointIterator.skip(java.util.function.IntPredicate predicate) |
Get a sub-iterator that removes code points based on a
predicate. |
CodePointIterator |
CodePointIterator.skipAll() |
Skip all the remaining code points in this iterator.
|
CodePointIterator |
CodePointIterator.skipCrLf() |
Get a sub-iterator that removes the following code points:
10(\n) and 13(\r). |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
CodePointIterator.contentEquals(CodePointIterator other) |
Determine if the remaining contents of this iterator are identical to the remaining contents of the other iterator.
|
Copyright © 2017 JBoss, a division of Red Hat, Inc.