io.atlasmap.core.AtlasUtil.class Maven / Gradle / Ivy
Go to download
A single aggregated bundle which contains all AtlasMap library artifacts including modules.
???? 4
D?
???
?
?
???
?
??
?
7?
??
???
??
??
?
?
7??
7??
??
7??
??
??
"????
7?????
7??????
,?
??
??? 7?????????????
???
?
?
7????
?
B??
??
?
7??
??
K?
K?
7???
7???
??
7????
V?
V?
V?
V?
V?
V?
V?
??
??
??
??
7??? ?? ?
?
v
!"
#?
#$
%
K
K&'
(
)
!*+
?,-./
???012
?3
?4
K5
?6
?7
?8
9&
9
!:;
??
??<
??
?
=>?
@AB
CDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`
Ka
7b
Kcd?
Ke
Kfg
?6
?h
ij
i?
vk
lmn InnerClasses SPLIT_LIMIT I
ConstantValue NEW_LINE_CHARS Ljava/lang/String;o LOG Lorg/slf4j/Logger; ()V Code LineNumberTable LocalVariableTable this Lio/atlasmap/core/AtlasUtil; loadPropertiesFromURL &(Ljava/net/URL;)Ljava/util/Properties; prop Ljava/util/Properties; is Ljava/io/InputStream; url Ljava/net/URL;
StackMapTablepq??
Exceptionsr isEmpty (Ljava/lang/String;)Z string matchUriModule '(Ljava/lang/String;Ljava/lang/String;)Z uriA uriB validateUri (Ljava/lang/String;)V atlasUri getUriPartsAsArray $(Ljava/lang/String;)Ljava/util/List; pass1 [Ljava/lang/String; parts Ljava/util/List; LocalVariableTypeTable $Ljava/util/List; ?s Signature 8(Ljava/lang/String;)Ljava/util/List; getUriScheme &(Ljava/lang/String;)Ljava/lang/String; getUriModule getUriDataType getUriModuleVersion getUriParameterValue 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; key params Ljava/util/Map; 5Ljava/util/Map;t getUriParameters #(Ljava/lang/String;)Ljava/util/Map; e &Ljava/io/UnsupportedEncodingException; cfgs i allParams configs?? I(Ljava/lang/String;)Ljava/util/Map; countCharacters (Ljava/lang/String;C)I text match C count findClassesForPackage file Ljava/io/File; scannedPackage scannedPath
scannedUrl scannedFd classes &Ljava/util/List;>;?? :(Ljava/lang/String;)Ljava/util/List;>; addAudit ?(Lio/atlasmap/api/AtlasSession;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/atlasmap/v2/AuditStatus;Ljava/lang/String;)V session Lio/atlasmap/api/AtlasSession; docId message path status Lio/atlasmap/v2/AuditStatus; value docName createAudit ?(Lio/atlasmap/v2/AuditStatus;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lio/atlasmap/v2/Audit; audit Lio/atlasmap/v2/Audit; <(Lio/atlasmap/api/AtlasSession;Lio/atlasmap/v2/Validation;)V
validation Lio/atlasmap/v2/Validation; addAudits K(Lio/atlasmap/spi/AtlasInternalSession;Ljava/lang/String;Ljava/util/List;)V &Lio/atlasmap/spi/AtlasInternalSession; audits (Ljava/util/List;u c(Lio/atlasmap/spi/AtlasInternalSession;Ljava/lang/String;Ljava/util/List;)V
toAuditStatus ?(Lio/atlasmap/v2/ValidationStatus;)Lio/atlasmap/v2/AuditStatus; vstatus !Lio/atlasmap/v2/ValidationStatus; getDocumentNameById C(Lio/atlasmap/v2/AtlasMapping;Ljava/lang/String;)Ljava/lang/String; mapping Lio/atlasmap/v2/AtlasMapping; found Ljava/util/Optional; 1Ljava/util/Optional;v getResource "(Ljava/lang/String;)Ljava/net/URL; classLoader Ljava/lang/ClassLoader;w find 2(Ljava/io/File;Ljava/lang/String;)Ljava/util/List; child endIndex className resource+ H(Ljava/io/File;Ljava/lang/String;)Ljava/util/List;>; findClassesFromJar (Ljava/net/URL;)Ljava/util/List; Ljava/io/IOException; clazz Ljava/lang/Class; "Ljava/lang/ClassNotFoundException; entry Ljava/util/zip/ZipEntry; zip Ljava/util/zip/ZipInputStream; Ljava/lang/Exception;
jarFileUrl
classNames
connection Ljava/net/JarURLConnection; Ljava/lang/Class<*>;-.1xr 6(Ljava/net/URL;)Ljava/util/List;>; getChainedMessage )(Ljava/lang/Throwable;)Ljava/lang/String; t Ljava/lang/Throwable; buf Ljava/lang/StringBuilder; target? escapeForUri source unescapeFromUri uri deleteDirectory (Ljava/io/File;)V targetDir allContents [Ljava/io/File; deleteDirectoryContents element copyFile +(Ljava/nio/file/Path;Ljava/nio/file/Path;)V [B len
sourcePath Ljava/nio/file/Path; destPath dest in out Ljava/io/OutputStream;y? lambda$getDocumentNameById$0 0(Ljava/lang/String;Lio/atlasmap/v2/DataSource;)Z ds Lio/atlasmap/v2/DataSource;
SourceFile AtlasUtil.java ? ?pz{ java/util/Properties|}q~ ? java/lang/Throwable? ?? ^\s+$? ?? ? atlas:? ? java/lang/IllegalStateException java/lang/StringBuilder Invalid atlas uri ?? does not begin with 'atlas:': ?? ? ? multiple '?' characters: ? ? java/lang/String??? ? ? ??? \??? java/util/ArrayList :s?? ? ?????t?? java/util/HashMap?? UTF-8?? $java/io/UnsupportedEncodingException ? ? Unable to parse uri for configuration parameters??? & io/atlasmap/core/AtlasUtil = !Invalid configuration parameter: for uri: ' '? ?????????QR "java/lang/IllegalArgumentException 8Unable to detect resources for url='%s' for package='%s' java/lang/Object?? jar????^_ java/io/File????VW???IJ?????78?? io/atlasmap/v2/Audit? ?? ?? ?? ???? ??????????EF??u????????????4?4?4?4?4????? BootstrapMethods???????????v???? io/atlasmap/v2/DataSource??????????w?R???? .class? ????? java/lang/ClassNotFoundException?? java/net/JarURLConnection java/io/IOException .Unable to load classes from jar file=%s msg=%s?? java/util/zip/ZipInputStream java/io/FileInputStream???? ?? ?? ?}??x?? /Unable to load class=%s from jar file=%s msg=%s java/net/URISyntaxException?? - !?? %21 # %23 $ %24 %26 %27 ( %28 ) %29 * %2A + %2B , %2C / %2F %3A ; %3B %3D %3F @ %40 [ %5B ] %5D?????? java/io/FileOutputStreamy
?
io/atlasmap/core/AtlasUtil$1 (?m)$^|[\r\n]+\z java/net/URL java/io/InputStream java/lang/Exception java/util/List
java/util/Map java/util/Iterator java/util/Optional java/lang/ClassLoader java/util/zip/ZipEntry java/io/OutputStream
openStream ()Ljava/io/InputStream; load (Ljava/io/InputStream;)V close
addSuppressed (Ljava/lang/Throwable;)V ()Z matches equalsIgnoreCase
startsWith append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List; contains (Ljava/lang/CharSequence;)Z split ((Ljava/lang/String;I)[Ljava/lang/String; addAll (Ljava/util/Collection;)Z size ()I get (I)Ljava/lang/Object; &(Ljava/lang/Object;)Ljava/lang/Object; length java/net/URLDecoder decode org/slf4j/Logger error *(Ljava/lang/String;Ljava/lang/Throwable;)V warn '(Ljava/lang/String;)[Ljava/lang/String; put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; charAt (I)C replace (CC)Ljava/lang/String; format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; getProtocol equals (Ljava/lang/Object;)Z getFile listFiles ()[Ljava/io/File; io/atlasmap/api/AtlasSession
getMapping ()Lio/atlasmap/v2/AtlasMapping; getAudits ()Lio/atlasmap/v2/Audits; io/atlasmap/v2/Audits getAudit ()Ljava/util/List; add setDocId
setDocName
setMessage setPath setStatus (Lio/atlasmap/v2/AuditStatus;)V setValue io/atlasmap/v2/Validation getDocId
getDocName
getMessage getStatus #()Lio/atlasmap/v2/ValidationStatus; iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; $io/atlasmap/spi/AtlasInternalSession *$SwitchMap$io$atlasmap$v2$ValidationStatus [I io/atlasmap/v2/ValidationStatus ordinal io/atlasmap/v2/AuditStatus ERROR WARN INFO ALL NONE io/atlasmap/v2/AtlasMapping
getDataSource stream ()Ljava/util/stream/Stream;
7 (Lio/atlasmap/v2/DataSource;)Z test 2(Ljava/lang/String;)Ljava/util/function/Predicate; java/util/stream/Stream filter 9(Ljava/util/function/Predicate;)Ljava/util/stream/Stream; findFirst ()Ljava/util/Optional; isPresent getName java/lang/Thread
currentThread ()Ljava/lang/Thread; getContextClassLoader ()Ljava/lang/ClassLoader; java/lang/Class getClassLoader getSystemResource (C)Ljava/lang/StringBuilder; isDirectory endsWith substring (II)Ljava/lang/String; forName %(Ljava/lang/String;)Ljava/lang/Class; openConnection ()Ljava/net/URLConnection;
getJarFileURL ()Ljava/net/URL; toURI ()Ljava/net/URI; (Ljava/net/URI;)V getNextEntry ()Ljava/util/zip/ZipEntry; =(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class; getCause ()Ljava/lang/Throwable; java/util/regex/Pattern quote
replaceAll delete isFile java/nio/file/Path exists
createNewFile read ([B)I write ([BII)V getId org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger;?? "java/lang/invoke/LambdaMetafactory metafactory Lookup ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles ! 7 D ? ? ? ? ? ? ? ? ? ? ? ? ? / *? ? ? 5 ? ? ? ? ? ? 7 `*? LM? Y? N-+? -:+? ,? +? ? :,? ? +? ?N-M-?:+? ,? +? ? :,? ? +? ? # &