public String loadFile ( final URI fileUri ) { try { for ( final MigrationLoader loader : loaders ) { if ( loader . accept ( fileUri ) ) { return loader . loadFile ( fileUri ) ; } } return null ; } catch ( IOException ioe ) { throw new MigratoryException ( Reason . INTERNAL , ioe ) ; } }
Load a file from an URI .