humble-video-noarch/src/main/java/io/humble/video/Configuration.java
@SuppressWarnings("unchecked")
  public static void configure(final String file, final Configurable config) throws FileNotFoundException, IOException
  {
    Properties props = new Properties();
    props.load(new FileInputStream(file));
    Configuration.configure(props, config);
  }
@SuppressWarnings("unchecked")
  public static void configure(final String file, final Configurable config) throws FileNotFoundException, IOException
  {
    Properties props = new Properties();
    props.load(new FileInputStream(file));
    Configuration.configure(props, config);
  }
@ SuppressWarnings ( "unchecked" ) public static void configure ( final String file , final Configurable config ) throws FileNotFoundException , IOException { Properties props = new Properties ( ) ; props . load ( new FileInputStream ( file ) ) ; Configuration . configure ( props , config ) ; }
Configures an {@link Configurable} from a file.
<p>
This is a handy way to configure a Humble Video {@link Configurable}
object, and will also work with FFmpeg preset files.
</p>
@param file A filename for the properties file.
@param config The item to configure.
@throws IOException
@throws FileNotFoundException
Configures an {