From: David ‘Bombe’ Roden Date: Fri, 15 Mar 2013 06:57:57 +0000 (+0100) Subject: A filter is both source and sink. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=518d9e00f19f21e63b541e89f21c21186f674018;p=sonitus.git A filter is both source and sink. --- 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{ }