public final Reader downloadFile(String _month, String _day, String _year) throws PayPalDownloadException, IOException {
long startTime = System.currentTimeMillis();
if (getDownloadUser() == null || getDownloadUser().length() == 0) {
long endTime = System.currentTimeMillis();
LOGM.logFailure("AbstractHttpDownload.downloadFile", startTime, endTime, "username not configured");
throw new PayPalDownloadException("Error downloading file - username not configured.");
}
if (getDownloadPassword() == null || getDownloadPassword().length() == 0) {
long endTime = System.currentTimeMillis();
LOGM.logFailure("AbstractHttpDownload.downloadFile", startTime, endTime, "password not configured");
throw new PayPalDownloadException("Error downloading file - password not configured.");
}
StringWriter writer = new StringWriter();
HttpClient client = new HttpClient();
PostMethod post = new PostMethod(getURL());