projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rework the text parser.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
text
/
Part.java
diff --git
a/src/main/java/net/pterodactylus/sone/text/Part.java
b/src/main/java/net/pterodactylus/sone/text/Part.java
index
4c1a188
..
143de1b
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/text/Part.java
+++ b/
src/main/java/net/pterodactylus/sone/text/Part.java
@@
-32,6
+32,9
@@
public interface Part {
*
* @return The plain text of this part
*/
- public String getText();
+ String getText();
+
+ boolean isPlainText();
+ boolean isFreenetLink();
}