X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsonitus%2Fdata%2FFilter.java;h=897da01af286b59baf2e34c8b004e815015f821a;hb=518d9e00f19f21e63b541e89f21c21186f674018;hp=94c986c9337b486ab0e3cea9dc8ad571341c86d2;hpb=740ea4925e1e20cde0f15afcb105de1f11371dba;p=sonitus.git 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{ }