public class javax.activation.FileDataSource implements javax.activation.DataSource
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.activation.FileDataSource
super_class: java.lang.Object
{
private java.io.File _file;
descriptor: Ljava/io/File;
flags: (0x0002) ACC_PRIVATE
private javax.activation.FileTypeMap typeMap;
descriptor: Ljavax/activation/FileTypeMap;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield javax.activation.FileDataSource._file:Ljava/io/File;
2: aload 0
aconst_null
putfield javax.activation.FileDataSource.typeMap:Ljavax/activation/FileTypeMap;
3: aload 0
aload 1
putfield javax.activation.FileDataSource._file:Ljava/io/File;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/activation/FileDataSource;
0 5 1 file Ljava/io/File;
MethodParameters:
Name Flags
file
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokespecial javax.activation.FileDataSource.<init>:(Ljava/io/File;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/activation/FileDataSource;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.io.InputStream getInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.io.FileInputStream
dup
aload 0
getfield javax.activation.FileDataSource._file:Ljava/io/File;
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/activation/FileDataSource;
Exceptions:
throws java.io.IOException
public java.io.OutputStream getOutputStream();
descriptor: ()Ljava/io/OutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.io.FileOutputStream
dup
aload 0
getfield javax.activation.FileDataSource._file:Ljava/io/File;
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/activation/FileDataSource;
Exceptions:
throws java.io.IOException
public java.lang.String getContentType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.activation.FileDataSource.typeMap:Ljavax/activation/FileTypeMap;
ifnonnull 2
1: invokestatic javax.activation.FileTypeMap.getDefaultFileTypeMap:()Ljavax/activation/FileTypeMap;
aload 0
getfield javax.activation.FileDataSource._file:Ljava/io/File;
invokevirtual javax.activation.FileTypeMap.getContentType:(Ljava/io/File;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.activation.FileDataSource.typeMap:Ljavax/activation/FileTypeMap;
aload 0
getfield javax.activation.FileDataSource._file:Ljava/io/File;
invokevirtual javax.activation.FileTypeMap.getContentType:(Ljava/io/File;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/activation/FileDataSource;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.activation.FileDataSource._file:Ljava/io/File;
invokevirtual java.io.File.getName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/activation/FileDataSource;
public java.io.File getFile();
descriptor: ()Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.activation.FileDataSource._file:Ljava/io/File;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/activation/FileDataSource;
public void setFileTypeMap(javax.activation.FileTypeMap);
descriptor: (Ljavax/activation/FileTypeMap;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield javax.activation.FileDataSource.typeMap:Ljavax/activation/FileTypeMap;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/activation/FileDataSource;
0 2 1 map Ljavax/activation/FileTypeMap;
MethodParameters:
Name Flags
map
}
SourceFile: "FileDataSource.java"