All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aspire.nm.component.common.mobile.Strategy.Impl.CommonLoader Maven / Gradle / Ivy

There is a newer version: 1.0.10
Show newest version
package com.aspire.nm.component.common.mobile.Strategy.Impl;

import java.util.List;

import com.aspire.nm.component.common.mobile.Strategy.LoadStrategy;
import com.aspire.nm.component.common.mobile.Strategy.Impl.db.black.Black;
import com.aspire.nm.component.common.mobile.Strategy.Impl.db.legalPerfix.LegalPerfix;
import com.aspire.nm.component.common.mobile.Strategy.Impl.db.segment.SegMent;
import com.aspire.nm.component.common.mobile.Strategy.Impl.db.switchs.Swithchs;
import com.aspire.nm.component.common.mobile.Strategy.Impl.db.update.UpdateTimes;


public class CommonLoader implements LoadStrategy{
    
    
    @Override
    public UpdateTimes getUpdateTimes() {
    	return new UpdateTimes();
    }
    @Override
    public List loadSegMents() {
    	return null;
    }

    @Override
    public List loadBlacks() {
        return null;
    }



    @Override
    public List loadSwithchs() {
        return null;
    }

    
    private final String perfix_legal_cmcc_mobile = "134,135,136,137,138,139,147,150,151,152,153,156,157,158,159,178,182,183,187,188";
    private final String perfix_legal_mobile = "13,14,15,18";
    @Override
    public LegalPerfix loadLegalPerfix() {

    	LegalPerfix legalPerfix = new LegalPerfix();
    	legalPerfix.setPerfix_legal_mobile(perfix_legal_mobile.split(","));
        legalPerfix.setPerfix_legal_cmcc_mobile(perfix_legal_cmcc_mobile.split(","));
        return legalPerfix;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy