// Path: src/cn/yo2/aquarium/pocketvoa/parser/IDataSource.java
// public interface IDataSource {
// 	
// 	/*=========================================================================
// 	 * First category 
// 	 ========================================================================*/
// 	public static final String STANDARD_ENGLISH = "Standard English";
// 	public static final String SPECIAL_ENGLISH  = "Special English";
// 	public static final String ENGLISH_LEARNING = "English Learning";
// 	
// 	/*=========================================================================
// 	 * Second category 
// 	 ========================================================================*/
// 	/*
// 	 * Standard English
// 	 */
// 	public static final String ENGLISH_NEWS = "English News";
// 	/*
// 	 * Special English
// 	 */
// 	public static final String TECHNOLOGY_REPORT = "Technology Report";
// 	public static final String THIS_IS_AMERICA = "This is America";
// 	public static final String AGRICULTURE_REPORT = "Agriculture Report";
// 	public static final String SCIENCE_IN_THE_NEWS = "Science in the News";
// 	public static final String HEALTH_REPORT = "Health Report";
// 	public static final String EXPLORATIONS = "Explorations";
// 	public static final String EDUCATION_REPORT = "Education Report";
// 	public static final String THE_MAKING_OF_A_NATION = "The Making of a Nation";
// 	public static final String ECONOMICS_REPORT = "Economics Report";
// 	public static final String AMERICAN_MOSAIC = "American Mosaic";
// 	public static final String IN_THE_NEWS = "In the News";
// 	public static final String AMERICAN_STORIES = "American Stories";
// 	public static final String WORDS_AND_THEIR_STORIES = "Words And Their Stories";
// 	public static final String PEOPLE_IN_AMERICA = "People in America";
// 	/*
// 	 * English Learning
// 	 */
// 	public static final String GO_ENGLISH = "Go English";
// 	public static final String WORD_MASTER = "Word Master";
// 	public static final String AMERICAN_CAFE = "American Cafe";
// 	public static final String POPULAR_AMERICAN = "Popular American";
// 	public static final String BUSINESS_ETIQUETTE = "Business Etiquette";
// 	public static final String SPORTS_ENGLISH = "Sports English";
// 	public static final String WORDS_AND_IDIOMS = "Words And Idioms";
// 
// 		
// 	public void init(int maxCount);
// 	
// 	public HashMap<String, String> getListUrls();
// 	public HashMap<String, IListParser> getListParsers();
// 	public HashMap<String, IPageParser> getPageParsers();
// 	public HashMap<String, IPageParser> getPageZhParsers();
// 	
// 	public String getName();
// }
// 
// Path: src/cn/yo2/aquarium/pocketvoa/parser/IListParser.java
// public interface IListParser {
// 	public ArrayList<Article> parse(String body) throws IllegalContentFormatException;
// 	public int parsePageCount(String body) throws IllegalContentFormatException;
// }
// 
// Path: src/cn/yo2/aquarium/pocketvoa/parser/IPageParser.java
// public interface IPageParser {
// 	public void parse(Article article, String body) throws IllegalContentFormatException;
// }


import java.util.HashMap;
import cn.yo2.aquarium.pocketvoa.parser.IDataSource;
import cn.yo2.aquarium.pocketvoa.parser.IListParser;
import cn.yo2.aquarium.pocketvoa.parser.IPageParser;
package cn.yo2.aquarium.pocketvoa.parser.iciba;




public class IcibaDataSource implements IDataSource {

	static final String HOST = "http://news.iciba.com";

	// standard English
	static final String ENGLISH_NEWS = HOST + "/1598/index_1.html";

	// special English
	static final String DEVELOPMENT_REPORT = HOST
			+ "/1575/index_1.html";
	static final String THIS_IS_AMERICA = HOST + "/1574/index_1.html";
	static final String AGRICULTURE_REPORT = HOST
			+ "/1573/index_1.html";
	static final String SCIENCE_IN_THE_NEWS = HOST
			+ "/1572/index_1.html";
	static final String HEALTH_REPORT = HOST + "/1571/index_1.html";
	static final String EXPLORATIONS = HOST + "/1576/index_1.html";
	static final String EDUCATION_REPORT = HOST + "/1577/index_1.html";
	static final String THE_MAKING_OF_A_NATION = HOST
			+ "/1584/index_1.html";
	static final String ECONOMICS_REPORT = HOST + "/1578/index_1.html";
	static final String AMERICAN_MOSAIC = HOST + "/1581/index_1.html";
	static final String IN_THE_NEWS = HOST + "/1583/index_1.html";
	static final String AMERICAN_STORIES = HOST + "/1582/index_1.html";
	static final String WORDS_AND_THEIR_STORIES = HOST
			+ "/1580/index_1.html";
	static final String PEOPLE_IN_AMERICA = HOST + "/1579/index_1.html";

	// English learning
	static final String POPULAR_AMERICAN = HOST + "/1603/index_1.html";

	public String getName() {
		return "www.iciba.com";
	}

