public DocumentList(String applicationName, String authProtocol, String authHost, String protocol, String host) throws DocumentListException {
if (authProtocol == null || authHost == null || protocol == null || host == null) {
throw new DocumentListException("null passed in required parameters");
}
service = new DocsService(applicationName);
// Creating a spreadsheets service is necessary for downloading
// spreadsheets
spreadsheetsService = new GoogleService(SPREADSHEETS_SERVICE_NAME, applicationName);