public ImportItem guessType(File f){
  Pattern extp=Pattern.compile(".*?(?<Ext>(\\.[^\\.]+)$)");
  ImportItem item;
  Matcher m=extp.matcher(f.getName());
  if (m.matches()) {
    item=getItem(f,matchExtension(m.group("Ext")));
  }
 else {
    item=getItem(f,Import.None);
  }
  return item;
}

public ImportItem guessType ( File f ) { Pattern extp = Pattern . compile ( ".*?(?<Ext>(\\.[^\\.]+)$)" ) ; ImportItem item ; Matcher m = extp . matcher ( f . getName ( ) ) ; if ( m . matches ( ) ) { item = getItem ( f , matchExtension ( m . group ( "Ext" ) ) ) ; } else { item = getItem ( f , Import . None ) ; } return item ; }
create ingest items by guessing their type by extension . this should eventually use each reader ' s abstractreader : : test method
