Package org.apache.juneau.swaps
package org.apache.juneau.swaps
Predefined Swaps
-
ClassesClassDescriptionTransforms beans into
Stringsby simply calling theObject.toString()method.Transformsarrays to Strings.byte []Converts byte arrays to BASE-64 encoding.Converts byte arrays to hex encoding.Converts byte arrays to spaced-hex encoding.Wraps aTemporalAccessorto provide default values wherever possible instead of throwing unsupported field exceptions.TransformsEnumerationstoList<Object>objects.TransformsInputStreamstoStrings.ConvertsInputStreamsto BASE-64 encoding.ConvertsInputStreamsto hex encoding.ConvertsInputStreamsto spaced-hex encoding.TransformsIteratorstoList<Object>objects.TransformsMatchResultstoListobjects.Transforms the contents of aReaderinto 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.TransformsReaderstoStrings.TransformsStackTraceElementstoStringobjects.Built-in object swap implementation class for the@Beanp(format)annotation.Swap that convertsCalendarobjects 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 convertsDateobjects 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 convertsTemporalobjects 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.TransformsXMLGregorianCalendarsto ISO8601 date-timeStrings.