Class ZlibCompression.Factory
- java.lang.Object
-
- net.schmizz.sshj.transport.compression.ZlibCompression.Factory
-
- All Implemented Interfaces:
Factory<Compression>
,Factory.Named<Compression>
- Enclosing class:
- ZlibCompression
public static class ZlibCompression.Factory extends java.lang.Object implements Factory.Named<Compression>
Named factory for the ZLib Compression.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.schmizz.sshj.common.Factory
Factory.Named<T>
-
Nested classes/interfaces inherited from interface net.schmizz.sshj.common.Factory.Named
Factory.Named.Util
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
Method Summary
Modifier and Type Method Description Compression
create()
java.lang.String
getName()
-
-
-
Method Detail
-
create
public Compression create()
- Specified by:
create
in interfaceFactory<Compression>
- Returns:
- a new object created using this factory.
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceFactory.Named<Compression>
- Returns:
- the name of this factory.
-
-