只写实用性
//方法一
File tempFile = new File(());
String fileName = ();
(TAG, "fileName =" + fileName);
//方法二
String fileName1 = ().substring(().lastIndexOf("/") + 1);
(TAG, "fileName1 =" + fileName1);
//方法三
String temp[] = ("/");
String fileName2 = temp[ - 1];
(TAG, "fileName3 =" + fileName2);