private static TableInfo createTableInfo(String tableName,Integer pageNumber,int flags,Short type,String linkedDbName,String linkedTableName){
  if (TYPE_LINKED_TABLE.equals(type)) {
    return new LinkedTableInfo(pageNumber,tableName,flags,linkedDbName,linkedTableName);
  }
  return new TableInfo(pageNumber,tableName,flags);
}

private static TableInfo createTableInfo ( String tableName , Integer pageNumber , int flags , Short type , String linkedDbName , String linkedTableName ) { if ( TYPE_LINKED_TABLE . equals ( type ) ) { return new LinkedTableInfo ( pageNumber , tableName , flags , linkedDbName , linkedTableName ) ; } return new TableInfo ( pageNumber , tableName , flags ) ; }
creates a tableinfo instance appropriate for the given table data .
