Package org.cip4.jdflib.resource.process
Class JDFRunList.JDFRunData
- java.lang.Object
-
- org.cip4.jdflib.resource.process.JDFRunList.JDFRunData
-
- Enclosing class:
- JDFRunList
public class JDFRunList.JDFRunData extends java.lang.Objectclass that abstracts a RunList Partition so that you can efficiently access the File using RunIndex as a marker
-
-
Field Summary
Fields Modifier and Type Field Description protected intfirstIndexprotected intlastIndexprotected intrunIndexprotected JDFRunListrunList
-
Constructor Summary
Constructors Modifier Constructor Description protectedJDFRunData()null constructorJDFRunData(JDFRunList.JDFRunData other)copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFirstIndex()intgetLastIndex()intgetPageInFile()get the 0 based page number in the file specified by RunList/@URLintgetRunIndex()JDFRunListgetRunList()
-
-
-
Field Detail
-
runList
protected JDFRunList runList
-
runIndex
protected int runIndex
-
firstIndex
protected int firstIndex
-
lastIndex
protected int lastIndex
-
-
Constructor Detail
-
JDFRunData
public JDFRunData(JDFRunList.JDFRunData other)
copy constructor- Parameters:
other- the JDFRunIndex object to clone
-
JDFRunData
protected JDFRunData()
null constructor
-
-
Method Detail
-
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
public JDFRunList getRunList()
- Returns:
- the runList
-
getFirstIndex
public int getFirstIndex()
- Returns:
- the firstIndex
-
-