+ @Override
+ public boolean isPlainText() {
+ return true;
+ }
+
+ @Override
+ public boolean isFreenetLink() {
+ return false;
+ }
+
+ @Override
+ public int hashCode() {
+ return text.hashCode();
+ }
+
+ @Override
+ public boolean equals(Object object) {
+ if (!(object instanceof PlainTextPart)) {
+ return false;
+ }
+ PlainTextPart plainTextPart = (PlainTextPart) object;
+ return equal(getText(), plainTextPart.getText());
+ }
+
+ @Override
+ public String toString() {
+ return format("PlainText(%s)", getText());
+ }
+