io.atlasmap.converters.StringConverter.class Maven / Gradle / Ivy
Go to download
A single aggregated bundle which contains all AtlasMap library artifacts including modules.
???? 4?
? ?
? ? ? ? ?
Z ?
? ?
? ?
Z ? ?
? a ?
?
? ? ? ?
? ?
? ?
? ? ? ? ?
?
?
? ?
?
? ?
? ?
Z ? ?
Z ? ? ?? ?
%
4
4
4?
???????
=
= ??
C
C? ???
?
M
M ?
!???????"
#
W$
W%&'
()
Z ?
Z*+
Z,
-./0 TRUE_PATTERN Ljava/util/regex/Pattern; ()V Code LineNumberTable LocalVariableTable this (Lio/atlasmap/converters/StringConverter; toBigDecimal *(Ljava/lang/String;)Ljava/math/BigDecimal; e !Ljava/lang/NumberFormatException; value Ljava/lang/String;
StackMapTable ? ?
Exceptions RuntimeVisibleAnnotations %Lio/atlasmap/spi/AtlasConversionInfo;
sourceType Lio/atlasmap/v2/FieldType; STRING
targetType DECIMAL concerns (Lio/atlasmap/spi/AtlasConversionConcern; FORMAT toBigInteger *(Ljava/lang/String;)Ljava/math/BigInteger; ? BIG_INTEGER toBoolean K(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Boolean; pattern n Ljava/lang/Number; Ljava/text/ParseException; sourceFormat targetFormat ?1/) ? BOOLEAN
CONVENTION toByte $(Ljava/lang/String;)Ljava/lang/Byte; bd Ljava/math/BigDecimal; nfe2 nfex BYTE RANGE FRACTIONAL_PART toCharacter )(Ljava/lang/String;)Ljava/lang/Character; CHAR toDate H(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Date; date formater $Ljava/time/format/DateTimeFormatter;2 DATE_TIME toDouble &(Ljava/lang/String;)Ljava/lang/Double; nfe DOUBLE toFloat %(Ljava/lang/String;)Ljava/lang/Float; FLOAT toInteger '(Ljava/lang/String;)Ljava/lang/Integer; i Ljava/lang/Integer; INTEGER toLocalDate )(Ljava/lang/String;)Ljava/time/LocalDate;3 DATE toLocalTime )(Ljava/lang/String;)Ljava/time/LocalTime;4 TIME toLocalDateTime -(Ljava/lang/String;)Ljava/time/LocalDateTime;5 toLong $(Ljava/lang/String;)Ljava/lang/Long; l Ljava/lang/Long; LONG toShort %(Ljava/lang/String;)Ljava/lang/Short; shortty Ljava/lang/Short;& SHORT toString J(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; toNumber &(Ljava/lang/String;)Ljava/lang/Number; NUMBER toZonedDateTime -(Ljava/lang/String;)Ljava/time/ZonedDateTime;6 DATE_TIME_TZ Signature FLjava/lang/Object;Lio/atlasmap/spi/AtlasConverter;
SourceFile StringConverter.java e f java/math/BigDecimal e7 java/lang/NumberFormatException (io/atlasmap/api/AtlasConversionException MString %s cannont be converted to a BigDecimal as it is not in a valid format java/lang/Object89 java/math/BigInteger MString %s cannont be converted to a BigInteger as it is not in a valid format:; java/util/regex/Pattern<= c d>?@A;BCDEFGH ?1IJKD java/text/ParseExceptionLMNOPQ java/lang/Byte eRST EString %s is greater than Byte.MAX_VALUE or less than Byte.MIN_VALUEUV KString %s cannont be converted to a Byte as it is not in a numerical formatWJ >String '%s' is either empty or greater than one character longXY java/lang/Character OString %s is greater than Character.MAX_VALUE or less than Character.MIN_VALUEPZ2[\] ?6H^_`abcde efP ?gh java/lang/Double IString %s is greater than Double.MAX_VALUE or less than Double.MIN_VALUEijklP ? java/lang/Float GString %s is greater than Float.MAX_VALUE or less than Float.MIN_VALUEmnPo java/lang/Integer KString %s is greater than Integer.MAX_VALUE or less than Integer.MIN_VALUE3Hp4Hq5HrstPu java/lang/Long ev EString %s is greater than Long.MAX_VALUE or less than Long.MIN_VALUEwxyzP{ java/lang/Short GString %s is greater than Short.MAX_VALUE or less than Short.MIN_VALUE|} java/lang/String~M \d+AH? true|t|yes|y &io/atlasmap/converters/StringConverter io/atlasmap/spi/AtlasConverter java/lang/Number "java/time/format/DateTimeFormatter java/time/LocalDate java/time/LocalTime java/time/LocalDateTime java/time/ZonedDateTime (Ljava/lang/String;)V format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; isEmpty ()Z compile .(Ljava/lang/String;I)Ljava/util/regex/Pattern; matcher 3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; java/util/regex/Matcher matches java/lang/Boolean TRUE Ljava/lang/Boolean; java/text/NumberFormat getInstance ()Ljava/text/NumberFormat; parse intValue ()I FALSE
getMessage ()Ljava/lang/String; parseByte (Ljava/lang/String;)B valueOf (B)Ljava/lang/Byte; (I)V compareTo (Ljava/math/BigDecimal;)I byteValue ()B length charAt (I)C (C)Ljava/lang/Character; ofPattern 8(Ljava/lang/String;)Ljava/time/format/DateTimeFormatter; ISO_ZONED_DATE_TIME W(Ljava/lang/CharSequence;Ljava/time/format/DateTimeFormatter;)Ljava/time/ZonedDateTime; toInstant ()Ljava/time/Instant; java/util/Date from %(Ljava/time/Instant;)Ljava/util/Date; parseDouble (Ljava/lang/String;)D (Ljava/lang/Throwable;)V doubleValue ()D
parseFloat (Ljava/lang/String;)F
floatValue ()F parseInt (Ljava/lang/String;)I (I)Ljava/lang/Integer; /(Ljava/lang/CharSequence;)Ljava/time/LocalDate; /(Ljava/lang/CharSequence;)Ljava/time/LocalTime; 3(Ljava/lang/CharSequence;)Ljava/time/LocalDateTime; parseLong (Ljava/lang/String;)J (J)Ljava/lang/Long; (J)V longValue ()J
parseShort (Ljava/lang/String;)S (S)Ljava/lang/Short;
shortValue ()S trim (Ljava/lang/String;)Z 3(Ljava/lang/CharSequence;)Ljava/time/ZonedDateTime; ! a b c d e f g / *? ? h $ i j k l m g ? '+? ? Y+? ? ?M? Y? Y+S? ? ? h , - . / i n o ' j k ' p q r @ s@ t u v w xe y z {e y | }[ e ~ ? ? g ? '+? ?
Y+? ? ?M? Y? Y+S? ? ? h 7 8 9 : i n o ' j k ' p q r @ ?@ t u v w xe y z {e y ? }[ e ~ ? ? g 9 U+? ?,? ,?
?
,? :? ? :+? ? ? ? ?? +? :? ? ? ?? ?:? W? ? 0 D I E H I h : @ A F G I K , L 0 Q 9 R A S E U I V K W Q [ i R ? d 9 ? ? K n ? U j k U p q U ? q U ? q 5 ? d r * ? ?? ?? ? ? ? ? ? ? v w xe y z {e y ? }[ e ~ ? ? ? g ' k+? ?+? ? ?M? Y+? N-? Y?? ? ? -? Y? ? ? ? Y? Y+S? ? ?-? ? ?N? Y!? Y+S? ? ?
T U h 6
a b e f h i 2 j 8 k F l M n U o V p d q i 4 = ? ? V ? o \ ? o k j k k p q r $ G t? ) t s? ? ? t t u v ( w xe y z {e y ? }[ e ~ ?e ~ e ~ ? ? ? g ? Z+? ?+?
? +? "? ? Y#? Y+S? ? ?+? $?
+? $&? ? Y'? Y+S? ? ?+? $? (? h &