public class CompressParameters extends Object
Modifier and Type | Field and Description |
---|---|
static CompressParameters |
DEFAULT_COMPRESSION |
static int |
DEFAULT_OBJECT_STREAM_SIZE |
static CompressParameters |
NO_COMPRESSION |
Constructor and Description |
---|
CompressParameters() |
CompressParameters(int objectStreamSize)
Sets the number of objects, that can be contained in compressed object streams.
|
Modifier and Type | Method and Description |
---|---|
int |
getObjectStreamSize()
Returns the number of objects, that can be contained in compressed object streams.
|
boolean |
isCompress()
Indicates whether the creation of compressed object streams is enabled or not.
|
public static final CompressParameters DEFAULT_COMPRESSION
public static final CompressParameters NO_COMPRESSION
public static final int DEFAULT_OBJECT_STREAM_SIZE
public CompressParameters()
public CompressParameters(int objectStreamSize)
objectStreamSize
- The number of objects, that can be contained in compressed object streams.public int getObjectStreamSize()
public boolean isCompress()
Copyright © 2002–2025 The Apache Software Foundation. All rights reserved.