public class FormattingOptions extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_WRITE_BUFFER
The default size, in bytes, for write operations
|
Constructor and Description |
---|
FormattingOptions()
Creates a collection with default settings:
Buffers will use default sizings.
|
Modifier and Type | Method and Description |
---|---|
int |
getEncodeBuffer()
Gets the size of the buffer, in bytes, used to encode
character data.
|
int |
getWriteBuffer()
Gets the size of the I/O buffer, in bytes,
to use for writes.
|
void |
set(FormattingOptions options)
Copies the settings from the specified source.
|
void |
setEncodeBuffer(int size)
Sets the size of the buffer, in bytes, used to encode
character data.
|
void |
setWriteBuffer(int size)
Sets the size of the I/O buffer, in bytes,
to use for writes.
|
public static final int DEFAULT_WRITE_BUFFER
public FormattingOptions()
public void set(FormattingOptions options)
options
- the settings to copypublic int getWriteBuffer()
public void setWriteBuffer(int size)
size
- the size of the write bufferpublic int getEncodeBuffer()
public void setEncodeBuffer(int size)
size
- the encoding buffer size to useCopyright © 2021 Actian Corporation. All rights reserved.