Rewriter Sone text parser to separate the parser from the generated HTML.
[Sone.git] / src / main / java / net / pterodactylus / sone / text / Parser.java
index e43ed47..3fef8ae 100644 (file)
@@ -41,6 +41,6 @@ public interface Parser<C extends ParserContext> {
         * @throws IOException
         *             if an I/O error occurs
         */
-       public Part parse(C context, Reader source) throws IOException;
+       public Iterable<Part> parse(C context, Reader source) throws IOException;
 
 }