Table of Contents

Class ZipFile

Namespace
Java.Util.Zip
Assembly
MASES.JNet.dll
public class ZipFile : JVMBridgeBase<ZipFile>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<ZipFile>
ZipFile
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeBase<ZipFile>.IsAssignableFrom(IJavaType)
JVMBridgeBase<ZipFile>.IsAssignableFrom<T>()
JVMBridgeBase<ZipFile>.Execute<T>(params T[])
JVMBridgeBase<ZipFile>.DynBridgeClazz
JVMBridgeBase<ZipFile>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

ZipFile()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public ZipFile()

ZipFile(File)

public ZipFile(File arg0)

Parameters

arg0 File

File

Exceptions

ZipException
IOException

ZipFile(File, Charset)

public ZipFile(File arg0, Charset arg1)

Parameters

arg0 File

File

arg1 Charset

Charset

Exceptions

IOException

ZipFile(File, int)

public ZipFile(File arg0, int arg1)

Parameters

arg0 File

File

arg1 int

int

Exceptions

IOException

ZipFile(File, int, Charset)

public ZipFile(File arg0, int arg1, Charset arg2)

Parameters

arg0 File

File

arg1 int

int

arg2 Charset

Charset

Exceptions

IOException

ZipFile(String)

public ZipFile(String arg0)

Parameters

arg0 String

String

Exceptions

IOException

ZipFile(String, Charset)

public ZipFile(String arg0, Charset arg1)

Parameters

arg0 String

String

arg1 Charset

Charset

Exceptions

IOException

ZipFile(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public ZipFile(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

Comment

public String Comment { get; }

Property Value

String

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Name

public String Name { get; }

Property Value

String

OPEN_DELETE

public static int OPEN_DELETE { get; }

Property Value

int

OPEN_READ

public static int OPEN_READ { get; }

Property Value

int

Methods

Close()

public void Close()

Exceptions

IOException

Entries<ReturnExtendsJava_Util_Zip_ZipEntry>()

public Enumeration<ReturnExtendsJava_Util_Zip_ZipEntry> Entries<ReturnExtendsJava_Util_Zip_ZipEntry>() where ReturnExtendsJava_Util_Zip_ZipEntry : ZipEntry

Returns

Enumeration<ReturnExtendsJava_Util_Zip_ZipEntry>

Enumeration

Type Parameters

ReturnExtendsJava_Util_Zip_ZipEntry

ZipEntry

GetEntry(String)

public ZipEntry GetEntry(String arg0)

Parameters

arg0 String

String

Returns

ZipEntry

ZipEntry

GetInputStream(ZipEntry)

public InputStream GetInputStream(ZipEntry arg0)

Parameters

arg0 ZipEntry

ZipEntry

Returns

InputStream

InputStream

Exceptions

IOException

Size()

public int Size()

Returns

int

int

Stream<ReturnExtendsJava_Util_Zip_ZipEntry>()

public Stream<ReturnExtendsJava_Util_Zip_ZipEntry> Stream<ReturnExtendsJava_Util_Zip_ZipEntry>() where ReturnExtendsJava_Util_Zip_ZipEntry : ZipEntry

Returns

Stream<ReturnExtendsJava_Util_Zip_ZipEntry>

Stream

Type Parameters

ReturnExtendsJava_Util_Zip_ZipEntry

ZipEntry

Operators

implicit operator Closeable(ZipFile)

Converter from ZipFile to Closeable

public static implicit operator Closeable(ZipFile t)

Parameters

t ZipFile

Returns

Closeable