public class SplitPages extends Object implements NextOutputStrategy
Constructor and Description |
---|
SplitPages(Collection<Integer> pages) |
SplitPages(Integer... pages) |
Modifier and Type | Method and Description |
---|---|
void |
ensureIsValid()
Ensures that the strategy implementation is in a valid state.
|
boolean |
isClosing(Integer page) |
boolean |
isOpening(Integer page) |
public SplitPages(Collection<Integer> pages)
public SplitPages(Integer... pages)
public void ensureIsValid() throws TaskExecutionException
NextOutputStrategy
ensureIsValid
in interface NextOutputStrategy
TaskExecutionException
public boolean isOpening(Integer page)
isOpening
in interface NextOutputStrategy
page
- public boolean isClosing(Integer page)
isClosing
in interface NextOutputStrategy
page
- Copyright © 2019 sejda. All rights reserved.