projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert “image insert failed” into EventBus-based event.
[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
e16dfb4
..
79c59dc
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/text/Part.java
+++ b/
src/main/java/net/pterodactylus/sone/text/Part.java
@@
-1,5
+1,5
@@
/*
/*
- * Sone - Part.java - Copyright © 2010 David Roden
+ * Sone - Part.java - Copyright © 2010
–2012
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
*
* 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
@@
-26,6
+26,12
@@
package net.pterodactylus.sone.text;
*/
public interface Part {
*/
public interface Part {
- /* no methods. */
+ /**
+ * Returns the text contained in this part. This should return plain text
+ * without any format information.
+ *
+ * @return The plain text of this part
+ */
+ public String getText();
}
}