projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Store avatar image in Sone.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
text
/
Parser.java
diff --git
a/src/main/java/net/pterodactylus/sone/text/Parser.java
b/src/main/java/net/pterodactylus/sone/text/Parser.java
index
e43ed47
..
87cdab5
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/text/Parser.java
+++ b/
src/main/java/net/pterodactylus/sone/text/Parser.java
@@
-31,16
+31,16
@@
import java.io.Reader;
public interface Parser<C extends ParserContext> {
/**
public interface Parser<C extends ParserContext> {
/**
- * Create
a {@link Part}
from the given text source.
+ * Create
one or more {@link Part}s
from the given text source.
*
* @param context
*
* @param context
- * The parser context
+ * The parser context
(may be {@code null})
* @param source
* The text source
* @param source
* The text source
- * @return The parsed part
+ * @return The parsed part
s
* @throws IOException
* if an I/O error occurs
*/
* @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;
}
}