com.lowagie.text.pdf
public class SequenceList extends Object
The general syntax is:
[!][o][odd][e][even]start-end
You can have multiple ranges separated by commas ','. The '!' modifier removes the range from what is already selected. The range changes are incremental, that is, numbers are added or deleted as the range appears. The start or the end, but not both, can be omitted.
Field Summary | |
---|---|
protected static int | COMMA |
static int | DIGIT |
static int | DIGIT2 |
protected boolean | even |
protected static int | END |
protected static char | EOT |
static int | FIRST |
protected int | high |
protected boolean | inverse |
protected int | low |
protected static int | MINUS |
protected int | number |
protected static int | NOT |
static String | NOT_OTHER |
protected static int | NUMBER |
protected boolean | odd |
protected String | other |
static int | OTHER |
protected int | ptr |
protected char[] | text |
protected static int | TEXT |
Constructor Summary | |
---|---|
protected | SequenceList(String range) |
Method Summary | |
---|---|
static List | expand(String ranges, int maxNumber)
Generates a list of numbers from a string. |
protected boolean | getAttributes() |
protected int | getType() |
protected char | nextChar() |
void | otherProc() |
protected void | putBack() |
Parameters: ranges the comma separated ranges maxNumber the maximum number in the range
Returns: a list with the numbers as Integer