public static Class<? extends DataDecoder> getInstance(Class targetType) { loadInstalledDecoders(); if (targetType.isEnum()) { return EnumDecoder.class; } else { return installedDecoders.get(targetType); } }
public static Class<? extends DataDecoder> getInstance(Class targetType) { loadInstalledDecoders(); if (targetType.isEnum()) { return EnumDecoder.class; } else { return installedDecoders.get(targetType); } }
public static Class<? extends DataDecoder> getInstance(Class targetType) { loadInstalledDecoders(); if (targetType.isEnum()) { return EnumDecoder.class; } else { return installedDecoders.get(targetType); } }
/** * Get the full set of installed decoders, keyed by the decode type. * * @return The set of installed decoders, keyed by the decode type. */ public static Map<Class, Class<? extends DataDecoder>> getInstalledDecoders() { loadInstalledDecoders(); return Collections.unmodifiableMap(installedDecoders); }
/** * Get the full set of installed decoders, keyed by the decode type. * * @return The set of installed decoders, keyed by the decode type. */ public static Map<Class, Class<? extends DataDecoder>> getInstalledDecoders() { loadInstalledDecoders(); return Collections.unmodifiableMap(installedDecoders); }
/** * Get the full set of installed decoders, keyed by the decode type. * * @return The set of installed decoders, keyed by the decode type. */ public static Map<Class, Class<? extends DataDecoder>> getInstalledDecoders() { loadInstalledDecoders(); return Collections.unmodifiableMap(installedDecoders); }