public SevenZ() {
setFactory(new SevenZStreamFactory() {
public ArchiveOutputStream getArchiveOutputStream(File f,
String encoding)
throws IOException {
SevenZArchiveOutputStream o = (SevenZArchiveOutputStream)
super.getArchiveOutputStream(f, encoding);
if (contentCompression != null) {
SevenZMethod m = (SevenZMethod)
Enum.valueOf(SevenZMethod.class,
contentCompression.toUpperCase(Locale
.US));
o.setContentCompression(m);
}
return o;
}
});
setEntryBuilder(