Here you can find the source of getFileNameWithPath(String path, String fileNameWithoutFullPath)
public static String getFileNameWithPath(String path, String fileNameWithoutFullPath)
//package com.java2s; //License from project: Open Source License import java.io.File; public class Main { public static String getFileNameWithPath(String path, String fileNameWithoutFullPath) { return path + File.separator + fileNameWithoutFullPath; }//from w ww. j av a 2 s.com }