net.sf.sevenzipjbinding.ArchiveFormat Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jwrapper-7zip-jbinding Show documentation
Show all versions of jwrapper-7zip-jbinding Show documentation
${project.organization.name} JWrapper 7zip Jbinding
The newest version!
package net.sf.sevenzipjbinding;
/**
* Enumeration of all supported archive types.
*
*
*
* Format
* Implementation
* Test
* Enum value
*
*
* 7z
* X
* X
* {@link #SEVEN_ZIP}
*
*
* Arj
* X
* X
* {@link #ARJ}
*
*
* BZip2
* X
* X
* {@link #BZIP2}
*
*
* Cab
* X
* X
* {@link #CAB}
*
*
* Chm
* X
* X
* {@link #CHM}
*
*
* Compound
* -
* -
* -
*
*
* Cpio
* X
* X
* {@link #CPIO}
*
*
* Deb
* X
* X
* {@link #DEB}
*
*
* Dmg
* -
* -
* -
*
*
* Elf
* -
* -
* -
*
*
* GZip
* X
* X
* {@link #GZIP}
*
*
* Hfs
* -
* -
* -
*
*
* Iso
* X
* X
* {@link #ISO}
*
*
* Lzh
* X
* X
* {@link #LZH}
*
*
* Lzma
* X
* X
* {@link #LZMA}
*
*
* Macho
* -
* -
* -
*
*
* Mub
* -
* -
* -
*
*
* Nsis
* X
* X
* {@link #NSIS}
*
*
* Pa
* -
* -
* -
*
*
* Rar
* X
* X
* {@link #RAR}
*
*
* Rpm
* X
* X
* {@link #RAR}
*
*
* Split
* -
* -
* -
*
*
* Tar
* X
* X
* {@link #TAR}
*
*
* Udf
* X
* X
* {@link #UDF}
*
*
* Wim
* X
* X
* {@link #WIM}
*
*
* Xar
* X
* X
* {@link #XAR}
*
*
* Z
* X
* X
* {@link #Z}
*
*
* Zip
* X
* X
* {@link #ZIP}
*
*
*
*
* @author Boris Brodski
* @version 4.65-1
*/
public enum ArchiveFormat {
/**
* Zip format.
*/
ZIP("Zip"),
/**
* Tar format.
*/
TAR("Tar"),
/**
* Split format.
*/
SPLIT("Split"),
/**
* Rar format.
*/
RAR("Rar"), //
/**
* Lzma format.
*/
LZMA("Lzma"),
/**
* Iso format.
*/
ISO("Iso"),
/**
* Hfs format
*/
HFS("HFS"),
/**
* Gzip format
*/
GZIP("GZip"),
/**
* Cpio format.
*/
CPIO("Cpio"),
/**
* BZip2 format.
*/
BZIP2("BZIP2"),
/**
* 7z format.
*/
SEVEN_ZIP("7z"),
/**
* Z format.
*/
Z("Z"),
/**
* Arj format
*/
ARJ("Arj"), //
/**
* Cab format.
*/
CAB("Cab"),
/**
* Lzh
*/
LZH("Lzh"),
/**
* Chm
*/
CHM("Chm"),
/**
* Nsis
*/
NSIS("Nsis"),
/**
* Deb
*/
DEB("Deb"),
/**
* Rpm
*/
RPM("Rpm"),
/**
* Udf
*/
UDF("Udf"),
/**
* Udf
*/
WIM("Wim"),
/**
* Xar
*/
XAR("Xar");
private String methodName;
ArchiveFormat(String methodName) {
this.methodName = methodName;
}
/**
* Return name of the archive method
*
* @return name of the archive method
*/
public String getMethodName() {
return methodName;
}
/**
* {@inheritDoc}
*/
@Override
public String toString() {
return methodName;
}
}