Package com.aspose.zip
Class SplitSevenZipArchiveSaveOptions
- java.lang.Object
-
- com.aspose.zip.SplitSevenZipArchiveSaveOptions
-
public class SplitSevenZipArchiveSaveOptions extends Object
Options for saving a multi-volume 7-zip archive.
-
-
Constructor Summary
Constructors Constructor Description SplitSevenZipArchiveSaveOptions(String fileName, long segmentSize)Instantiates settings for saving a multi-volume 7z archive.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFileName()Gets the name of segments without extension.longgetSegmentSize()Gets the size of the segment.
-
-
-
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-segmentSizeis 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
-
-