jbackup/src/main/java/org/jbundle/jbackup/source/BaseSourceFile.java
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;
	}
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;
	}
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.
If there is no input stream use the file to create one .