Esempio n. 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();
 }
Esempio n. 2
0
 /** returns a list of all available codec names */
 public static Set<String> availableCodecs() {
   return loader.availableServices();
 }