Code example for Provider

Methods: getName

0
     *  
     * @param providerNumber 
     */ 
    public static void removeProvider(int providerNumber) {
        Provider p = providers.remove(providerNumber - 1);
        providersNames.remove(p.getName());
        setNeedRefresh(); 
    } 
 
    /*** 
     *  
     * Adds information about provider services into HashMap. 
     *  
     * @param p 
     */ 
    public static void initServiceInfo(Provider p) {
        Provider.Service serv;
        String key;
        String type;
        String alias;
        StringBuilder sb = new StringBuilder(128);