Package org.cip4.jdflib.resource.process
Class JDFRunList.JDFRunData
java.lang.Object
org.cip4.jdflib.resource.process.JDFRunList.JDFRunData
- Enclosing class:
- JDFRunList
class that abstracts a RunList Partition so that you can efficiently access the File using RunIndex as a marker
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectednull constructorJDFRunData(JDFRunList.JDFRunData other) copy constructor -
Method Summary
Modifier and TypeMethodDescriptionintintintget the 0 based page number in the file specified by RunList/@URLint
-
Field Details
-
runList
-
runIndex
protected int runIndex -
firstIndex
protected int firstIndex -
lastIndex
protected int lastIndex
-
-
Constructor Details
-
JDFRunData
copy constructor- Parameters:
other- the JDFRunIndex object to clone
-
JDFRunData
protected JDFRunData()null constructor
-
-
Method Details
-
getPageInFile
public int getPageInFile()get the 0 based page number in the file specified by RunList/@URL- Returns:
- the page number in the file; -1 if out of range
-
getLastIndex
public int getLastIndex()- Returns:
- the lastIndex
-
getRunIndex
public int getRunIndex()- Returns:
- the runIndex
-
getRunList
- Returns:
- the runList
-
getFirstIndex
public int getFirstIndex()- Returns:
- the firstIndex
-