public abstract class BaseCompression extends Object implements Compression
Compression.Type
NamedResource.Utils
BY_NAME_COMPARATOR, NAME_EXTRACTOR
Modifier | Constructor and Description |
---|---|
protected |
BaseCompression(String name) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
boolean |
isCompressionExecuted() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
compress, init, uncompress
isDelayed
protected BaseCompression(String name)
public final String getName()
getName
in interface NamedResource
public boolean isCompressionExecuted()
isCompressionExecuted
in interface CompressionInformation
true
if there is any compression executed by
this "compressor" - special case for 'none'Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.