X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Ftext%2FParser.java;h=cdd2d6a1759fd3f1d36bdbc75214eae427ffbc76;hb=d8c06351d49f7495e023f43310b8d2d666ed0339;hp=9c5a2dafea73d706b7d7c82ad2fd81e83bc13ec8;hpb=7ec1d08c8eb6ee292dbb34df6c00d9828121aad3;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/text/Parser.java b/src/main/java/net/pterodactylus/sone/text/Parser.java index 9c5a2da..cdd2d6a 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–2013 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 @@ -34,13 +34,13 @@ public interface Parser { * Create one or more {@link Part}s from the given text source. * * @param context - * The parser context + * The parser context (may be {@code null}) * @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; + Iterable parse(C context, Reader source) throws IOException; }