Here you can find the source of getFile(String outputFolder, String fileName)
public static File getFile(String outputFolder, String fileName)
//package com.java2s; //License from project: Open Source License import java.io.File; import java.nio.file.Paths; public class Main { public static File getFile(String outputFolder, String fileName) { File file = Paths.get(outputFolder, fileName).toFile(); return file; }/* ww w . j a va 2 s . c om*/ }