Partager via


SplitMode Class

public final class SplitMode
extends ExpandableStringEnum<SplitMode>

Document splitting mode.

Field Summary

Modifier and Type Field and Description
static final SplitMode AUTO

Automatically split file into documents.

static final SplitMode NONE

Treat the entire file as a single document.

static final SplitMode PER_PAGE

Treat each page in the file as a separate document.

Constructor Summary

Constructor Description
SplitMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SplitMode value.

Method Summary

Modifier and Type Method and Description
static SplitMode fromString(String name)

Creates or finds a SplitMode from its string representation.

static Collection<SplitMode> values()

Gets known SplitMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AUTO

public static final SplitMode AUTO

Automatically split file into documents.

NONE

public static final SplitMode NONE

Treat the entire file as a single document.

PER_PAGE

public static final SplitMode PER_PAGE

Treat each page in the file as a separate document.

Constructor Details

SplitMode

@Deprecated
public SplitMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SplitMode value.

Method Details

fromString

public static SplitMode fromString(String name)

Creates or finds a SplitMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SplitMode.

values

public static Collection values()

Gets known SplitMode values.

Returns:

known SplitMode values.

Applies to