aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/pdf
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/pdf')
-rw-r--r--src/java/org/apache/fop/pdf/PDFEncryptionJCE.java20
-rw-r--r--src/java/org/apache/fop/pdf/PDFNull.java1
-rw-r--r--src/java/org/apache/fop/pdf/PDFToUnicodeCMap.java4
3 files changed, 0 insertions, 25 deletions
diff --git a/src/java/org/apache/fop/pdf/PDFEncryptionJCE.java b/src/java/org/apache/fop/pdf/PDFEncryptionJCE.java
index 43a323335..90b530774 100644
--- a/src/java/org/apache/fop/pdf/PDFEncryptionJCE.java
+++ b/src/java/org/apache/fop/pdf/PDFEncryptionJCE.java
@@ -80,26 +80,6 @@ public class PDFEncryptionJCE extends PDFObject implements PDFEncryption {
}
/**
- * Encode the given data with the filter
- * @param data The data to be encrypted
- * @return The encrypted data
- */
- public byte[] encode(byte[] data) {
- return encryption.encryptData(data, number, generation);
- }
-
- /**
- * {@inheritDoc}
- */
- public void encode(InputStream in, OutputStream out, int length)
- throws IOException {
- byte[] buffer = new byte[length];
- in.read(buffer);
- buffer = encode(buffer);
- out.write(buffer);
- }
-
- /**
* {@inheritDoc}
*/
public OutputStream applyFilter(OutputStream out) throws IOException {
diff --git a/src/java/org/apache/fop/pdf/PDFNull.java b/src/java/org/apache/fop/pdf/PDFNull.java
index 01ec7898c..7e11a1763 100644
--- a/src/java/org/apache/fop/pdf/PDFNull.java
+++ b/src/java/org/apache/fop/pdf/PDFNull.java
@@ -33,7 +33,6 @@ public final class PDFNull implements PDFWritable {
/**
* Creates a new PDF name object.
- * @param name the name value
*/
private PDFNull() {
}
diff --git a/src/java/org/apache/fop/pdf/PDFToUnicodeCMap.java b/src/java/org/apache/fop/pdf/PDFToUnicodeCMap.java
index 95999b73f..56ca884f9 100644
--- a/src/java/org/apache/fop/pdf/PDFToUnicodeCMap.java
+++ b/src/java/org/apache/fop/pdf/PDFToUnicodeCMap.java
@@ -79,7 +79,6 @@ public class PDFToUnicodeCMap extends PDFCMap {
/**
* Writes the CMap to a Writer.
- * @param writer the writer
* @throws IOException if an I/O error occurs
*/
public void writeCMap() throws IOException {
@@ -94,7 +93,6 @@ public class PDFToUnicodeCMap extends PDFCMap {
/**
* Writes the character mappings for this font.
- * @param p StingBuffer to write to
*/
protected void writeBFEntries() throws IOException {
if (unicodeCharMap != null) {
@@ -106,7 +104,6 @@ public class PDFToUnicodeCMap extends PDFCMap {
/**
* Writes the entries for single characters of a base font (only characters which cannot be
* expressed as part of a character range).
- * @param p StringBuffer to write to
* @param charArray all the characters to map
* @throws IOException
*/
@@ -147,7 +144,6 @@ public class PDFToUnicodeCMap extends PDFCMap {
/**
* Writes the entries for character ranges for a base font.
- * @param p StringBuffer to write to
* @param charArray all the characters to map
* @throws IOException
*/