Rework the text parser.
[Sone.git] / src / main / java / net / pterodactylus / sone / text / Part.java
index 79c59dc..143de1b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - Part.java - Copyright © 2010–2012 David Roden
+ * Sone - Part.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
@@ -32,6 +32,9 @@ public interface Part {
         *
         * @return The plain text of this part
         */
-       public String getText();
+       String getText();
+
+       boolean isPlainText();
+       boolean isFreenetLink();
 
 }