public VCard loadVCard ( EntityBareJid bareJid ) throws NoResponseException , XMPPErrorException , NotConnectedException , InterruptedException { VCard vcardRequest = new VCard ( ) ; vcardRequest . setTo ( bareJid ) ; VCard result = connection ( ) . createStanzaCollectorAndSend ( vcardRequest ) . nextResultOrThrow ( ) ; return result ; }
Load VCard information for a given user .