Class SequenceList

java.lang.Object
com.lowagie.text.pdf.SequenceList

@Deprecated public class SequenceList extends Object
Deprecated.
This class expands a string into a list of numbers. The main use is to select a range of pages.

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

    Fields
    Modifier and Type
    Field
    Description
    protected static final int
    Deprecated.
     
    protected static final int
    Deprecated.
     
    protected static final char
    Deprecated.
     
    protected boolean
    Deprecated.
     
    protected int
    Deprecated.
     
    protected boolean
    Deprecated.
     
    protected int
    Deprecated.
     
    protected static final int
    Deprecated.
     
    protected static final int
    Deprecated.
     
    protected int
    Deprecated.
     
    protected static final int
    Deprecated.
     
    protected boolean
    Deprecated.
     
    protected String
    Deprecated.
     
    protected int
    Deprecated.
     
    protected char[]
    Deprecated.
     
    protected static final int
    Deprecated.
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static List<Integer>
    expand(String ranges, int maxNumber)
    Deprecated.
    Generates a list of numbers from a string.
    protected boolean
    Deprecated.
     
    protected int
    Deprecated.
     
    protected char
    Deprecated.
     
    protected void
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • COMMA

      protected static final int COMMA
      Deprecated.
      See Also:
    • MINUS

      protected static final int MINUS
      Deprecated.
      See Also:
    • NOT

      protected static final int NOT
      Deprecated.
      See Also:
    • TEXT

      protected static final int TEXT
      Deprecated.
      See Also:
    • NUMBER

      protected static final int NUMBER
      Deprecated.
      See Also:
    • END

      protected static final int END
      Deprecated.
      See Also:
    • EOT

      protected static final char EOT
      Deprecated.
      See Also:
    • text

      protected char[] text
      Deprecated.
    • ptr

      protected int ptr
      Deprecated.
    • number

      protected int number
      Deprecated.
    • other

      protected String other
      Deprecated.
    • low

      protected int low
      Deprecated.
    • high

      protected int high
      Deprecated.
    • odd

      protected boolean odd
      Deprecated.
    • even

      protected boolean even
      Deprecated.
    • inverse

      protected boolean inverse
      Deprecated.
  • Constructor Details

    • SequenceList

      protected SequenceList(String range)
      Deprecated.
  • Method Details

    • expand

      public static List<Integer> expand(String ranges, int maxNumber)
      Deprecated.
      Generates a list of numbers from a string.
      Parameters:
      ranges - the comma separated ranges
      maxNumber - the maximum number in the range
      Returns:
      a list with the numbers as Integer
    • nextChar

      protected char nextChar()
      Deprecated.
    • putBack

      protected void putBack()
      Deprecated.
    • getType

      protected int getType()
      Deprecated.
    • getAttributes

      protected boolean getAttributes()
      Deprecated.