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);
}