|
ozone core API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ozoneDB.core.storage.gammaStore.GZIPStreamFactory
Factory that creates streams that read/write to other streams via a GZIP stream.
Field Summary | |
private java.lang.String |
prefix
|
Constructor Summary | |
GZIPStreamFactory(java.util.Properties properties,
java.lang.String prefix)
As prescribed by the PropertyConfigurable interface. |
Method Summary | |
java.io.InputStream |
createInputStream(java.io.InputStream in)
Creates an input stream that uses the given InputStream
for its input. |
java.io.OutputStream |
createOutputStream(java.io.OutputStream out)
Creates an output stream that uses the given OutputStream
as its output. |
java.lang.String |
getPrefix()
|
java.util.Collection |
getPropertyInfos()
Returns a Collection with all the properties this instance
supports. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String prefix
Constructor Detail |
public GZIPStreamFactory(java.util.Properties properties, java.lang.String prefix)
PropertyConfigurable
interface.
Method Detail |
public java.io.InputStream createInputStream(java.io.InputStream in) throws java.io.IOException
StreamFactory
Creates an input stream that uses the given InputStream
for its input.
createInputStream
in interface StreamFactory
in
- stream to use for input
java.io.IOException
public java.io.OutputStream createOutputStream(java.io.OutputStream out) throws java.io.IOException
StreamFactory
Creates an output stream that uses the given OutputStream
as its output.
createOutputStream
in interface StreamFactory
out
- stream to use for output
java.io.IOException
public java.util.Collection getPropertyInfos()
PropertyConfigurable
Returns a Collection
with all the properties this instance
supports.
getPropertyInfos
in interface PropertyConfigurable
PropertyInfo
elementspublic java.lang.String getPrefix()
getPrefix
in interface PropertyConfigurable
|
ozone core API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |