Author: tilman
Date: Mon Oct 27 13:23:44 2025
New Revision: 1929376
Log:
PDFBOX-5660: improve javadoc
Modified:
pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDOutputIntent.java
Modified:
pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDOutputIntent.java
==============================================================================
---
pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDOutputIntent.java
Mon Oct 27 13:23:40 2025 (r1929375)
+++
pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDOutputIntent.java
Mon Oct 27 13:23:44 2025 (r1929376)
@@ -41,6 +41,14 @@ public final class PDOutputIntent implem
{
private final COSDictionary dictionary;
+ /**
+ * Create an output intent of GTS_PDFA1 subtype.
+ *
+ * @param doc The document.
+ * @param colorProfile the ICC color profile input stream. You can close
it after construction.
+ * @throws IOException If an I/O error occurs while reading the stream.
+ * @throws IllegalArgumentException If the stream does not contain valid
ICC Profile data.
+ */
public PDOutputIntent(PDDocument doc, InputStream colorProfile) throws
IOException
{
dictionary = new COSDictionary();