示例#1
0
 /** returns a list of all available codec names */
 public static Set<String> availableCodecs() {
   if (loader == null) {
     throw new IllegalStateException(
         "You called Codec.availableCodecs() before all Codecs could be initialized. "
             + "This likely happens if you call it from a Codec's ctor.");
   }
   return loader.availableServices();
 }
示例#2
0
文件: Codec.java 项目: naryad/Solr4.0
 /** returns a list of all available codec names */
 public static Set<String> availableCodecs() {
   return loader.availableServices();
 }