@JsonData public class InfoData extends java.lang.Object implements Chunk
Chunk.ChunkType
Constructor and Description |
---|
InfoData(PdfSource f1,
PdfSource f2,
int firstTotalPages,
int secondTotalPages,
IProfile comparisonConfig)
default constructor with necessary dependencies
|
InfoData(PdfSource f1,
PdfSource f2,
IProfile comparisonConfig)
creates the instance for not yet parsed files.
|
Modifier and Type | Method and Description |
---|---|
PdfSource |
getFirstFile()
returns the file of the secondPDF being compared
|
int |
getFirstPageCount()
returns the total number of pages in the first PDF
|
int |
getFirstTotalPageNumber()
Deprecated.
As of i-net PDFC 5.0 please migrate to
getFirstPageCount() |
IProfile |
getProfile()
Returns the profile which was used for this comparison run.
|
PdfSource |
getSecondFile()
returns the file of the first PDF being compared
|
int |
getSecondPageCount()
returns the total number of pages in the second PDF
|
int |
getSecondTotalPageNumber()
Deprecated.
As of i-net PDFC 5.0 please migrate to
getFirstPageCount() |
Chunk.ChunkType |
getType()
Returns the type of this chunk
|
public InfoData(PdfSource f1, PdfSource f2, int firstTotalPages, int secondTotalPages, IProfile comparisonConfig)
f1
- file of the first PDF being comparedf2
- file of the second PDF being comparedfirstTotalPages
- total number of pages in the first PDF, use -1 for uninitializedsecondTotalPages
- total number of pages in the second PDF, use -1 for uninitializedcomparisonConfig
- the configuration used to create the current results, if null
a
DefaultProfile
will be used
furthermore used as a hint for the garbage collector.public InfoData(PdfSource f1, PdfSource f2, IProfile comparisonConfig)
f1
- file of the first PDF being comparedf2
- file of the second PDF being comparedcomparisonConfig
- the configuration used to create the current results, if null
a
DefaultProfile
will be usedpublic PdfSource getSecondFile()
null
if a file is missing in batch mode!public PdfSource getFirstFile()
null
if a file is missing in batch mode!@Deprecated public int getFirstTotalPageNumber()
getFirstPageCount()
public int getFirstPageCount()
@Deprecated public int getSecondTotalPageNumber()
getFirstPageCount()
public int getSecondPageCount()
public IProfile getProfile()
null
public Chunk.ChunkType getType()
Copyright © 2010-2022 by i-net software GmbH