StoreCompressionSettings

Inheritance: java.lang.Object, com.aspose.zip.CompressionSettings

public class StoreCompressionSettings extends CompressionSettings

Settings for Store compression method.

This method stores original data as it is.

Constructors

ConstructorDescription
StoreCompressionSettings()Initializes a new instance of the StoreCompressionSettings class.

StoreCompressionSettings()

public StoreCompressionSettings()

Initializes a new instance of the StoreCompressionSettings class.


    try (Archive archive = new Archive(new ArchiveEntrySettings(new StoreCompressionSettings()))) {
        archive.createEntry("data.bin", "data.bin");
        archive.save(zipFile);
    }