Search in sources :

Example 1 with Formats

use of org.fagu.fmv.ffmpeg.format.Formats in project fmv by f-agu.

the class FormatsTestCase method generator.

/*
	 * 
	 */
@Test
@Ignore
public void generator() {
    for (Formats muxFormat : Formats.available()) {
        String name = muxFormat.getName();
        String fieldName = ClassNameUtils.fieldStatic(name);
        System.out.println("/**");
        System.out.println(" * " + muxFormat.getDescription());
        System.out.println(" */");
        System.out.println("public static final Formats " + fieldName + " = new Formats(\"" + name + "\");");
    }
}
Also used : Formats(org.fagu.fmv.ffmpeg.format.Formats) Ignore(org.junit.Ignore) Test(org.junit.Test)

Aggregations

Formats (org.fagu.fmv.ffmpeg.format.Formats)1 Ignore (org.junit.Ignore)1 Test (org.junit.Test)1