private static InputStream cowfileToCowInputStream ( final File cowfile ) { InputStream cowInputStream = null ; try { cowInputStream = new FileInputStream ( cowfile ) ; } catch ( FileNotFoundException ex ) { Logger . getLogger ( Cowloader . class . getName ( ) ) . log ( Level . SEVERE , null , ex ) ; } return cowInputStream ; }
Reads a File to an InputStream . Not sure why I thought this should be a separate method I guess it made sense at the time .