public void preview(final String configFilePathString, final String format) {
        preview(Paths.get(configFilePathString), format);
    }
Runs the preview subcommand.

It receives Strings as parameters to be called from Ruby (embulk/runner.rb).
embulk-core/src/main/java/org/embulk/EmbulkRunner.java