public static boolean hasTranslator ( final int mainNumber , final String dptId ) { try { final MainType t = getMainType ( getMainNumber ( mainNumber , dptId ) ) ; if ( t != null ) return t . getSubTypes ( ) . get ( dptId ) != null ; } catch ( final NumberFormatException e ) { } catch ( final KNXException e ) { } return false ; }
Does a lookup if the specified DPT is supported by a DPT translator .