com.aspire.nm.component.common.mobile.Strategy.Impl.CommonLoader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commonUtil Show documentation
Show all versions of commonUtil Show documentation
commonUtil is a dajiangnan's java utils
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;
}
}