package jp.agentec.adf.net.http;

import org.junit.Test;

public class HttpWebPageDownloaderTest {

	@Test
	public void testSync() throws Exception {
//		System.out.println(HttpWebPageDownloader.fetchFile("https://web3.agentec.jp/kddi/path/Weather/Weather_files/d634f70b90bd7b89996c2bbdec1ac576.jpg", "/var/android/content1");
//		System.out.println(HttpWebPageDownloader.getUrl("https://web3.agentec.jp/kddi/path/unkou/unkou.html", "/var/android/content1"));
//		System.out.println(HttpWebPageDownloader.getUrl("https://web3.agentec.jp/kddi/path/News05/News05.html", "/var/android/content2"));
//		System.out.println(HttpWebPageDownloader.getUrl("https://web3.agentec.jp/kddi/path/RSS09/RSS09.html", "/var/android/content3"));
//		System.out.println(HttpWebPageDownloader.getUrl("https://web3.agentec.jp/kddi/path/Weather/Weather.html", "/var/android/content4"));
		System.out.println(HttpWebPageDownloader.getUrl("http://www.agentec.jp/", "/var/android/agentec"));

		System.out.println("finished");
	}

}
