Package | Description |
---|---|
org.xnio |
The main API package for XNIO.
|
Modifier and Type | Method and Description |
---|---|
ByteString |
ByteString.concat(byte[] suffixBytes) |
ByteString |
ByteString.concat(byte[] suffixBytes,
int offs,
int len) |
ByteString |
ByteString.concat(ByteString suffix) |
ByteString |
ByteString.concat(ByteString suffix,
int offs,
int len) |
ByteString |
ByteString.concat(String suffix) |
static ByteString |
ByteString.concat(String prefix,
ByteString suffix) |
ByteString |
ByteString.concat(String suffix,
int offs,
int len) |
static ByteString |
ByteString.concat(String prefix,
String suffix) |
static ByteString |
ByteString.copyOf(byte[] b,
int offs,
int len)
Create a byte string from the given array segment.
|
static ByteString |
ByteString.fromInt(int val)
Get a string version of the given value.
|
static ByteString |
ByteString.fromLong(long val)
Get a string version of the given value.
|
static ByteString |
ByteString.getBytes(ByteBuffer buffer)
Get a byte string from all remaining bytes of a ByteBuffer.
|
static ByteString |
ByteString.getBytes(ByteBuffer buffer,
int length)
Get a byte string from a ByteBuffer.
|
static ByteString |
ByteString.getBytes(String str)
Get a byte string from the bytes of the character string.
|
static ByteString |
ByteString.getBytes(String str,
Charset charset)
Get a byte string from the bytes of a character string.
|
static ByteString |
ByteString.getBytes(String str,
String charset)
Get a byte string from the bytes of a character string.
|
static ByteString |
ByteString.of(byte... bytes)
Create a byte string of the given literal bytes.
|
ByteString |
ByteString.subSequence(int start,
int end) |
ByteString |
ByteString.substring(int offs)
Get the substring of this string starting at the given offset.
|
ByteString |
ByteString.substring(int offs,
int len)
Get the substring of this string starting at the given offset.
|
Modifier and Type | Method and Description |
---|---|
int |
ByteString.compareTo(ByteString other)
Compare this string to another in a case-sensitive manner.
|
int |
ByteString.compareToIgnoreCase(ByteString other)
Compare this string to another in a case-insensitive manner.
|
ByteString |
ByteString.concat(ByteString suffix) |
ByteString |
ByteString.concat(ByteString suffix,
int offs,
int len) |
static ByteString |
ByteString.concat(String prefix,
ByteString suffix) |
boolean |
ByteString.contains(ByteString other)
Determine whether this string contains another string (case-sensitive).
|
boolean |
ByteString.containsIgnoreCase(ByteString other)
Determine whether this string contains another string (case-insensitive).
|
boolean |
ByteString.endsWith(ByteString suffix) |
boolean |
ByteString.endsWithIgnoreCase(ByteString suffix) |
boolean |
ByteString.equals(ByteString other)
Determine if this ByteString equals another ByteString.
|
boolean |
ByteString.equalsIgnoreCase(ByteString other)
Determine if this ByteString equals another ByteString, ignoring case (ASCII).
|
int |
ByteString.indexOf(ByteString other) |
int |
ByteString.indexOf(ByteString other,
int start) |
int |
ByteString.indexOfIgnoreCase(ByteString other) |
int |
ByteString.indexOfIgnoreCase(ByteString other,
int start) |
int |
ByteString.lastIndexOf(ByteString other) |
int |
ByteString.lastIndexOf(ByteString other,
int start) |
int |
ByteString.lastIndexOfIgnoreCase(ByteString other) |
int |
ByteString.lastIndexOfIgnoreCase(ByteString other,
int start) |
boolean |
ByteString.regionMatches(boolean ignoreCase,
int offset,
ByteString other,
int otherOffset,
int len) |
boolean |
ByteString.startsWith(ByteString prefix) |
boolean |
ByteString.startsWithIgnoreCase(ByteString prefix) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.