Replace Reader with String in Parser interface
[Sone.git] / src / main / java / net / pterodactylus / sone / text / Parser.java
index f5f8f1b..e654223 100644 (file)
@@ -41,6 +41,6 @@ public interface Parser<C extends ParserContext> {
         * @throws IOException
         *             if an I/O error occurs
         */
-       public Iterable<Part> parse(C context, Reader source) throws IOException;
+       public Iterable<Part> parse(C context, String source) throws IOException;
 
 }