Class SplitSevenZipArchiveSaveOptions


  • public class SplitSevenZipArchiveSaveOptions
    extends Object

    Options for saving a multi-volume 7-zip archive.

    • Constructor Detail

      • SplitSevenZipArchiveSaveOptions

        public SplitSevenZipArchiveSaveOptions​(String fileName,
                                               long segmentSize)

        Instantiates settings for saving a multi-volume 7z archive.

        Parameters:
        fileName - name for volumes. May be with or without .7z extension.

        Names of files will be as follows: fileName.7z.001, fileName.7z.002, ..., fileName.7z.(n).

        segmentSize - size of volume.

        Some volumes may be less than segmentSize. In most cases, the last segment will be less but rarely regular segments might be too.

        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - segmentSize is less than 100.
    • Method Detail

      • getSegmentSize

        public final long getSegmentSize()

        Gets the size of the segment.

        Returns:
        the size of the segment.
      • getFileName

        public final String getFileName()

        Gets the name of segments without extension.

        Returns:
        the name of segments without extension