diff options
Diffstat (limited to 'java/org/brotli/wrapper/enc/BrotliEncoderChannel.java')
-rw-r--r-- | java/org/brotli/wrapper/enc/BrotliEncoderChannel.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/java/org/brotli/wrapper/enc/BrotliEncoderChannel.java b/java/org/brotli/wrapper/enc/BrotliEncoderChannel.java index 047c356..2ee2ba6 100644 --- a/java/org/brotli/wrapper/enc/BrotliEncoderChannel.java +++ b/java/org/brotli/wrapper/enc/BrotliEncoderChannel.java @@ -6,6 +6,7 @@ package org.brotli.wrapper.enc; +import org.brotli.enc.PreparedDictionary; import java.io.IOException; import java.nio.Buffer; import java.nio.ByteBuffer; @@ -43,6 +44,11 @@ public class BrotliEncoderChannel extends Encoder implements WritableByteChannel } @Override + public void attachDictionary(PreparedDictionary dictionary) throws IOException { + super.attachDictionary(dictionary); + } + + @Override public boolean isOpen() { synchronized (mutex) { return !closed; |