Uses of Class
org.refcodes.serial.StringSection
-
Uses of StringSection in org.refcodes.serial
Modifier and TypeMethodDescriptionstatic StringSection
SerialSugar.stringSection()
Constructs an emptyStringSection
using theTransmissionMetrics.DEFAULT_ENCODING
encoding for the payload.static StringSection
SerialSugar.stringSection
(String aValue) Constructs aStringSection
with the givenString
payload being encoded with theTransmissionMetrics.DEFAULT_ENCODING
.static StringSection
SerialSugar.stringSection
(String aAlias, String aValue) Constructs aStringSection
with the givenString
payload being encoded with theTransmissionMetrics.DEFAULT_ENCODING
.static StringSection
SerialSugar.stringSection
(String aAlias, String aValue, Charset aCharset) static StringSection
SerialSugar.stringSection
(String aAlias, String aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static StringSection
SerialSugar.stringSection
(String aValue, Charset aCharset) static StringSection
SerialSugar.stringSection
(String aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static StringSection
SerialSugar.stringSection
(Charset aCharset) Constructs aStringSection
with a payload expected to be encoded with the givenCharset
.static StringSection
SerialSugar.stringSection
(TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.StringSection.withPayload
(String aValue)