http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/8a05c79d/content/api-documentation/org/apache/juneau/client/package-tree.html ---------------------------------------------------------------------- diff --git a/content/api-documentation/org/apache/juneau/client/package-tree.html b/content/api-documentation/org/apache/juneau/client/package-tree.html new file mode 100644 index 0000000..b7a8b63 --- /dev/null +++ b/content/api-documentation/org/apache/juneau/client/package-tree.html @@ -0,0 +1,221 @@ + + + + + +org.apache.juneau.client Class Hierarchy (Juneau) + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Hierarchy For Package org.apache.juneau.client

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/8a05c79d/content/api-documentation/org/apache/juneau/client/package-use.html ---------------------------------------------------------------------- diff --git a/content/api-documentation/org/apache/juneau/client/package-use.html b/content/api-documentation/org/apache/juneau/client/package-use.html new file mode 100644 index 0000000..fa8f2df --- /dev/null +++ b/content/api-documentation/org/apache/juneau/client/package-use.html @@ -0,0 +1,212 @@ + + + + + +Uses of Package org.apache.juneau.client (Juneau) + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Uses of Package
org.apache.juneau.client

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/8a05c79d/content/api-documentation/org/apache/juneau/csv/CsvSerializer.html ---------------------------------------------------------------------- diff --git a/content/api-documentation/org/apache/juneau/csv/CsvSerializer.html b/content/api-documentation/org/apache/juneau/csv/CsvSerializer.html new file mode 100644 index 0000000..32565f1 --- /dev/null +++ b/content/api-documentation/org/apache/juneau/csv/CsvSerializer.html @@ -0,0 +1,364 @@ + + + + + +CsvSerializer (Juneau) + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
org.apache.juneau.csv
+

Class CsvSerializer

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/8a05c79d/content/api-documentation/org/apache/juneau/csv/class-use/CsvSerializer.html ---------------------------------------------------------------------- diff --git a/content/api-documentation/org/apache/juneau/csv/class-use/CsvSerializer.html b/content/api-documentation/org/apache/juneau/csv/class-use/CsvSerializer.html new file mode 100644 index 0000000..361b00d --- /dev/null +++ b/content/api-documentation/org/apache/juneau/csv/class-use/CsvSerializer.html @@ -0,0 +1,165 @@ + + + + + +Uses of Class org.apache.juneau.csv.CsvSerializer (Juneau) + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Uses of Class
org.apache.juneau.csv.CsvSerializer

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/8a05c79d/content/api-documentation/org/apache/juneau/csv/package-frame.html ---------------------------------------------------------------------- diff --git a/content/api-documentation/org/apache/juneau/csv/package-frame.html b/content/api-documentation/org/apache/juneau/csv/package-frame.html new file mode 100644 index 0000000..50115e5 --- /dev/null +++ b/content/api-documentation/org/apache/juneau/csv/package-frame.html @@ -0,0 +1,19 @@ + + + + + +org.apache.juneau.csv (Juneau) + + + + +

org.apache.juneau.csv

+
+

Classes

+ +
+ + http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/8a05c79d/content/api-documentation/org/apache/juneau/csv/package-summary.html ---------------------------------------------------------------------- diff --git a/content/api-documentation/org/apache/juneau/csv/package-summary.html b/content/api-documentation/org/apache/juneau/csv/package-summary.html new file mode 100644 index 0000000..a60410c --- /dev/null +++ b/content/api-documentation/org/apache/juneau/csv/package-summary.html @@ -0,0 +1,172 @@ + + + + + +org.apache.juneau.csv (Juneau) + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Package org.apache.juneau.csv

+
+
CSV serialization and parsing support
+
+

See: Description

+
+
+ + + + +

Package org.apache.juneau.csv Description

+

CSV serialization and parsing support

+ + + +This code is currently work-in-progress.
+
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/8a05c79d/content/api-documentation/org/apache/juneau/csv/package-tree.html ---------------------------------------------------------------------- diff --git a/content/api-documentation/org/apache/juneau/csv/package-tree.html b/content/api-documentation/org/apache/juneau/csv/package-tree.html new file mode 100644 index 0000000..05e0cd6 --- /dev/null +++ b/content/api-documentation/org/apache/juneau/csv/package-tree.html @@ -0,0 +1,152 @@ + + + + + +org.apache.juneau.csv Class Hierarchy (Juneau) + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Hierarchy For Package org.apache.juneau.csv

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/8a05c79d/content/api-documentation/org/apache/juneau/csv/package-use.html ---------------------------------------------------------------------- diff --git a/content/api-documentation/org/apache/juneau/csv/package-use.html b/content/api-documentation/org/apache/juneau/csv/package-use.html new file mode 100644 index 0000000..a4acb4f --- /dev/null +++ b/content/api-documentation/org/apache/juneau/csv/package-use.html @@ -0,0 +1,160 @@ + + + + + +Uses of Package org.apache.juneau.csv (Juneau) + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Uses of Package
org.apache.juneau.csv

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/8a05c79d/content/api-documentation/org/apache/juneau/doc-files/AddressBook.html ---------------------------------------------------------------------- diff --git a/content/api-documentation/org/apache/juneau/doc-files/AddressBook.html b/content/api-documentation/org/apache/juneau/doc-files/AddressBook.html new file mode 100644 index 0000000..10f6427 --- /dev/null +++ b/content/api-documentation/org/apache/juneau/doc-files/AddressBook.html @@ -0,0 +1,113 @@ + + + + + + + + +

+ +

AddressBook sample source

+

+ Sample code use in various examples throughout the Javadocs. Represents a simple POJO model consisting + of a collection (LinkedList), beans (Address, Person), and a type 4a transformed type (Calendar). +

+

+ Public fields are used for bean properties in-leu of getters and setters to reduce the size of the example. + Bean properties defined using getters and setters would work identically. +

+ +
AddressBook.java
+

+ // A collection of people + public class AddressBook extends LinkedList<Person> { + + // Extra method for adding a person to this address book. + // Used in PojoIntrospector usage examples. + public void addPerson(String name, String birthDate, List<Address> addresses) { + add(new Person(name, birthdate, addresses)); + } + } +

+ +
Address.java
+

+ public class Address { + + // Bean properties + public String street, city, state; + public int zip; + public boolean isCurrent; + + // Bean constructor + public Address() {} + + // Other constructor + public Address(String street, String city, String state, int zip, boolean isCurrent) { + this.street = street; + this.city = city; + this.state = state; + this.zip = zip; + this.isCurrent = isCurrent; + } + } +

+ +
Person.java
+

+ public class Person { + + // Bean properties + public String name; + public int age; + public Calendar birthDate; + + public LinkedList<Address> addresses = new LinkedList<Address>(); + + // Bean constructor + public Person() {} + + // Other constructor + public Person(String name, String birthDate, Address...addresses) { + this.name = name; + this.birthDate = getBirthDate(birthDate); + this.age = calcAge(birthDate); + this.addresses.addAll(Arrays.asList(addresses)); + } + + // Other method + // Calculates a persons age based on the birthdate + public static int calcAge(String birthDate) { + return new GregorianCalendar().get(Calendar.YEAR) - getBirthDate(birthDate).get(Calendar.YEAR); + } + + // Utility method + // Converts a birthdate string to a Calendar + private static Calendar getBirthDate(String birthDate) { + try { + Calendar c = new GregorianCalendar(); + c.setTime(DateFormat.getDateInstance(DateFormat.MEDIUM).parse(birthDate)); + return c; + } catch (ParseException e) { + throw new RuntimeException(e); + } + } + } +

+ + \ No newline at end of file