Package org.apache.juneau.swaps
package org.apache.juneau.swaps
Predefined Swaps
-
ClassDescriptionTransforms beans into
Strings
by simply calling theObject.toString()
method.Transforms
arrays to Strings.byte []Converts byte arrays to BASE-64 encoding.Converts byte arrays to hex encoding.Converts byte arrays to spaced-hex encoding.Wraps aTemporalAccessor
to provide default values wherever possible instead of throwing unsupported field exceptions.TransformsEnumerations
toList<Object>
objects.TransformsInputStreams
toStrings
.ConvertsInputStreams
to BASE-64 encoding.ConvertsInputStreams
to hex encoding.ConvertsInputStreams
to spaced-hex encoding.TransformsIterators
toList<Object>
objects.TransformsMatchResults
toList
objects.Transforms the contents of aReader
into anObject
.Reader transform for reading HTML text.Reader transform for reading JSON text.Reader transform for reading plain text.Reader transform for reading plain text.Reader transform for reading plain text.Reader transform for reading XML text.TransformsReaders
toStrings
.TransformsStackTraceElements
toString
objects.Built-in object swap implementation class for the@Beanp(format)
annotation.Swap that convertsCalendar
objects to and from strings.Default swap toDateTimeFormatter.BASIC_ISO_DATE
.Default swap toDateTimeFormatter.ISO_DATE
.Default swap toDateTimeFormatter.ISO_DATE_TIME
.Default swap toDateTimeFormatter.ISO_INSTANT
.Default swap toDateTimeFormatter.ISO_LOCAL_DATE
.Default swap toDateTimeFormatter.ISO_LOCAL_DATE_TIME
.Default swap toDateTimeFormatter.ISO_LOCAL_TIME
.Default swap toDateTimeFormatter.ISO_OFFSET_DATE
.Default swap toDateTimeFormatter.ISO_OFFSET_DATE_TIME
.Default swap toDateTimeFormatter.ISO_OFFSET_TIME
.Default swap toDateTimeFormatter.ISO_ORDINAL_DATE
.Default swap toDateTimeFormatter.ISO_TIME
.Default swap toDateTimeFormatter.ISO_WEEK_DATE
.Default swap toDateTimeFormatter.ISO_ZONED_DATE_TIME
.Default swap toDateTimeFormatter.RFC_1123_DATE_TIME
.Swap that convertsDate
objects to and from strings.Default swap toDateTimeFormatter.BASIC_ISO_DATE
.Default swap toDateTimeFormatter.ISO_DATE
.Default swap toDateTimeFormatter.ISO_DATE_TIME
.Default swap toDateTimeFormatter.ISO_INSTANT
.Default swap toDateTimeFormatter.ISO_LOCAL_DATE
.Default swap toDateTimeFormatter.ISO_LOCAL_DATE_TIME
.Default swap toDateTimeFormatter.ISO_LOCAL_TIME
.Default swap toDateTimeFormatter.ISO_OFFSET_DATE
.Default swap toDateTimeFormatter.ISO_OFFSET_DATE_TIME
.Default swap toDateTimeFormatter.ISO_OFFSET_TIME
.Default swap toDateTimeFormatter.ISO_ORDINAL_DATE
.Default swap toDateTimeFormatter.ISO_TIME
.Default swap toDateTimeFormatter.ISO_WEEK_DATE
.Default swap toDateTimeFormatter.ISO_ZONED_DATE_TIME
.Default swap toDateTimeFormatter.RFC_1123_DATE_TIME
.Swap that convertsTemporal
objects to strings.Default swap toDateTimeFormatter.BASIC_ISO_DATE
.Default swap toDateTimeFormatter.ISO_DATE
.Default swap toDateTimeFormatter.ISO_DATE_TIME
.Default swap toDateTimeFormatter.ISO_INSTANT
.Default swap toDateTimeFormatter.ISO_LOCAL_DATE
.Default swap toDateTimeFormatter.ISO_LOCAL_DATE_TIME
.Default swap toDateTimeFormatter.ISO_LOCAL_TIME
.Default swap toDateTimeFormatter.ISO_OFFSET_DATE
.Default swap toDateTimeFormatter.ISO_OFFSET_DATE_TIME
.Default swap toDateTimeFormatter.ISO_OFFSET_TIME
.Default swap toDateTimeFormatter.ISO_ORDINAL_DATE
.Default swap toDateTimeFormatter.ISO_TIME
.Default swap toDateTimeFormatter.ISO_WEEK_DATE
.Default swap toDateTimeFormatter.ISO_WEEK_DATE
.Default swap toDateTimeFormatter.ISO_WEEK_DATE
.Default swap toDateTimeFormatter.ISO_ZONED_DATE_TIME
.Default swap toDateTimeFormatter.RFC_1123_DATE_TIME
.TransformsXMLGregorianCalendars
to ISO8601 date-timeStrings
.