X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Ftext%2FParser.java;h=531efa77b9f39b4588f6e6be0a6914e15d72c00c;hp=87cdab5fc290d9196ee5f2358dbaf99db9dd0950;hb=8ee3de9a7ed7c65b5f695dd60da6e55d94c1125e;hpb=94f4a128230d29346545a764d3b4ce984f78fbbc diff --git a/src/main/java/net/pterodactylus/sone/text/Parser.java b/src/main/java/net/pterodactylus/sone/text/Parser.java index 87cdab5..531efa7 100644 --- a/src/main/java/net/pterodactylus/sone/text/Parser.java +++ b/src/main/java/net/pterodactylus/sone/text/Parser.java @@ -1,5 +1,5 @@ /* - * Sone - Parser.java - Copyright © 2010 David Roden + * Sone - Parser.java - Copyright © 2010–2015 David Roden * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -38,9 +38,7 @@ public interface Parser { * @param source * The text source * @return The parsed parts - * @throws IOException - * if an I/O error occurs */ - public Iterable parse(C context, Reader source) throws IOException; + public Iterable parse(C context, String source); }