while (cookieEnumerator.hasMoreElements()) {
// Not sure how to get the nsICookie Object.
nsICookie cookie =
(nsICookie)cookieEnumerator.getNext().queryInterface(nsICookie.NS_ICOOKIE_IID);
System.out.println(cookie.getName());
System.out.println(cookie.getHost());
}
If anyone has a place to gather more information for using the JavaXPCOM
other than the XUL Planet site I would love to know.