public final class ECIStringBuilder extends Object
Constructor and Description |
---|
ECIStringBuilder() |
ECIStringBuilder(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
void |
append(byte value)
Appends
value as a byte value (not its string representation) |
void |
append(char value)
Appends
value as a byte value |
void |
append(int value)
Append the string repesentation of
value (short for append(String.valueOf(value)) ) |
void |
append(String value)
Appends the characters in
value as bytes values |
void |
appendCharacters(StringBuilder value)
Appends the characters from
value (unlike all other append methods of this class who append bytes) |
void |
appendECI(int value) |
boolean |
isEmpty() |
int |
length()
Short for
toString().length() (if possible, use isEmpty() instead) |
String |
toString() |
public ECIStringBuilder()
public ECIStringBuilder(int initialCapacity)
public void append(char value)
value
as a byte valuepublic void append(byte value)
value
as a byte value (not its string representation)public void append(String value)
value
as bytes valuespublic void append(int value)
value
(short for append(String.valueOf(value))
)public void appendECI(int value) throws FormatException
FormatException
public void appendCharacters(StringBuilder value)
value
(unlike all other append methods of this class who append bytes)public int length()
toString().length()
(if possible, use isEmpty()
instead)public boolean isEmpty()
Copyright © 2007–2022. All rights reserved.