SplitSevenZipArchiveSaveOptions

Inheritance: java.lang.Object

public class SplitSevenZipArchiveSaveOptions

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

Constructors

ConstructorDescription
SplitSevenZipArchiveSaveOptions(String fileName, long segmentSize)Instantiates settings for saving a multi-volume 7z archive.

Methods

MethodDescription
getFileName()Gets the name of segments without extension.
getSegmentSize()Gets the size of segment.

SplitSevenZipArchiveSaveOptions(String fileName, long segmentSize)

public SplitSevenZipArchiveSaveOptions(String fileName, long segmentSize)

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

Parameters:

ParameterTypeDescription
fileNamejava.lang.Stringname 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 | long | 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. |

getFileName()

public final String getFileName()

Gets the name of segments without extension.

Returns: java.lang.String - the name of segments without extension

getSegmentSize()

public final long getSegmentSize()

Gets the size of segment.

Returns: long - the size of segment