public static void main ( String [ ] args ) { try { List < GeneName > geneNames = getGeneNames ( ) ; logger . info ( "got {} gene names" , geneNames . size ( ) ) ; for ( GeneName g : geneNames ) { if ( g . getApprovedSymbol ( ) . equals ( "FOLH1" ) ) logger . info ( "Gene Name: {}" , g ) ; } // and returns a list of beans that contains key-value pairs for each gene name } catch ( Exception e ) { // TODO Auto-generated catch block logger . error ( "Exception: " , e ) ; } }
parses a file from the genenames website