@ Override public AudioFormat . Encoding [ ] getTargetEncodings ( AudioFormat sourceFormat ) { if ( isAllowedSourceFormat ( sourceFormat ) ) { return getTargetEncodings ( ) ; } else { return EMPTY_ENCODING_ARRAY ; } }
This implementation assumes that the converter can convert from each of its source encodings to each of its target encodings . If this is not the case the converter has to override this method .