How to get file name in java code, example

 public static String getFileName(String filePath)
    {
        File f = new File(filePath);
        return f.getName();
    }

Popular posts from this blog

What is NBioBSP Java Library?

Draw arrow line example

Capture image from webcam java code, examples