Top Fields Constructors Methods
org.apache.sshd.common.compression

public abstract Class BaseCompression

extends Object
implements Compression
Class Inheritance
All Implemented Interfaces
org.apache.sshd.common.compression.Compression, org.apache.sshd.common.compression.CompressionInformation, org.apache.sshd.common.NamedResource
Known Direct Subclasses
org.apache.sshd.common.compression.CompressionNone, org.apache.sshd.common.compression.CompressionZlib
Imports
org.apache.sshd.common.util.ValidateUtils

Author
Apache MINA SSHD Project

Field Summary

Modifier and TypeField and Description
private final String

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public final String
public boolean
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

nameback to summary
private final String name

Constructor Detail

BaseCompressionback to summary
protected BaseCompression(String name)

Method Detail

getNameback to summary
public final String getName()

Implements org.apache.sshd.common.NamedResource.getName.

Returns:String

Doc from org.apache.sshd.common.NamedResource.getName.

The resource name

Annotations
@Override
isCompressionExecutedback to summary
public boolean isCompressionExecuted()

Implements org.apache.sshd.common.compression.CompressionInformation.isCompressionExecuted.

Returns:boolean

Doc from org.apache.sshd.common.compression.CompressionInformation.isCompressionExecuted.

true if there is any compression executed by this "compressor" - special case for 'none'

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override