You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ms...@apache.org on 2018/02/03 18:06:19 UTC
svn commit: r1823046 -
/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/contentstream/PDAbstractContentStream.java
Author: msahyoun
Date: Sat Feb 3 18:06:19 2018
New Revision: 1823046
URL: http://svn.apache.org/viewvc?rev=1823046&view=rev
Log:
PDFBOX-4068: remove AppendMode from base class as this is only needed for PDPageContentStream
Modified:
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/contentstream/PDAbstractContentStream.java
Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/contentstream/PDAbstractContentStream.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/contentstream/PDAbstractContentStream.java?rev=1823046&r1=1823045&r2=1823046&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/contentstream/PDAbstractContentStream.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/contentstream/PDAbstractContentStream.java Sat Feb 3 18:06:19 2018
@@ -58,35 +58,6 @@ import org.apache.pdfbox.util.NumberForm
public abstract class PDAbstractContentStream implements Closeable
{
- /**
- * This is to choose what to do with the stream: overwrite, append or prepend.
- */
- public enum AppendMode
- {
- /**
- * Overwrite the existing page content streams.
- */
- OVERWRITE,
- /**
- * Append the content stream after all existing page content streams.
- */
- APPEND,
- /**
- * Insert before all other page content streams.
- */
- PREPEND;
-
- public boolean isOverwrite()
- {
- return this == OVERWRITE;
- }
-
- public boolean isPrepend()
- {
- return this == PREPEND;
- }
- }
-
private OutputStream output;
private PDResources resources;