There’s a com.sun.labs.tools.blog namespace with some useful classes with names like Blog and MetaWeblogPublisher, which I found in the bloged jar file, but I can’t find any documentation or information on these classes at all.
So what I’ve ended up doing is using the Apache XML-RPC client classes to talk XML-RPC rather than trying to find a higher level interface to it. It’s a pretty simple protocol, so no big deal.
URL blogUrl = new URL("http://my.blog/path.to/xmlrpc.php);
XmlRpcClient xmlrpc = new XmlRpcClient (blogUrl);
Vector params = new Vector ();
Object o = xmlrpc.execute ("metaWeblog.getCategories", params);
That gets back an object (a Vector I believe) that contains the categories on my blog.
Next step: Post something.