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