public static UserCustomDao readTable ( String database , GeoPackageConnection connection , String tableName ) { UserCustomConnection userDb = new UserCustomConnection ( connection ) ; UserCustomTable userCustomTable = UserCustomTableReader . readTable ( userDb , tableName ) ; UserCustomDao dao = new UserCustomDao ( database , connection , userDb , userCustomTable ) ; return dao ; }
Read the database table and create a DAO