// Path: kbox.kns/src/main/java/org/aksw/kbox/kns/CustomKNSServerList.java
// public class CustomKNSServerList extends CustomParams implements KNSServerList {
// 	
// 	/**
// 	 * 
// 	 */
// 	private static final long serialVersionUID = -3697460272426263415L;
// 	
// 	public final static String CONTEXT_NAME = "kbox.kns";
// 	public final static String KNS_FILE_NAME = CONTEXT_NAME;
// 	
// 	private KNSServerListVisitor visitor = null;
// 	private boolean next = false;
// 	private CustomParamKNSServerListVisitor customParamKNSServerListVisitor = null;
// 	
// 	public CustomKNSServerList(String path, String contex) {
// 		super(path 
// 				+ File.separator
// 				+ KNS_FILE_NAME, 
// 				CONTEXT_NAME);
// 		customParamKNSServerListVisitor = new CustomParamKNSServerListVisitor();
// 		
// 	}
// 	
// 	public CustomKNSServerList() {
// 		this(KBox.KBOX_DIR,
// 				CONTEXT_NAME);
// 	}
// 	
// 	public boolean visit(KNSServerListVisitor visitor) throws Exception {
// 		this.visitor = visitor;
// 		return super.visit(customParamKNSServerListVisitor);
// 	}
// 	
// 	private class CustomParamKNSServerListVisitor implements CustomParamVisitor {
// 
// 		@Override
// 		public boolean visit(String param) throws Exception {
// 			KNSServer knsServer = new KBoxKNSServer(new URL(param));
// 			next = visitor.visit(knsServer);
// 			return next;
// 		}
// 		
// 	}
// }
// 
// Path: kbox.kns/src/main/java/org/aksw/kbox/kns/KNSServerListVisitor.java
// public interface KNSServerListVisitor extends Visitor<KNSServer> {	
// }


import java.net.MalformedURLException;
import java.net.URL;
import org.aksw.kbox.kns.CustomKNSServerList;
import org.aksw.kbox.kns.KNSServerListVisitor;
package org.aksw.kbox.kibe;



public class DefaultKNSServerList extends URLKNSServerList {
	
	// Default KNS table URL
	private final static String DEFAULT_KNS_TABLE_URL = "https://raw.githubusercontent.com/AKSW/KBox/master/kns/2.0/";

// Path: kbox.kns/src/main/java/org/aksw/kbox/kns/CustomKNSServerList.java
// public class CustomKNSServerList extends CustomParams implements KNSServerList {
// 	
// 	/**
// 	 * 
// 	 */
// 	private static final long serialVersionUID = -3697460272426263415L;
// 	
// 	public final static String CONTEXT_NAME = "kbox.kns";
// 	public final static String KNS_FILE_NAME = CONTEXT_NAME;
// 	
// 	private KNSServerListVisitor visitor = null;
// 	private boolean next = false;
// 	private CustomParamKNSServerListVisitor customParamKNSServerListVisitor = null;
// 	
// 	public CustomKNSServerList(String path, String contex) {
// 		super(path 
// 				+ File.separator
// 				+ KNS_FILE_NAME, 
// 				CONTEXT_NAME);
// 		customParamKNSServerListVisitor = new CustomParamKNSServerListVisitor();
// 		
// 	}
// 	
// 	public CustomKNSServerList() {
// 		this(KBox.KBOX_DIR,
// 				CONTEXT_NAME);
// 	}
// 	
// 	public boolean visit(KNSServerListVisitor visitor) throws Exception {
// 		this.visitor = visitor;
// 		return super.visit(customParamKNSServerListVisitor);
// 	}
// 	
// 	private class CustomParamKNSServerListVisitor implements CustomParamVisitor {
// 
// 		@Override
// 		public boolean visit(String param) throws Exception {
// 			KNSServer knsServer = new KBoxKNSServer(new URL(param));
// 			next = visitor.visit(knsServer);
// 			return next;
// 		}
// 		
// 	}
// }
// 
// Path: kbox.kns/src/main/java/org/aksw/kbox/kns/KNSServerListVisitor.java
// public interface KNSServerListVisitor extends Visitor<KNSServer> {	
// }


// Path: kbox.kibe/src/main/java/org/aksw/kbox/kibe/DefaultKNSServerList.java
import java.net.MalformedURLException;
import java.net.URL;
import org.aksw.kbox.kns.CustomKNSServerList;
import org.aksw.kbox.kns.KNSServerListVisitor;

package org.aksw.kbox.kibe;



public class DefaultKNSServerList extends URLKNSServerList {
	
	// Default KNS table URL
	private final static String DEFAULT_KNS_TABLE_URL = "https://raw.githubusercontent.com/AKSW/KBox/master/kns/2.0/";

	private CustomKNSServerList customKNSServerList = new CustomKNSServerList();