Removed consumers from BdfWriter.

This commit is contained in:
akwizgran
2016-01-22 11:50:06 +00:00
parent d69a242f19
commit d512c218cd
3 changed files with 41 additions and 75 deletions

View File

@@ -9,9 +9,6 @@ public interface BdfWriter {
void flush() throws IOException;
void close() throws IOException;
void addConsumer(Consumer c);
void removeConsumer(Consumer c);
void writeNull() throws IOException;
void writeBoolean(boolean b) throws IOException;
void writeInteger(long l) throws IOException;

View File

@@ -1,10 +0,0 @@
package org.briarproject.api.data;
import java.io.IOException;
public interface Consumer {
void write(byte b) throws IOException;
void write(byte[] b, int off, int len) throws IOException;
}