public class ZipFileExtensions extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IO.Compression.ZipFileExtensions
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.IO.Compression.ZipFile, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.IO.Compression.ZipFile
|
static java.lang.String |
className
Qualified class name: System.IO.Compression.ZipFileExtensions
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ZipFileExtensions() |
ZipFileExtensions(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ZipFileExtensions |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ZipFileExtensions, a cast assert is made to check if types are compatible. |
static ZipArchiveEntry |
CreateEntryFromFile(ZipArchive destination,
java.lang.String sourceFileName,
java.lang.String entryName) |
static ZipArchiveEntry |
CreateEntryFromFile(ZipArchive destination,
java.lang.String sourceFileName,
java.lang.String entryName,
CompressionLevel compressionLevel) |
static void |
ExtractToDirectory(ZipArchive source,
java.lang.String destinationDirectoryName) |
static void |
ExtractToDirectory(ZipArchive source,
java.lang.String destinationDirectoryName,
boolean overwriteFiles) |
static Task |
ExtractToDirectoryAsync(ZipArchive source,
java.lang.String destinationDirectoryName,
boolean overwriteFiles,
CancellationToken cancellationToken) |
static Task |
ExtractToDirectoryAsync(ZipArchive source,
java.lang.String destinationDirectoryName,
CancellationToken cancellationToken) |
static void |
ExtractToFile(ZipArchiveEntry source,
java.lang.String destinationFileName) |
static void |
ExtractToFile(ZipArchiveEntry source,
java.lang.String destinationFileName,
boolean overwrite) |
static Task |
ExtractToFileAsync(ZipArchiveEntry source,
java.lang.String destinationFileName,
boolean overwrite,
CancellationToken cancellationToken) |
static Task |
ExtractToFileAsync(ZipArchiveEntry source,
java.lang.String destinationFileName,
CancellationToken cancellationToken) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
void |
setJCOInstance(JCObject instance) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ZipFileExtensions()
throws java.lang.Throwable
java.lang.Throwablepublic ZipFileExtensions(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static ZipFileExtensions cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ZipFileExtensions, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedZipFileExtensions instancejava.lang.Throwable - in case of error during cast operationpublic static ZipArchiveEntry CreateEntryFromFile(ZipArchive destination, java.lang.String sourceFileName, java.lang.String entryName) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, SerializationException, ObjectDisposedException, IndexOutOfRangeException, IOException, InvalidOperationException, OverflowException, InvalidDataException, ZLibException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionSerializationExceptionObjectDisposedExceptionIndexOutOfRangeExceptionIOExceptionInvalidOperationExceptionOverflowExceptionInvalidDataExceptionZLibExceptionpublic static ZipArchiveEntry CreateEntryFromFile(ZipArchive destination, java.lang.String sourceFileName, java.lang.String entryName, CompressionLevel compressionLevel) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, SerializationException, ObjectDisposedException, IndexOutOfRangeException, IOException, InvalidOperationException, OverflowException, InvalidDataException, ZLibException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionSerializationExceptionObjectDisposedExceptionIndexOutOfRangeExceptionIOExceptionInvalidOperationExceptionOverflowExceptionInvalidDataExceptionZLibExceptionpublic static void ExtractToDirectory(ZipArchive source, java.lang.String destinationDirectoryName) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ObjectDisposedException, IndexOutOfRangeException, ArrayTypeMismatchException, IOException, InvalidDataException, FormatException, OutOfMemoryException, UnreachableException, SerializationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionObjectDisposedExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionIOExceptionInvalidDataExceptionFormatExceptionOutOfMemoryExceptionUnreachableExceptionSerializationExceptionpublic static void ExtractToDirectory(ZipArchive source, java.lang.String destinationDirectoryName, boolean overwriteFiles) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, IOException, InvalidDataException, CultureNotFoundException, UnreachableException, SerializationException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionIOExceptionInvalidDataExceptionCultureNotFoundExceptionUnreachableExceptionSerializationExceptionpublic static Task ExtractToDirectoryAsync(ZipArchive source, java.lang.String destinationDirectoryName, boolean overwriteFiles, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
public static Task ExtractToDirectoryAsync(ZipArchive source, java.lang.String destinationDirectoryName, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionpublic static void ExtractToFile(ZipArchiveEntry source, java.lang.String destinationFileName) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, InvalidOperationException, SerializationException, IOException, ObjectDisposedException, InvalidDataException, ZLibException
public static void ExtractToFile(ZipArchiveEntry source, java.lang.String destinationFileName, boolean overwrite) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, OutOfMemoryException, SerializationException, IOException, ObjectDisposedException, InvalidDataException, ZLibException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionSerializationExceptionIOExceptionObjectDisposedExceptionInvalidDataExceptionZLibExceptionpublic static Task ExtractToFileAsync(ZipArchiveEntry source, java.lang.String destinationFileName, boolean overwrite, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
public static Task ExtractToFileAsync(ZipArchiveEntry source, java.lang.String destinationFileName, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObject