Enable word wrapping with preference key editor.wrap.words (false by default)
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.wiki / src / net / sourceforge / phpeclipse / wiki / actions / mediawiki / connect / Content.java
1 package net.sourceforge.phpeclipse.wiki.actions.mediawiki.connect;
2 //Parts of this sources are copied and modified from the jEdit Wikipedia plugin:
3 //http://www.djini.de/software/wikipedia/index.html
4 //
5 //The modified sources are available under the "Common Public License"
6 //with permission from the original author: Daniel Wunsch
7
8 public class Content {
9   String timestamp;
10   String body;
11
12   /**
13    * the Content of a Page 
14    * @param timestamp
15    * @param body
16    */
17   public Content(String timestamp, String body) {
18     this.timestamp = timestamp;
19     this.body = body;
20   }
21   /**
22    * @return Returns the body.
23    */
24   public String getBody() {
25     return body;
26   }
27   /**
28    * @return Returns the timestamp.
29    */
30   public String getTimestamp() {
31     return timestamp;
32   }
33 }