Package net.webpdf.wsclient.openapi
Class OperationCompressObjects
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationCompressObjects
-
public class OperationCompressObjects extends Object
Combines object definitions of the document into so-called \"object streams\" and compresses them. This operation is recommended especially for larger documents with many objects. The size of contained resources (such as graphics and fonts) cannot be reduced in this way.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_OBJECT_STREAM_SIZE
-
Constructor Summary
Constructors Constructor Description OperationCompressObjects()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable IntegergetObjectStreamSize()Specifies the number of objects that may be combined into one stream.inthashCode()OperationCompressObjectsobjectStreamSize(Integer objectStreamSize)voidsetObjectStreamSize(Integer objectStreamSize)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_OBJECT_STREAM_SIZE
public static final String JSON_PROPERTY_OBJECT_STREAM_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
objectStreamSize
public OperationCompressObjects objectStreamSize(Integer objectStreamSize)
-
getObjectStreamSize
@Nullable public @Nullable Integer getObjectStreamSize()
Specifies the number of objects that may be combined into one stream. The higher the number, the higher the expected effect (assuming that the document contains a large number of objects). On the other hand, very large object streams can have a negative effect on the loading and display speed of the document in readers. For values beyond 500 objects, it is recommended to perform a manual check whether the document can still be displayed without problems. minimum: 1- Returns:
- objectStreamSize
-
setObjectStreamSize
public void setObjectStreamSize(Integer objectStreamSize)
-
-