Add method to get the plain text of a part.
[Sone.git] / src / main / java / net / pterodactylus / sone / text / PostPart.java
index c416c57..6241b7a 100644 (file)
@@ -52,4 +52,16 @@ public class PostPart implements Part {
                return post;
        }
 
+       //
+       // PART METHODS
+       //
+
+       /**
+        * {@inheritDoc}
+        */
+       @Override
+       public String getText() {
+               return post.getText();
+       }
+
 }