io.atlasmap.core.ADMArchiveHandler.class Maven / Gradle / Ivy
Go to download
A single aggregated bundle which contains all AtlasMap library artifacts including modules.
???? 4QL
MN
O
P Q R S TU V W
XY Z
[\ ] ^_
[`
abc
de
df
dghijbk
lm
n
o
dp
lqr
ls
tu
#v
w
#xy
'z{|
} ?~
?? ?????
3?
?
???
8n
3?
3?
3?
??
??
? ?
d???
EP
E?
Ek
?
3x? ??b??
[????
[?????
Vv
V?
Vx????
?
[???
?
[??
b?
?
???? ???
j?
i??
[??
oP
m?
m?
??
g?
gp
g?
l?
g?
g???
ix
??
???
d?
?
?x???
??
??
8p??
l??? d?
l?
l?????
?x
??
???
?P
??
?x??
d?
d?
?? LOG Lorg/slf4j/Logger; MAPPING_DEFINITION_FILTER Ljava/lang/String;
ConstantValue MAPPING_DEFINITION_TEMPLATE GZIPPED_ADM_DIGEST_FILTER GZIPPED_ADM_DIGEST_TEMPLATE buffer [B gzippedAdmDigestBytes mappingDefinitionBytes
jsonMapper -Lcom/fasterxml/jackson/databind/ObjectMapper; jsonMapperForDigest mappingDefinition Lio/atlasmap/v2/AtlasMapping; mappingDefinitionId dataSourceMetadata Ljava/util/Map; Signature RLjava/util/Map;
ignoreLibrary Z persistDirectory Ljava/nio/file/Path; libraryDirectory ()V Code LineNumberTable LocalVariableTable this $Lio/atlasmap/core/ADMArchiveHandler; (Ljava/lang/ClassLoader;)V loader Ljava/lang/ClassLoader; load (Ljava/nio/file/Path;)V fin Ljava/io/FileInputStream; e Ljava/lang/Exception; path file Ljava/io/File;
StackMapTable?L?uy{
Exceptions (Ljava/io/InputStream;)V in Ljava/io/InputStream;? Format InnerClasses D(Lio/atlasmap/api/AtlasContextFactory$Format;Ljava/io/InputStream;)V format ,Lio/atlasmap/api/AtlasContextFactory$Format; export (Ljava/io/OutputStream;)V mappingFileName libEntry Ljava/util/zip/ZipEntry; jarFile catEntry zipOut Ljava/util/zip/ZipOutputStream; out Ljava/io/OutputStream;???? persist Ljava/io/FileOutputStream;
digestPath mdPath? getMappingDefinition ()Lio/atlasmap/v2/AtlasMapping; setMappingDefinition (Lio/atlasmap/v2/AtlasMapping;)V mapping setMappingDefinitionBytes is getMappingDefinitionBytes ()[B setGzippedADMDigest getGzippedADMDigestBytes getDataSourceMetadata 8(ZLjava/lang/String;)Lio/atlasmap/v2/DataSourceMetadata; isSource
documentId C(Lio/atlasmap/v2/DataSourceKey;)Lio/atlasmap/v2/DataSourceMetadata; key Lio/atlasmap/v2/DataSourceKey; getDataSourceMetadataMap ()Ljava/util/Map; meta #Lio/atlasmap/v2/DataSourceMetadata; spec i I digest Lio/atlasmap/v2/ADMDigest; Ljava/util/zip/GZIPInputStream;???? ? T()Ljava/util/Map; cloneMappingDefinition bytes atlasMapping? clear setIgnoreLibrary (Z)V ignoreLib isIgnoreLibrary ()Z setPersistDirectory dir setLibraryDirectory setMappingDefinitionId (Ljava/lang/String;)V id getGzippedADMDigestFileName ()Ljava/lang/String; getMappingDefinitionFileName loadExploded (Ljava/io/File;)V mappingdefis digestis mappingDefinitionFile
digestFile? loadADMFile ae Lio/atlasmap/api/AtlasException;h
loadADMStream fos separatorPos name libPath catEntryName mappingDefinitionFound zipIn Ljava/util/zip/ZipInputStream;? redirectStream .(Ljava/io/InputStream;Ljava/io/OutputStream;)V len readIntoByteArray (Ljava/io/InputStream;)[B baos Ljava/io/ByteArrayOutputStream;? ensureDirectory (Ljava/nio/file/Path;)Z dirf
SourceFile ADMArchiveHandler.java "io/atlasmap/core/ADMArchiveHandler??? ? ? ? ? ? ? ? ? ? ? ? ? 0 ? ? ? ???? ? ???? ? ?????? ?? ? io/atlasmap/api/AtlasException 5'%s' doesn't exist or is not a regular file/directory java/lang/Object'? ? ?$)*'' .adm
0* java/io/FileInputStream ?*AB ? java/lang/Throwable
java/lang/Exception %Invalid mapping definition file: '%s' ? ? ? ?4 ? &Invalid mapping definition from stream ? ? %Creating ADM archive file for ID:'{}' java/util/zip/ZipOutputStream ? ? ? ?(' ' Creating mapping definition file '{}' java/util/zip/ZipEntry ? ? ? ' Creating gzipped ADM digest file '{}'&' lib/ ? ? Creating jar file entry '{}' java/lang/StringBuilder>? Error exporting ADM archive file ? ? Persist Directory must be set io/atlasmap/v2/AtlasMapping BInvalid serialized mapping definition content detected, discarding $!" $Failed to persist mapping definition java/io/FileOutputStream# )Failed to persist gzipped ADM digest file$ ? ?%&$ ?
'( io/atlasmap/v2/DataSourceKey ?) ?*+, !io/atlasmap/v2/DataSourceMetadata ? ? java/util/zip/GZIPInputStream java/io/ByteArrayInputStream ?# ? ? io/atlasmap/v2/ADMDigest- java/util/HashMap./0123'4'5$6 ?7#89:;<FG adm-catalog-files-%s.gz atlasmapping-UI.%s.json=> ?? &Failed to read mapping definition file Failed to read digest file java/util/zip/ZipInputStream?@ Extracting ADM file entry '{}' adm-catalog-filesAB .jar "Library directory is not specifiedC ?DEFG +Failed to save a jar file '%s', ignoring... atlasmapping BMultiple mapping definition files are found in a same .adm archive "Ignoring file '{}' in .adm archiveHI? java/io/ByteArrayOutputStreamJ ? Directory must not be Null File '%s' is not a directoryK'LMNO java/io/File java/nio/file/PathP *io/atlasmap/api/AtlasContextFactory$Format [Ljava/io/File; java/io/OutputStream java/lang/String java/io/InputStream java/lang/Class getClassLoader ()Ljava/lang/ClassLoader; io/atlasmap/v2/Json withClassLoader F(Ljava/lang/ClassLoader;)Lcom/fasterxml/jackson/databind/ObjectMapper; +com/fasterxml/jackson/databind/ObjectMapper copy /()Lcom/fasterxml/jackson/databind/ObjectMapper; 5com/fasterxml/jackson/databind/DeserializationFeature UNWRAP_ROOT_VALUE 7Lcom/fasterxml/jackson/databind/DeserializationFeature; configure g(Lcom/fasterxml/jackson/databind/DeserializationFeature;Z)Lcom/fasterxml/jackson/databind/ObjectMapper; toFile ()Ljava/io/File; exists isFile isDirectory toString 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; getName toLowerCase endsWith (Ljava/lang/String;)Z close
addSuppressed (Ljava/lang/Throwable;)V *(Ljava/lang/String;Ljava/lang/Throwable;)V ADM org/slf4j/Logger debug '(Ljava/lang/String;Ljava/lang/Object;)V putNextEntry (Ljava/util/zip/ZipEntry;)V write ([BII)V
closeEntry listFiles ()[Ljava/io/File; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; resolve ((Ljava/lang/String;)Ljava/nio/file/Path; readValue '([BLjava/lang/Class;)Ljava/lang/Object; warn
writeValue #(Ljava/io/File;Ljava/lang/Object;)V ([B)V isDebugEnabled writeValueAsString &(Ljava/lang/Object;)Ljava/lang/String; writeValueAsBytes (Ljava/lang/Object;)[B (ZLjava/lang/String;)V
java/util/Map get &(Ljava/lang/Object;)Ljava/lang/Object; :(Ljava/io/InputStream;Ljava/lang/Class;)Ljava/lang/Object;
getExportMeta &()[Lio/atlasmap/v2/DataSourceMetadata; getExportBlockData "()[Lio/atlasmap/v2/ValueContainer; io/atlasmap/v2/ValueContainer getValue
getDocumentId
setDocumentId getBytes setSpecification put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; java/util/Collections unmodifiableMap (Ljava/util/Map;)Ljava/util/Map; toPath ()Ljava/nio/file/Path; getNextEntry ()Ljava/util/zip/ZipEntry; contains (Ljava/lang/CharSequence;)Z separator lastIndexOf (Ljava/lang/String;)I substring (I)Ljava/lang/String; read ([B)I toByteArray getAbsolutePath mkdirs org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; #io/atlasmap/api/AtlasContextFactory ! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ~ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 8
*? ? ? ?
b c ?
? ? ? ? ? ? G*? * ?? *? *? *? * ?
*? *+? ?
**?
? ? *? ? ? W? ? . e T
U V Z [ " ] ' f / g : h F i ? G ? ? G ? ? ? ? ? ?*? +? M,? ? ,? ? $,? ? ? Y? Y+? S? ? ?,? ? *,? ? ?,? ? ? !? *,? "? ?? #Y,? $N:**-? %? -? P? -? &? D:? (? 8-? &? 1::?:-? ? -? &? :? (? -? &?? N? Y*? Y+? S? -? +?? ~ ? ? ' l u ? ' l u ? ? ? ? ' ? ? ? ` ? ? ) ? N q r s t - u : x A y I z X { ` } l ~ u ? } ? ? ? ? ? ? ? ? ? ? ? 4 i ] ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? a ? ?? $ ? ? ? ? ? ?F ?H ?? ? ? ? ? ? ? ?? ? ? ? B ? ? ? ? ? A *? ,+? -? ?
? ? ? ? ? ? ? ? ? ? ? ? (+? ,? *,? .? **,? %? ? N? Y/-? +?? ) ? ? ? ? ? ? ? ' ? ? * ? ? ( ? ? ( ? ? ( ? ? ? K ? ? ? ? ? 1 ?? 01*?
? 2 ? 3Y+? 4MN:*? 5? 8*? 6:? 07? 2 ? 8Y? 9:,? :,*? 5*? 5?? ;,? <*? =? G? 0>*? ?? 2 ? 8Y*? ?? 9:,? :,*? =*? =?? ;,? <,? 8Y@? 9? :,? <*? A? ?*? B? ?*? B? ? ? ?*? B? ? C:?66? i2:? 0D? EY? F@? G? ? G? H? 2 ? 8Y? EY? F@? G? ? G? H? 9: , ? :*? #Y? $,? I,? ???,? K-? ,? J? @:-? (? 5,? J? .:N?:
,? -? ,? J? :-? (? ,? J
?? M? YK,? +?? KOR ' Cd ' Cl vz} 'dnl ?? ) ? ? ! ? ? ? ? # ? ) ? 5 ? @ ? F ? T ? X ? _ ? m ? z ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?% ?+ ?9 ?= ?C ?d ?l ?? ?? ?? ?? ? ? R ) / ? ? % ? ? ? Y ? ? ' ? ? x ? ? ? ? ? ? ? ? ? ? ? ? l ? X ? ? ?? J? 2 ?? l ? ? ? ? N ?
F ?G ?? ? ? ? ? ? ?
? ? ? B ? ? ? ? ? ? *? L?
? YM? ?*? L*? 6? N L*? 5? /**?
*? 5O? P? O? ? M? 0Q? R *? *? *? ? #*?
+? *? ? S? M? 0T,? U *? =? ?*? L*? ?? N M? VY,? ? WN:-*? =? X-? P? -? Y? D:? (? 8-? Y? 1::?:-? ? -? Y? :? (? -? Y?? N? 0Z? R ? &