public static FileInputStream getInputStreamByClass ( Class < ? > koanClass ) { FileInputStream in = null ; try { in = new FileInputStream ( getKoanFileLocation ( koanClass ) ) ; } catch ( FileNotFoundException e ) { e . printStackTrace ( ) ; } return in ; }
Gets an input stream by class .