	// Article type_subtype ->
	public final HashMap<String, String> mListUrls = new HashMap<String, String>();
	// Article type_subtype ->
	public final HashMap<String, IListParser> mListParsers = new HashMap<String, IListParser>();
	// Article type_subtype ->
// Path: src/cn/yo2/aquarium/pocketvoa/parser/IDataSource.java
// public interface IDataSource {
// 	
// 	/*=========================================================================
// 	 * First category 
// 	 ========================================================================*/
// 	public static final String STANDARD_ENGLISH = "Standard English";
// 	public static final String SPECIAL_ENGLISH  = "Special English";
// 	public static final String ENGLISH_LEARNING = "English Learning";
// 	
// 	/*=========================================================================
// 	 * Second category 
// 	 ========================================================================*/
// 	/*
// 	 * Standard English
// 	 */
// 	public static final String ENGLISH_NEWS = "English News";
// 	/*
// 	 * Special English
// 	 */
// 	public static final String TECHNOLOGY_REPORT = "Technology Report";
// 	public static final String THIS_IS_AMERICA = "This is America";
// 	public static final String AGRICULTURE_REPORT = "Agriculture Report";
// 	public static final String SCIENCE_IN_THE_NEWS = "Science in the News";
// 	public static final String HEALTH_REPORT = "Health Report";
// 	public static final String EXPLORATIONS = "Explorations";
// 	public static final String EDUCATION_REPORT = "Education Report";
// 	public static final String THE_MAKING_OF_A_NATION = "The Making of a Nation";
// 	public static final String ECONOMICS_REPORT = "Economics Report";
// 	public static final String AMERICAN_MOSAIC = "American Mosaic";
// 	public static final String IN_THE_NEWS = "In the News";
// 	public static final String AMERICAN_STORIES = "American Stories";
// 	public static final String WORDS_AND_THEIR_STORIES = "Words And Their Stories";
// 	public static final String PEOPLE_IN_AMERICA = "People in America";
// 	/*
// 	 * English Learning
// 	 */
// 	public static final String GO_ENGLISH = "Go English";
// 	public static final String WORD_MASTER = "Word Master";
// 	public static final String AMERICAN_CAFE = "American Cafe";
// 	public static final String POPULAR_AMERICAN = "Popular American";
// 	public static final String BUSINESS_ETIQUETTE = "Business Etiquette";
// 	public static final String SPORTS_ENGLISH = "Sports English";
// 	public static final String WORDS_AND_IDIOMS = "Words And Idioms";
// 
// 		
// 	public void init(int maxCount);
// 	
// 	public HashMap<String, String> getListUrls();
// 	public HashMap<String, IListParser> getListParsers();
// 	public HashMap<String, IPageParser> getPageParsers();
// 	public HashMap<String, IPageParser> getPageZhParsers();
// 	
// 	public String getName();
// }
// 
// Path: src/cn/yo2/aquarium/pocketvoa/parser/IListParser.java
// public interface IListParser {
// 	public ArrayList<Article> parse(String body) throws IllegalContentFormatException;
// 	public int parsePageCount(String body) throws IllegalContentFormatException;
// }
// 
// Path: src/cn/yo2/aquarium/pocketvoa/parser/IPageParser.java
// public interface IPageParser {
// 	public void parse(Article article, String body) throws IllegalContentFormatException;
// }


// Path: src/cn/yo2/aquarium/pocketvoa/parser/iciba/IcibaDataSource.java
import java.util.HashMap;
import cn.yo2.aquarium.pocketvoa.parser.IDataSource;
import cn.yo2.aquarium.pocketvoa.parser.IListParser;
import cn.yo2.aquarium.pocketvoa.parser.IPageParser;

package cn.yo2.aquarium.pocketvoa.parser.iciba;




public class IcibaDataSource implements IDataSource {

	static final String HOST = "http://news.iciba.com";

	// standard English
	static final String ENGLISH_NEWS = HOST + "/1598/index_1.html";

	// special English
	static final String DEVELOPMENT_REPORT = HOST
			+ "/1575/index_1.html";
	static final String THIS_IS_AMERICA = HOST + "/1574/index_1.html";
	static final String AGRICULTURE_REPORT = HOST
			+ "/1573/index_1.html";
	static final String SCIENCE_IN_THE_NEWS = HOST
			+ "/1572/index_1.html";
	static final String HEALTH_REPORT = HOST + "/1571/index_1.html";
	static final String EXPLORATIONS = HOST + "/1576/index_1.html";
	static final String EDUCATION_REPORT = HOST + "/1577/index_1.html";
	static final String THE_MAKING_OF_A_NATION = HOST
			+ "/1584/index_1.html";
	static final String ECONOMICS_REPORT = HOST + "/1578/index_1.html";
	static final String AMERICAN_MOSAIC = HOST + "/1581/index_1.html";
	static final String IN_THE_NEWS = HOST + "/1583/index_1.html";
	static final String AMERICAN_STORIES = HOST + "/1582/index_1.html";
	static final String WORDS_AND_THEIR_STORIES = HOST
			+ "/1580/index_1.html";
	static final String PEOPLE_IN_AMERICA = HOST + "/1579/index_1.html";

	// English learning
	static final String POPULAR_AMERICAN = HOST + "/1603/index_1.html";

	public String getName() {
		return "www.iciba.com";
	}

	// Article type_subtype ->
	public final HashMap<String, String> mListUrls = new HashMap<String, String>();
	// Article type_subtype ->
	public final HashMap<String, IListParser> mListParsers = new HashMap<String, IListParser>();
	// Article type_subtype ->
	public final HashMap<String, IPageParser> mPageParsers = new HashMap<String, IPageParser>();