Search in sources :

Example 1 with ParserFactory

use of org.fagu.fmv.soft.find.ExecSoftFoundFactory.ParserFactory in project fmv by f-agu.

the class IMInfoTestCase method newParser.

// *******************************************************
/**
 * @return
 */
private Parser newParser() {
    ConvertSoftProvider softProvider = new ConvertSoftProvider();
    ParserFactory parserFactory = ((ExecSoftFoundFactory) softProvider.createSoftFoundFactory()).getParserFactory();
    return parserFactory.create(new File("."), softProvider.getSoftPolicy());
}
Also used : ExecSoftFoundFactory(org.fagu.fmv.soft.find.ExecSoftFoundFactory) ParserFactory(org.fagu.fmv.soft.find.ExecSoftFoundFactory.ParserFactory) File(java.io.File)

Example 2 with ParserFactory

use of org.fagu.fmv.soft.find.ExecSoftFoundFactory.ParserFactory in project fmv by f-agu.

the class JavaSoftProviderTestCase method newParser.

// *******************************************************
/**
 * @return
 */
private Parser newParser() {
    JavaSoftProvider softProvider = new JavaSoftProvider();
    ParserFactory parserFactory = ((ExecSoftFoundFactory) softProvider.createSoftFoundFactory()).getParserFactory();
    return parserFactory.create(new File("."), softProvider.getSoftPolicy());
}
Also used : ExecSoftFoundFactory(org.fagu.fmv.soft.find.ExecSoftFoundFactory) ParserFactory(org.fagu.fmv.soft.find.ExecSoftFoundFactory.ParserFactory) File(java.io.File)

Example 3 with ParserFactory

use of org.fagu.fmv.soft.find.ExecSoftFoundFactory.ParserFactory in project fmv by f-agu.

the class GSSoftProviderTestCase method newParser.

// *******************************************************
/**
 * @return
 */
private Parser newParser() {
    GSSoftProvider softProvider = new GSSoftProvider();
    ParserFactory parserFactory = ((ExecSoftFoundFactory) softProvider.createSoftFoundFactory()).getParserFactory();
    return parserFactory.create(new File("."), softProvider.getSoftPolicy());
}
Also used : ExecSoftFoundFactory(org.fagu.fmv.soft.find.ExecSoftFoundFactory) ParserFactory(org.fagu.fmv.soft.find.ExecSoftFoundFactory.ParserFactory) File(java.io.File)

Example 4 with ParserFactory

use of org.fagu.fmv.soft.find.ExecSoftFoundFactory.ParserFactory in project fmv by f-agu.

the class MediaInfoProviderTestCase method newParser.

// *******************************************************
/**
 * @return
 */
private Parser newParser() {
    MediaInfoSoftProvider softProvider = new MediaInfoSoftProvider();
    ParserFactory parserFactory = ((ExecSoftFoundFactory) softProvider.createSoftFoundFactory()).getParserFactory();
    return parserFactory.create(new File("."), softProvider.getSoftPolicy());
}
Also used : ExecSoftFoundFactory(org.fagu.fmv.soft.find.ExecSoftFoundFactory) ParserFactory(org.fagu.fmv.soft.find.ExecSoftFoundFactory.ParserFactory) File(java.io.File)

Aggregations

File (java.io.File)4 ExecSoftFoundFactory (org.fagu.fmv.soft.find.ExecSoftFoundFactory)4 ParserFactory (org.fagu.fmv.soft.find.ExecSoftFoundFactory.ParserFactory)4