public static Collection < String > getSupportedProtocols ( ) { List < String > protocols = new ArrayList <> ( ) ; protocols . add ( DataPacketExtension . NAMESPACE ) ; if ( ! IBB_ONLY ) { protocols . add ( Bytestream . NAMESPACE ) ; } return Collections . unmodifiableList ( protocols ) ; }
Returns a collection of the supported transfer protocols .