Skip to content

Instantly share code, notes, and snippets.

@Vineeth-Mohan
Created December 22, 2011 07:14
Show Gist options
  • Save Vineeth-Mohan/1509332 to your computer and use it in GitHub Desktop.
Save Vineeth-Mohan/1509332 to your computer and use it in GitHub Desktop.
package com.algoTree.DataSouceFactory;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import org.apache.log4j.Logger;
import com.algoTree.Commons.Feed;
public abstract class DataSource {
public List<Map<String, String>> fetchFeed(Feed feed) throws Exception{
// Parent URL - Child URL map
return null;
}
abstract List<Map<String, String>> getAllFeeds(Feed feed);
abstract String getRelationType();
abstract Boolean postProcess(String docID,String FilePath);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment