Searched refs:clazzName (Results 1 - 4 of 4) sorted by relevance

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/
H A DCommandLineUtil.java39 * @param clazzName The name of the FSDirectory class to load
43 public static FSDirectory newFSDirectory(String clazzName, File file) { argument
45 final Class<? extends FSDirectory> clazz = loadFSDirectoryClass(clazzName);
49 + " implementation not found: " + clazzName, e);
51 throw new IllegalArgumentException(clazzName + " is not a " + FSDirectory.class.getSimpleName()
54 throw new IllegalArgumentException(clazzName + " constructor with "
57 throw new IllegalArgumentException("Error creating " + clazzName + " instance", e);
63 * @param clazzName The name of the Directory class to load
67 public static Class<? extends Directory> loadDirectoryClass(String clazzName) argument
69 return Class.forName(adjustDirectoryClassName(clazzName))
78 loadFSDirectoryClass(String clazzName) argument
83 adjustDirectoryClassName(String clazzName) argument
[all...]
/lucene-3.6.0/solr/core/src/test/org/apache/solr/
H A DSolrInfoMBeanTest.java106 String clazzName = file.substring(0, file.length() - 6);
109 if (!clazzName.endsWith("Test") && !clazzName.startsWith("Test")) {
110 classes.add(Class.forName(pckgname + '.' + clazzName));
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/util/
H A DLuceneTestCase.java1111 static Directory newDirectoryImpl(Random random, String clazzName) { argument
1112 if (clazzName.equals("random"))
1113 clazzName = randomDirectory(random);
1114 if (clazzName.indexOf(".") == -1) // if not fully qualified, assume .store
1115 clazzName = "org.apache.lucene.store." + clazzName;
1117 final Class<? extends Directory> clazz = Class.forName(clazzName).asSubclass(Directory.class);
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/util/
H A DLuceneTestCase.java1287 static Directory newDirectoryImpl(Random random, String clazzName) { argument
1288 if (clazzName.equals("random")) {
1289 clazzName = randomDirectory(random);
1293 final Class<? extends Directory> clazz = CommandLineUtil.loadDirectoryClass(clazzName);

Completed in 670 milliseconds