package Ġcom . h ank kin . reading . dao Ċ Ċ import Ġcom . h ank kin . reading . ui . home . search . Search Dao Ċ import Ġcom . h ank kin . reading . ui . home . search . Search Dao Contract Ċ import Ġcom . h ank kin . reading . ui . tools . ac ount . Account Dao Ċ import Ġcom . h ank kin . reading . ui . tools . ac ount . Account Dao Contract Ċ import Ġcom . h ank kin . reading . ui . tools . translate . Translate Dao Ċ import Ġcom . h ank kin . reading . ui . tools . translate . Translate Dao Contract Ċ import Ġcom . h ank kin . reading . ui . tools . word note . Word Note Dao Ċ import Ġcom . h ank kin . reading . ui . tools . word note . Word Note Dao Contract Ċ Ċ /** Ċ Ġ* Ġ@ author Ġw en xin Ċ Ġ* Ġ@ date Ġ 2 0 1 8 / 1 1 / 1 0 Ċ Ġ*/ Ċ object ĠDao Factory Utils Ġ{ ĊĊĠĠĠ Ġfun Ġ< T > Ġget Dao ( clazz : ĠClass < T >): ĠT Ġ= Ġwhen Ġ( clazz ) Ġ{ ĊĊĠĠĠĠĠĠĠ ĠSearch Dao Contract :: class . java Ġ-> ĠSearch Dao () ĊĠĠĠĠĠĠĠ ĠTranslate Dao Contract :: class . java Ġ-> ĠTranslate Dao () ĊĠĠĠĠĠĠĠ ĠWord Note Dao Contract :: class . java Ġ-> ĠWord Note Dao () ĊĠĠĠĠĠĠĠ ĠAccount Dao Contract :: class . java Ġ-> ĠAccount Dao () ĊĊĠĠĠĠĠĠĠ Ġelse Ġ-> Ġthrow ĠClass NotFoundException (" Not Ġfound Ġ: Ġ${ clazz . name }") ĊĠĠĠ Ġ} Ġas ĠT Ċ }