private void scanFile ( File file ) { try { InplaceFileConverter fc = new InplaceFileConverter ( ruleSet , progressListener ) ; fc . convert ( file ) ; } catch ( IOException exc ) { addException ( new ConversionException ( exc . toString ( ) ) ) ; } }
Convert the specified file Read each line and ask matcher implementation for conversion Rewrite the line returned by matcher