Class SevenZFileOptions


  • public class SevenZFileOptions
    extends java.lang.Object
    Collects options for reading 7z archives.
    Since:
    1.19
    • Field Detail

      • DEFAULT

        public static final SevenZFileOptions DEFAULT
        The default options.
        • no memory limit
        • don't modifiy the name of unnamed entries
    • Method Detail

      • builder

        public static SevenZFileOptions.Builder builder()
        Obtains a builder for SevenZFileOptions.
        Returns:
        a builder for SevenZFileOptions.
      • getMaxMemoryLimitInKb

        public int getMaxMemoryLimitInKb()
        Gets the maximum amount of memory to use for extraction. Not all codecs will honor this setting. Currently only lzma and lzma2 are supported.
        Returns:
        the maximum amount of memory to use for extraction
      • getUseDefaultNameForUnnamedEntries

        public boolean getUseDefaultNameForUnnamedEntries()
        Gets whether entries without a name should get their names set to the archive's default file name.
        Returns:
        whether entries without a name should get their names set to the archive's default file name