public InputStream makeInStream ( ) { if ( m_InputStream != null ) return m_InputStream ; try { return new FileInputStream ( m_inputFile ) ; } catch ( FileNotFoundException ex ) { System . out . println ( "Warning: scanned file does not exist: " + m_inputFile . getPath ( ) ) ; // Skip this file } return null ; }
If there is no input stream use the file to create one .