Package org.krysalis.barcode4j.tools
Class PageInfo
java.lang.Object
org.krysalis.barcode4j.tools.PageInfo
Holds information on the page a barcode is painted on.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PageInfofromProcessingHints(Map hints) intReturns the page numberReturns the string representation of the page number (ex.
-
Constructor Details
-
PageInfo
Creates a new object.- Parameters:
pageNumber- the page numberpageNumberString- the string representation of the page number (ex. "12" or "XII")
-
-
Method Details
-
fromProcessingHints
- Parameters:
hints- the processing hints- Returns:
- the page info object or null if no such information is available
-
getPageNumber
public int getPageNumber()Returns the page number- Returns:
- the page number
-
getPageNumberString
Returns the string representation of the page number (ex. "12" or "XII").- Returns:
- the page number as a string
-