Change-Id: I891e2cf9ca89ae1948e9713a412d31ec66faac86 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>tags/v4.0.0.201503231230-m1
/** | /** | ||||
* Base format class | * Base format class | ||||
* | |||||
* @since 4.0 | |||||
*/ | */ | ||||
public class BaseFormat { | public class BaseFormat { | ||||
Collections.<String, Object> emptyMap()); | Collections.<String, Object> emptyMap()); | ||||
} | } | ||||
/** | |||||
* @since 4.0 | |||||
*/ | |||||
public ArchiveOutputStream createArchiveOutputStream(OutputStream s, | public ArchiveOutputStream createArchiveOutputStream(OutputStream s, | ||||
Map<String, Object> o) throws IOException { | Map<String, Object> o) throws IOException { | ||||
TarArchiveOutputStream out = new TarArchiveOutputStream(s, "UTF-8"); //$NON-NLS-1$ | TarArchiveOutputStream out = new TarArchiveOutputStream(s, "UTF-8"); //$NON-NLS-1$ |
Collections.<String, Object> emptyMap()); | Collections.<String, Object> emptyMap()); | ||||
} | } | ||||
/** | |||||
* @since 4.0 | |||||
*/ | |||||
public ArchiveOutputStream createArchiveOutputStream(OutputStream s, | public ArchiveOutputStream createArchiveOutputStream(OutputStream s, | ||||
Map<String, Object> o) throws IOException { | Map<String, Object> o) throws IOException { | ||||
BZip2CompressorOutputStream out = new BZip2CompressorOutputStream(s); | BZip2CompressorOutputStream out = new BZip2CompressorOutputStream(s); |
Collections.<String, Object> emptyMap()); | Collections.<String, Object> emptyMap()); | ||||
} | } | ||||
/** | |||||
* @since 4.0 | |||||
*/ | |||||
public ArchiveOutputStream createArchiveOutputStream(OutputStream s, | public ArchiveOutputStream createArchiveOutputStream(OutputStream s, | ||||
Map<String, Object> o) throws IOException { | Map<String, Object> o) throws IOException { | ||||
GzipCompressorOutputStream out = new GzipCompressorOutputStream(s); | GzipCompressorOutputStream out = new GzipCompressorOutputStream(s); |
Collections.<String, Object> emptyMap()); | Collections.<String, Object> emptyMap()); | ||||
} | } | ||||
/** | |||||
* @since 4.0 | |||||
*/ | |||||
public ArchiveOutputStream createArchiveOutputStream(OutputStream s, | public ArchiveOutputStream createArchiveOutputStream(OutputStream s, | ||||
Map<String, Object> o) throws IOException { | Map<String, Object> o) throws IOException { | ||||
XZCompressorOutputStream out = new XZCompressorOutputStream(s); | XZCompressorOutputStream out = new XZCompressorOutputStream(s); |
Collections.<String, Object> emptyMap()); | Collections.<String, Object> emptyMap()); | ||||
} | } | ||||
/** | |||||
* @since 4.0 | |||||
*/ | |||||
public ArchiveOutputStream createArchiveOutputStream(OutputStream s, | public ArchiveOutputStream createArchiveOutputStream(OutputStream s, | ||||
Map<String, Object> o) throws IOException { | Map<String, Object> o) throws IOException { | ||||
return applyFormatOptions(new ZipArchiveOutputStream(s), o); | return applyFormatOptions(new ZipArchiveOutputStream(s), o); |