build.Jdbc40Task.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jt400-jdk8 Show documentation
Show all versions of jt400-jdk8 Show documentation
The Open Source version of the IBM Toolbox for Java
The newest version!
???? .V
Jdbc40Task *org/apache/tools/ant/taskdefs/MatchingTask copyright Ljava/lang/String;
ConstantValue OCopyright (C) 2009-2019 International Business Machines Corporation and others. verbose_ Z destDir_ Ljava/io/File; srcDir_ sourcelist_ numFilesProcessed_ I
STATE_NONE
STATE_IFDEF40 STATE_IFNDEF40
FOUND_NONE
FOUND_IFDEF40 FOUND_IFNDEF40 FOUND_ENDIF
FOUND_COMMENT FOUND_JDBC40DOC ()V Code
% ! " ' LineNumberTable LocalVariableTable this LJdbc40Task;
setSourcelist (Ljava/io/File;)V /
sourcelist
setDestdir 3
destDir setSrcdir 7
srcDir
setVerbose (Z)V <
verbose execute
Exceptions A #org/apache/tools/ant/BuildException C java/util/ArrayList
B % F java/io/BufferedReader H java/io/FileReader
G J ! -
E L ! M (Ljava/io/Reader;)V
E O P Q readLine ()Ljava/lang/String;
S U T java/lang/String V Q trim
S X Y Z length ()I
S \ ] ^ charAt (I)C
B ` a b add (Ljava/lang/Object;)Z d f e java/lang/System g h out Ljava/io/PrintStream; j java/lang/StringBuffer l Error (
i n ! o (Ljava/lang/String;)V
i q r s append ,(Ljava/lang/Object;)Ljava/lang/StringBuffer; u
) processing
i w r x ,(Ljava/lang/String;)Ljava/lang/StringBuffer;
i z { Q toString
} ~ java/io/PrintStream ? o println
? ? ? java/lang/Exception ? ? printStackTrace (Ljava/io/PrintStream;)V
@ n
@ ? ? ? initCause ,(Ljava/lang/Throwable;)Ljava/lang/Throwable;
B ? ? Z size
B ? ? ? get (I)Ljava/lang/Object; ? Processing ? .java
S ? ? ? indexOf (Ljava/lang/String;)I
? ? o createJdbc40File
@ z ? Number of files processed:
i ? r ? (I)Ljava/lang/StringBuffer;
lastException %Lorg/apache/tools/ant/BuildException; list Ljava/util/ArrayList; reader Ljava/io/BufferedReader; line e Ljava/lang/Exception; be
destFileNames [Ljava/lang/String; i filename getLineType ((Ljava/lang/String;Ljava/lang/String;I)I ? /*
S ? ? ? substring (I)Ljava/lang/String; ? ifdef ? JDBC40 ? Warning. Incorrect ifdef line ' ? ' at ? : ? ifndef ? */ ? !Warning. Incorrect ifndef line ' ? endif ? +Warning. Invalid /* endif */ structure: ' ? 'Warning. Invalid endif */ structure: ' ? 'Warning. Invalid endif... structure: ' ? // ? JDBC40DOC ? +Warning. Invalid JDBC40DOC after // line ' ? "Warning. Invalid JDBC40DOC line '
lineNumber originalLine typeCode
d ? ? ? currentTimeMillis ()J ? java/io/File
i % ? /
? n
? ? ? ?
getParentFile ()Ljava/io/File;
? ? ? ? exists ()Z ? Creating
? ? ? Q getAbsolutePath ? because it does not exist
? ? ? ? mkdirs ? java/io/PrintWriter ? java/io/FileWriter
? J
? ? ! (Ljava/io/Writer;)V
? ? /* ifdef JDBC40 */ /* ifndef JDBC40
removeJdbc40Doc &(Ljava/lang/String;)Ljava/lang/String;
?
" close 0FOUND INVALID IFDEF (currently processing IFDEF: ) ' ' AT
? n /* endif */ !WARNING: found comment in line ' ' processing IFDEF: 1FOUND INVALID IFDEF (currently processing IFNDEF:
endif */ ' processing IFNDEF:" #WARNING: found JDBC40DOC in line '
? % Processed. Time:
i' r( (J)Ljava/lang/StringBuffer;* ms, #CharConversionException processing . line :
021 java/io/CharConversionException ? "
0456 getCause ()Ljava/lang/Throwable;8 (----------caused by --------------------
:2; java/lang/Throwable
:4
@> !? (Ljava/lang/Throwable;)VA Exception processing
?2 start J inputFile
outputFile outputParent writer Ljava/io/PrintWriter; state linetype stateChangeLineNumber end !Ljava/io/CharConversionException; cause Ljava/lang/Throwable;R @WARNING: did not find JDBC40DOC when processing removeJdbc40Doc index
SourceFile Jdbc40Task.java !
! " # <