use of org.fagu.fmv.mymedia.classify.Organizer in project fmv by f-agu.
the class Bootstrap method main.
/**
* @param args
* @throws IOException
*/
public static void main(String[] args) throws IOException {
File source = new File(args[0]);
File saveFile = new File(source, "image.save");
File destFolder = new File(source.getParentFile(), source.getName() + "-out");
Bootstrap bootstrap = new Bootstrap();
try (ImageFinder imageFinder = bootstrap.findImage(saveFile, source)) {
Organizer<ImageFinder, Image> organizer = new Organizer<>(Image.class);
organizer.organize(destFolder, imageFinder);
}
}
use of org.fagu.fmv.mymedia.classify.Organizer in project fmv by f-agu.
the class Bootstrap method main.
/**
* @param args
* @throws IOException
*/
public static void main(String[] args) throws IOException {
File source = new File(args[0]);
File saveFile = new File(source, "movie.save");
File destFolder = new File(source.getParentFile(), source.getName() + "-mv-out");
Bootstrap bootstrap = new Bootstrap();
try (MovieFinder movieFinder = bootstrap.findMovie(saveFile, source)) {
Organizer<MovieFinder, Movie> organizer = new Organizer<>(Movie.class);
organizer.organize(destFolder, movieFinder);
}
}
Aggregations