// Path: src/us/pfrommer/insteon/utils/ResourceLocator.java
// public interface ResourceLocator {
// 	public InputStream getResource(String resource);
// 	
// 	public class ClasspathResourceLocator implements ResourceLocator {
// 		public InputStream getResource(String resource) {
// 			InputStream in = ResourceLocator.class.getClassLoader().getResourceAsStream(resource);
// 			if (in == null) throw new RuntimeException("Resource " + resource + " not found");
// 			return in;
// 		}
// 	}
// 	public class FolderResourceLocator implements ResourceLocator {
// 		private File m_file;
// 		public FolderResourceLocator(File file) {
// 			m_file = file;
// 		}
// 		public InputStream getResource(String resource) {
// 			try {
// 				return new FileInputStream(new File(m_file, resource));
// 			} catch (FileNotFoundException e) {
// 				throw new RuntimeException(e);
// 			}
// 		}
// 	}
// }


import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import us.pfrommer.insteon.utils.ResourceLocator;
package us.pfrommer.insteon.terminal;




// Responsible for managing insteon-terminal files
public class Configurator {
	private static final Logger logger = LoggerFactory.getLogger(Configurator.class);

	private String[] m_pythonPath = null;
	
	public Configurator() {

	}

// Path: src/us/pfrommer/insteon/utils/ResourceLocator.java
// public interface ResourceLocator {
// 	public InputStream getResource(String resource);
// 	
// 	public class ClasspathResourceLocator implements ResourceLocator {
// 		public InputStream getResource(String resource) {
// 			InputStream in = ResourceLocator.class.getClassLoader().getResourceAsStream(resource);
// 			if (in == null) throw new RuntimeException("Resource " + resource + " not found");
// 			return in;
// 		}
// 	}
// 	public class FolderResourceLocator implements ResourceLocator {
// 		private File m_file;
// 		public FolderResourceLocator(File file) {
// 			m_file = file;
// 		}
// 		public InputStream getResource(String resource) {
// 			try {
// 				return new FileInputStream(new File(m_file, resource));
// 			} catch (FileNotFoundException e) {
// 				throw new RuntimeException(e);
// 			}
// 		}
// 	}
// }


// Path: src/us/pfrommer/insteon/terminal/Configurator.java
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import us.pfrommer.insteon.utils.ResourceLocator;

package us.pfrommer.insteon.terminal;




// Responsible for managing insteon-terminal files
public class Configurator {
	private static final Logger logger = LoggerFactory.getLogger(Configurator.class);

	private String[] m_pythonPath = null;
	
	public Configurator() {

	}

	public void loadConfig(ResourceLocator locator) {