org.apache.lucene.gdata.server.administration
Class AccountBuilder
java.lang.Object
org.apache.lucene.gdata.server.administration.AccountBuilder
public class AccountBuilder
- extends Object
Helper class to create GDataAccount
instances from a xml stream provided via a Reader
instance.
- Author:
- Simon Willnauer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccountBuilder
public AccountBuilder()
buildAccount
public static GDataAccount buildAccount(Reader reader)
throws IOException,
SAXException
- Reads the xml from the provided reader and binds the values to the
- Parameters:
reader
- - the reader to read the xml from
- Returns:
- - the GDataAccount
- Throws:
IOException
- - if an IOException occurs
SAXException
- - if the xml can not be parsed by the sax reader
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.