From 518d9e00f19f21e63b541e89f21c21186f674018 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 15 Mar 2013 07:57:57 +0100 Subject: [PATCH] A filter is both source and sink. --- .../net/pterodactylus/sonitus/data/Filter.java | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/src/main/java/net/pterodactylus/sonitus/data/Filter.java b/src/main/java/net/pterodactylus/sonitus/data/Filter.java index 94c986c..897da01 100644 --- a/src/main/java/net/pterodactylus/sonitus/data/Filter.java +++ b/src/main/java/net/pterodactylus/sonitus/data/Filter.java @@ -22,26 +22,6 @@ package net.pterodactylus.sonitus.data; * * @author David ‘Bombe’ Roden */ -public interface Filter { - - /** - * Returns whether this filter understands the given format. - * - * @param format - * The format to check for - * @return {@code true} if this filter understands the given format, {@code - * false} otherwise - */ - boolean understands(Format format); - - /** - * Returns whether this filter can produce the given format. - * - * @param format - * The format to check for - * @return {@code true} if this filter can produce the given format, {@code - * false} otherwise - */ - boolean produces(Format format); +public interface Filter extends Source, Sink{ } -- 2.7.4