| java.lang.Object org.apache.solr.core.Config
Config | public class Config (Code) | | author: yonik version: $Id: Config.java 542679 2007-05-29 22:28:21Z ryan $ |
getBool | public boolean getBool(String path, boolean def)(Code) | | |
getClassLoader | static ClassLoader getClassLoader()(Code) | | Returns the singleton classloader to be use when loading resources
specified in any configs.
This loader will delegate to the context classloader when possible,
otherwise it will attempt to resolve resources useing any jar files
found in the "lib/" directory in the "Solr Home" directory.
|
getLines | public static List<String> getLines(String resource) throws IOException(Code) | | Accesses a resource by name and returns the (non comment) lines
containing data.
A comment line is any line that starts with the character "#"
Parameters: resource - a list of non-blank non-comment lines with whitespace trimmedfrom front and back. throws: IOException - |
isInstanceDirInitialized | public static boolean isInstanceDirInitialized()(Code) | | |
setInstanceDir | public static void setInstanceDir(String dir)(Code) | | |
|
|