@Override
	public void configure(Configuration parameters) {
		// get the file path
		String filePath = parameters.getString(FILE_PARAMETER_KEY, null);
		if (filePath != null) {
			try {
				this.filePath = new Path(filePath);
			}
			catch (RuntimeException rex) {
				throw new RuntimeException("Could not create a valid URI from the given file path name: " + rex.getMessage()); 
			}
		}
		else if (this.filePath == null) {
			throw new IllegalArgumentException("File path was not specified in input format, or configuration."); 
		}
	}
@ Override public void configure ( Configuration parameters ) { String filePath = parameters . getString ( FILE_PARAMETER_KEY , null ) ; if ( filePath != null ) { try { this . filePath = new Path ( filePath ) ; } catch ( RuntimeException rex ) { throw new RuntimeException ( "Could not create a valid URI from the given file path name: " + rex . getMessage ( ) ) ; } } else if ( this . filePath == null ) { throw new IllegalArgumentException ( "File path was not specified in input format, or configuration." ) ; } }
Configures the file input format by reading the file path from the configuration.

@see eu.stratosphere.api.common.io.InputFormat#configure(eu.stratosphere.configuration.Configuration)