public interface IMicroDataAware extends Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
appendData(char cChar)
Append a character to the string.
|
void |
appendData(char[] aChars,
int nOfs,
int nLen)
Append characters to the string.
|
void |
appendData(CharSequence sData)
Append characters to the string.
|
CharSequence |
getData() |
void |
prependData(char cChar)
Add a character to the beginning of the current data.
|
void |
prependData(char[] aChars,
int nOfs,
int nLen)
Add characters to the beginning of the current data.
|
void |
prependData(CharSequence sData)
Add characters to the beginning of the current data.
|
void |
setData(CharSequence sData)
Change the character sequence.
|
@Nonnull CharSequence getData()
null
.void setData(@Nullable CharSequence sData)
sData - The new character sequence to be set.void appendData(@Nullable CharSequence sData)
sData - The characters to be appended.void appendData(@Nonnull char[] aChars, @Nonnegative int nOfs, @Nonnegative int nLen)
aChars - Base character array. May not be null.nOfs - Offset to start copying. Must be ≥ 0.nLen - Number of chars to take. Must be ≥ 0.void appendData(char cChar)
cChar - The character to appendvoid prependData(@Nullable CharSequence sData)
sData - The characters to be added at the front.void prependData(@Nonnull char[] aChars, @Nonnegative int nOfs, @Nonnegative int nLen)
aChars - Base character array. May not be null.nOfs - Offset to start copying. Must be ≥ 0.nLen - Number of chars to take. Must be ≥ 0.void prependData(char cChar)
cChar - The character to preprendCopyright © 2014–2021 Philip Helger. All rights reserved.