pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carr...@apache.org
Subject svn commit: r743530 - in /incubator/pdfbox/trunk/src/main/java/org/apache/pdfbox/util: PDFStreamEngine.java PDFText2HTML.java PDFTextStripper.java PDFTextStripperByArea.java
Date Wed, 11 Feb 2009 22:05:43 GMT
Author: carrier
Date: Wed Feb 11 22:05:43 2009
New Revision: 743530

URL: http://svn.apache.org/viewvc?rev=743530&view=rev
Log:
Fix for PDFBOX-422 to remove the deprecated wrappers around the refactored functions

Modified:
    incubator/pdfbox/trunk/src/main/java/org/apache/pdfbox/util/PDFStreamEngine.java
    incubator/pdfbox/trunk/src/main/java/org/apache/pdfbox/util/PDFText2HTML.java
    incubator/pdfbox/trunk/src/main/java/org/apache/pdfbox/util/PDFTextStripper.java
    incubator/pdfbox/trunk/src/main/java/org/apache/pdfbox/util/PDFTextStripperByArea.java

Modified: incubator/pdfbox/trunk/src/main/java/org/apache/pdfbox/util/PDFStreamEngine.java
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/src/main/java/org/apache/pdfbox/util/PDFStreamEngine.java?rev=743530&r1=743529&r2=743530&view=diff
==============================================================================
--- incubator/pdfbox/trunk/src/main/java/org/apache/pdfbox/util/PDFStreamEngine.java (original)
+++ incubator/pdfbox/trunk/src/main/java/org/apache/pdfbox/util/PDFStreamEngine.java Wed Feb
11 22:05:43 2009
@@ -232,14 +232,6 @@
 
     }
 
-    /**
-     * @deprecated
-     * @see processTextPosition(TextPosition)
-     */
-    protected void showCharacter( TextPosition text )
-    {
-    	processTextPosition(text);
-    }
     
     /**
      * A method provided as an event interface to allow a subclass to perform
@@ -254,14 +246,6 @@
 
     
     /**
-     * @deprecated
-     * @see processEncodedText(byte[])
-     */
-    public void showString( byte[] string ) throws IOException {
-    	processEncodedText(string);
-    }
-    
-    /**
      * Process encoded text from the PDF Stream. 
      * You should override this method if you want to perform an action when 
      * encoded text is being processed.

Modified: incubator/pdfbox/trunk/src/main/java/org/apache/pdfbox/util/PDFText2HTML.java
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/src/main/java/org/apache/pdfbox/util/PDFText2HTML.java?rev=743530&r1=743529&r2=743530&view=diff
==============================================================================
--- incubator/pdfbox/trunk/src/main/java/org/apache/pdfbox/util/PDFText2HTML.java (original)
+++ incubator/pdfbox/trunk/src/main/java/org/apache/pdfbox/util/PDFText2HTML.java Wed Feb
11 22:05:43 2009
@@ -81,13 +81,6 @@
         return titleGuess;
     }
 
-    /**
-     * @deprecated
-     * {@inheritDoc}
-     */
-    protected void flushText() throws IOException {
-        writePage();
-    }
 
     /**
      * {@inheritDoc}

Modified: incubator/pdfbox/trunk/src/main/java/org/apache/pdfbox/util/PDFTextStripper.java
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/src/main/java/org/apache/pdfbox/util/PDFTextStripper.java?rev=743530&r1=743529&r2=743530&view=diff
==============================================================================
--- incubator/pdfbox/trunk/src/main/java/org/apache/pdfbox/util/PDFTextStripper.java (original)
+++ incubator/pdfbox/trunk/src/main/java/org/apache/pdfbox/util/PDFTextStripper.java Wed Feb
11 22:05:43 2009
@@ -382,13 +382,6 @@
         //default is to do nothing
     }
 
-    /**
-     * @deprecated
-     * @see writePage(). 
-     */
-    protected void flushText() throws IOException {
-        writePage();
-    }
 
     /**
      * This will print the text of the processed page to "output".
@@ -694,14 +687,6 @@
         output.write(getLineSeparator());
     }
     
-    /**
-     * @deprecated
-     * @see writeLineSeparator()
-     */
-    protected void processLineSeparator( TextPosition currentText ) throws IOException
-    {
-    	writeLineSeparator();
-    }
 
     /**
      * Write the word separator value to the output stream
@@ -711,15 +696,6 @@
     {
         output.write(getWordSeparator());
     }
-    
-    /**
-     * @deprecated
-     * @see writeWordSeparator() 
-     */
-    protected void processWordSeparator( TextPosition lastText, TextPosition currentText
) throws IOException
-    {
-    	writeWordSeparator();
-    }
 
     /**
      * Write the string in TextPosition to the output stream.
@@ -754,16 +730,7 @@
     {
         return second > first - variance && second < first + variance;
     }
-
     
-    /**
-     * @deprecated
-     * {@inheritDoc}
-     */
-    protected void showCharacter( TextPosition text )
-    {
-    	processTextPosition(text);
-    }
     
     /**
      * This will process a TextPosition object and add the

Modified: incubator/pdfbox/trunk/src/main/java/org/apache/pdfbox/util/PDFTextStripperByArea.java
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/src/main/java/org/apache/pdfbox/util/PDFTextStripperByArea.java?rev=743530&r1=743529&r2=743530&view=diff
==============================================================================
--- incubator/pdfbox/trunk/src/main/java/org/apache/pdfbox/util/PDFTextStripperByArea.java
(original)
+++ incubator/pdfbox/trunk/src/main/java/org/apache/pdfbox/util/PDFTextStripperByArea.java
Wed Feb 11 22:05:43 2009
@@ -115,13 +115,6 @@
         }
     }
 
-    /**
-     * @deprecated
-     * {@inheritDoc}
-     */
-    protected void showCharacter( TextPosition text ) {
-        processTextPosition(text);
-    }
     
     /**
      * {@inheritDoc}
@@ -143,14 +136,6 @@
 
     
     /**
-     * @deprecated
-     * {@inheritDoc}
-     */
-    protected void flushText() throws IOException {
-    	writePage();
-    }
-    
-    /**
      * This will print the processed page text to the output stream.
      *
      * @throws IOException If there is an error writing the text.



Mime
View raw message