Skip to content

Commit 5e16e1d

Browse files
committed
Add missing javadocs for log message constant class
DEVSIX-6238
1 parent 5c9616f commit 5e16e1d

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

pdfocr-api/src/main/java/com/itextpdf/pdfocr/logs/PdfOcrLogMessageConstant.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,35 @@ This file is part of the iText (R) project.
2222
*/
2323
package com.itextpdf.pdfocr.logs;
2424

25+
/**
26+
* Class that bundles all the log message templates as constants.
27+
*/
2528
public class PdfOcrLogMessageConstant {
29+
30+
/** The constant CANNOT_READ_INPUT_IMAGE. */
2631
public static final String CANNOT_READ_INPUT_IMAGE = "Cannot read input image {0}";
2732

33+
/** The constant PROVIDED_FONT_PROVIDER_IS_INVALID. */
2834
public static final String PROVIDED_FONT_PROVIDER_IS_INVALID =
2935
"Provided FontProvider is invalid. Please check that it contains valid fonts and default font family name.";
3036

37+
/** The constant CANNOT_READ_DEFAULT_FONT. */
3138
public static final String CANNOT_READ_DEFAULT_FONT = "Cannot default read font: {0}";
3239

40+
/** The constant CANNOT_ADD_DATA_TO_PDF_DOCUMENT. */
3341
public static final String CANNOT_ADD_DATA_TO_PDF_DOCUMENT = "Cannot add data to PDF document: {1}";
3442

43+
/** The constant START_OCR_FOR_IMAGES. */
3544
public static final String START_OCR_FOR_IMAGES = "Starting ocr for {0} image(s)";
3645

46+
/** The constant NUMBER_OF_PAGES_IN_IMAGE. */
3747
public static final String NUMBER_OF_PAGES_IN_IMAGE = "Image {0} contains {1} page(s)";
3848

49+
/** The constant COULD_NOT_FIND_CORRESPONDING_GLYPH_TO_UNICODE_CHARACTER. */
3950
public static final String COULD_NOT_FIND_CORRESPONDING_GLYPH_TO_UNICODE_CHARACTER =
4051
"Could not find a glyph corresponding to Unicode character {0} in any of the fonts";
4152

53+
/** The constant PDF_LANGUAGE_PROPERTY_IS_NOT_SET. */
4254
public static final String PDF_LANGUAGE_PROPERTY_IS_NOT_SET = "PDF language property is not set";
4355

4456
private PdfOcrLogMessageConstant() {

0 commit comments

Comments
 (0)