Modified:
wiki/JaCliWithOpenCSV.wiki
Log:
Edited wiki page through web user interface.
Modified: wiki/JaCliWithOpenCSV.wiki
==============================================================================
--- wiki/JaCliWithOpenCSV.wiki (original)
+++ wiki/JaCliWithOpenCSV.wiki Thu Jun 19 05:41:48 2008
@@ -36,4 +36,50 @@
}
}
}
+}}}
+
+
+
+=Address.java is the Bean Class=
+{{{
+package com.bokeland.imports.common.csv;
+
+import com.google.jacli.Argument;
+
+public class Address {
+ @Argument(id = 0)
+ private String name;
+ @Argument(id = 1)
+ private String addr;
+ @Argument(id = 2)
+ private String email;
+
+ public final String getName() {
+ return name;
+ }
+
+ public final void setName(final String newName) {
+ this.name = newName;
+ }
+
+ public final String getAddr() {
+ return addr;
+ }
+
+ public final void setAddr(final String newAddr) {
+ this.addr = newAddr;
+ }
+
+ public final String getEmail() {
+ return email;
+ }
+
+ public final void setEmail(final String newEmail) {
+ this.email = newEmail;
+ }
+
+ public String toString() {
+ return name + " " + addr + " " + email;
+ }
+}
}}}