Implemeted action for uploading Wikipedia articles (thanks to D.Wunsch)
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.wiki / src / net / sourceforge / phpeclipse / wiki / actions / mediawiki / connect / Content.java
diff --git a/archive/net.sourceforge.phpeclipse.wiki/src/net/sourceforge/phpeclipse/wiki/actions/mediawiki/connect/Content.java b/archive/net.sourceforge.phpeclipse.wiki/src/net/sourceforge/phpeclipse/wiki/actions/mediawiki/connect/Content.java
new file mode 100644 (file)
index 0000000..d701056
--- /dev/null
@@ -0,0 +1,23 @@
+package net.sourceforge.phpeclipse.wiki.actions.mediawiki.connect;
+//Parts of this sources are copied and modified from the jEdit Wikipedia plugin:
+//http://www.djini.de/software/wikipedia/index.html
+//
+//The modified sources are available under the "Common Public License"
+//with permission from the original author: Daniel Wunsch
+
+public class Content {
+  String timestamp;
+
+  String body;
+
+  /**
+   * the Content of a Page 
+   * 
+   * @param timestamp
+   * @param body
+   */
+  public Content(String timestamp, String body) {
+    this.timestamp = timestamp;
+    this.body = body;
+  }
+}
\ No newline at end of file