Udostępnij za pośrednictwem


DexFile Constructors

Definition

Overloads

DexFile(File)

Opens a DEX file from a given File object.

DexFile(String)

Opens a DEX file from a given filename.

DexFile(File)

Opens a DEX file from a given File object.

[Android.Runtime.Register(".ctor", "(Ljava/io/File;)V", "")]
public DexFile (Java.IO.File? file);
[<Android.Runtime.Register(".ctor", "(Ljava/io/File;)V", "")>]
new Dalvik.SystemInterop.DexFile : Java.IO.File -> Dalvik.SystemInterop.DexFile

Parameters

file
File
Attributes

Exceptions

if an I/O error occurs, such as the file not being found or access rights missing for opening it

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

DexFile(String)

Opens a DEX file from a given filename.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public DexFile (string? fileName);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Dalvik.SystemInterop.DexFile : string -> Dalvik.SystemInterop.DexFile

Parameters

fileName
String
Attributes

Exceptions

if an I/O error occurs, such as the file not being found or access rights missing for opening it

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to