Here you can find the source of buildPath(String path, String file)
private static String buildPath(String path, String file)
//package com.java2s; /**/* ww w . j a v a 2 s . co m*/ * License: https://github.com/votingsystem/votingsystem/wiki/Licencia */ public class Main { private static String buildPath(String path, String file) { if (path == null || path.isEmpty()) return file; else return path + "/" + file; } }