diff options
Diffstat (limited to 'pg/src/main/java/org/bouncycastle/openpgp/WrappedGeneratorStream.java')
-rw-r--r-- | pg/src/main/java/org/bouncycastle/openpgp/WrappedGeneratorStream.java | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/pg/src/main/java/org/bouncycastle/openpgp/WrappedGeneratorStream.java b/pg/src/main/java/org/bouncycastle/openpgp/WrappedGeneratorStream.java deleted file mode 100644 index 5b9191d9..00000000 --- a/pg/src/main/java/org/bouncycastle/openpgp/WrappedGeneratorStream.java +++ /dev/null @@ -1,46 +0,0 @@ -package org.bouncycastle.openpgp; - -import java.io.IOException; -import java.io.OutputStream; - -class WrappedGeneratorStream - extends OutputStream -{ - private final OutputStream _out; - private final StreamGenerator _sGen; - - public WrappedGeneratorStream(OutputStream out, StreamGenerator sGen) - { - _out = out; - _sGen = sGen; - } - public void write(byte[] bytes) - throws IOException - { - _out.write(bytes); - } - - public void write(byte[] bytes, int offset, int length) - throws IOException - { - _out.write(bytes, offset, length); - } - - public void write(int b) - throws IOException - { - _out.write(b); - } - - public void flush() - throws IOException - { - _out.flush(); - } - - public void close() - throws IOException - { - _sGen.close(); - } -} |