public abstract class com.sun.xml.internal.fastinfoset.tools.TransformInputOutput
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.xml.internal.fastinfoset.tools.TransformInputOutput
super_class: java.lang.Object
{
private static java.net.URI currentJavaWorkingDirectory;
descriptor: Ljava/net/URI;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.io.File
dup
ldc "user.dir"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.toURI:()Ljava/net/URI;
putstatic com.sun.xml.internal.fastinfoset.tools.TransformInputOutput.currentJavaWorkingDirectory:Ljava/net/URI;
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/fastinfoset/tools/TransformInputOutput;
public void parse(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: aload 1
arraylength
ifne 6
3: new java.io.BufferedInputStream
dup
getstatic java.lang.System.in:Ljava/io/InputStream;
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
astore 2
4: new java.io.BufferedOutputStream
dup
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokespecial java.io.BufferedOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 3
5: goto 15
StackMap locals: java.io.InputStream java.io.OutputStream
StackMap stack:
6: aload 1
arraylength
iconst_1
if_icmpne 10
7: new java.io.BufferedInputStream
dup
new java.io.FileInputStream
dup
aload 1
iconst_0
aaload
invokespecial java.io.FileInputStream.<init>:(Ljava/lang/String;)V
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
astore 2
8: new java.io.BufferedOutputStream
dup
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokespecial java.io.BufferedOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 3
9: goto 15
StackMap locals:
StackMap stack:
10: aload 1
arraylength
iconst_2
if_icmpne 14
11: new java.io.BufferedInputStream
dup
new java.io.FileInputStream
dup
aload 1
iconst_0
aaload
invokespecial java.io.FileInputStream.<init>:(Ljava/lang/String;)V
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
astore 2
12: new java.io.BufferedOutputStream
dup
new java.io.FileOutputStream
dup
aload 1
iconst_1
aaload
invokespecial java.io.FileOutputStream.<init>:(Ljava/lang/String;)V
invokespecial java.io.BufferedOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 3
13: goto 15
14: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
invokestatic com.sun.xml.internal.fastinfoset.CommonResourceBundle.getInstance:()Lcom/sun/xml/internal/fastinfoset/CommonResourceBundle;
ldc "message.optinalFileNotSpecified"
invokevirtual com.sun.xml.internal.fastinfoset.CommonResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 3
invokevirtual com.sun.xml.internal.fastinfoset.tools.TransformInputOutput.parse:(Ljava/io/InputStream;Ljava/io/OutputStream;)V
16: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/xml/internal/fastinfoset/tools/TransformInputOutput;
0 17 1 args [Ljava/lang/String;
1 17 2 in Ljava/io/InputStream;
2 17 3 out Ljava/io/OutputStream;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
args
public abstract void parse(java.io.InputStream, java.io.OutputStream);
descriptor: (Ljava/io/InputStream;Ljava/io/OutputStream;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
in
out
public void parse(java.io.InputStream, java.io.OutputStream, java.lang.String);
descriptor: (Ljava/io/InputStream;Ljava/io/OutputStream;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/fastinfoset/tools/TransformInputOutput;
0 1 1 in Ljava/io/InputStream;
0 1 2 out Ljava/io/OutputStream;
0 1 3 workingDirectory Ljava/lang/String;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
in
out
workingDirectory
protected static org.xml.sax.EntityResolver createRelativePathResolver(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/xml/sax/EntityResolver;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.sun.xml.internal.fastinfoset.tools.TransformInputOutput$1
dup
aload 0
invokespecial com.sun.xml.internal.fastinfoset.tools.TransformInputOutput$1.<init>:(Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 workingDirectory Ljava/lang/String;
MethodParameters:
Name Flags
workingDirectory final
private static java.net.URI convertToNewWorkingDirectory(java.net.URI, java.net.URI, java.net.URI);
descriptor: (Ljava/net/URI;Ljava/net/URI;Ljava/net/URI;)Ljava/net/URI;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=15, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.net.URI.toString:()Ljava/lang/String;
astore 3
start local 3 1: aload 1
invokevirtual java.net.URI.toString:()Ljava/lang/String;
astore 4
start local 4 2: aload 2
invokevirtual java.net.URI.toString:()Ljava/lang/String;
astore 5
start local 5 3: aconst_null
astore 6
start local 6 4: aload 5
aload 3
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 6
aload 5
aload 3
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
dup
astore 6
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpne 6
5: new java.net.URI
dup
new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
areturn
6: StackMap locals: java.net.URI java.net.URI java.net.URI java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 3
ldc "/"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 7
start local 7 7: aload 4
ldc "/"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 8
start local 8 8: aload 5
ldc "/"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 9
start local 9 9: iconst_0
istore 10
start local 10 10: goto 14
11: StackMap locals: java.net.URI java.net.URI java.net.URI java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String[] java.lang.String[] java.lang.String[] int
StackMap stack:
aload 7
iload 10
aaload
aload 9
iload 10
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 13
12: goto 15
13: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
14: iload 10
aload 7
arraylength
if_icmpge 15
iload 10
aload 9
arraylength
if_icmplt 11
15: StackMap locals:
StackMap stack:
iconst_0
istore 11
start local 11 16: goto 20
17: StackMap locals: int
StackMap stack:
aload 8
iload 11
aaload
aload 9
iload 11
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 19
18: goto 21
19: StackMap locals:
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
20: iload 11
aload 8
arraylength
if_icmpge 21
iload 11
aload 9
arraylength
if_icmplt 17
21: StackMap locals:
StackMap stack:
iload 11
iload 10
if_icmple 23
22: aload 2
areturn
23: StackMap locals:
StackMap stack:
aload 7
arraylength
iload 10
isub
istore 12
start local 12 24: new java.lang.StringBuffer
dup
bipush 100
invokespecial java.lang.StringBuffer.<init>:(I)V
astore 13
start local 13 25: iconst_0
istore 14
start local 14 26: goto 30
27: StackMap locals: int java.lang.StringBuffer int
StackMap stack:
aload 13
aload 8
iload 14
aaload
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
28: aload 13
bipush 47
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
29: iinc 14 1
StackMap locals:
StackMap stack:
30: iload 14
aload 8
arraylength
iload 12
isub
if_icmplt 27
end local 14 31: iload 10
istore 14
start local 14 32: goto 36
33: StackMap locals:
StackMap stack:
aload 13
aload 9
iload 14
aaload
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
34: iload 14
aload 9
arraylength
iconst_1
isub
if_icmpge 35
aload 13
bipush 47
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
35: StackMap locals:
StackMap stack:
iinc 14 1
StackMap locals:
StackMap stack:
36: iload 14
aload 9
arraylength
if_icmplt 33
end local 14 37: new java.net.URI
dup
aload 13
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
areturn
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 oldwd Ljava/net/URI;
0 38 1 newwd Ljava/net/URI;
0 38 2 file Ljava/net/URI;
1 38 3 oldwdStr Ljava/lang/String;
2 38 4 newwdStr Ljava/lang/String;
3 38 5 fileStr Ljava/lang/String;
4 38 6 cmpStr Ljava/lang/String;
7 38 7 oldwdSplit [Ljava/lang/String;
8 38 8 newwdSplit [Ljava/lang/String;
9 38 9 fileSplit [Ljava/lang/String;
10 38 10 diff I
16 38 11 diffNew I
24 38 12 elemsToSub I
25 38 13 resultStr Ljava/lang/StringBuffer;
26 31 14 i I
32 37 14 i I
Exceptions:
throws java.io.IOException, java.net.URISyntaxException
MethodParameters:
Name Flags
oldwd
newwd
file
}
SourceFile: "TransformInputOutput.java"
NestMembers:
com.sun.xml.internal.fastinfoset.tools.TransformInputOutput$1
InnerClasses:
com.sun.xml.internal.fastinfoset.tools.TransformInputOutput$1