public DenetlemeCebi cep()
        {
            if (!cepKullan)
            {
                logger.Info("cep kullanilmayacak.");
                return(null);
            }

            if (_cep != null)
            {
                return(_cep);
            }
            else
            {
                try {
                    _cep = new BasitDenetlemeCebi(cepDosyaAdi);
                } catch (IOException e)
                {
                    logger.Warn("cep dosyasina (" + cepDosyaAdi + ") erisilemiyor. sistem cep kullanmayacak. Hata : " + e.Message);
                    _cep = null;
                }
            }
            return(_cep);
        }
示例#2
0
        public DenetlemeCebi cep() {
            if(!cepKullan) {
                logger.Info("cep kullanilmayacak.");
                return null;
            }

            if (_cep != null) {
                return _cep;
            } else {
                try {
                    _cep = new BasitDenetlemeCebi(cepDosyaAdi);
                } catch (IOException e) 
                {
                    logger.Warn("cep dosyasina (" + cepDosyaAdi + ") erisilemiyor. sistem cep kullanmayacak. Hata : "+e.Message);
                    _cep = null;
                }
            }
            return _cep;
        }
示例#3
0
 public TurkceCozumlemeYardimcisi(Alfabe alfabe,
                                  DenetlemeCebi cep)
 {
     this.alfabe = alfabe;
     this.cep    = cep;
 }
 public TurkceCozumlemeYardimcisi(Alfabe alfabe,
                                  DenetlemeCebi cep) {
     this.alfabe = alfabe;
     this.cep = cep;
 }