int index = path.lastIndexOf(File.separatorChar,count); if(index == -1) index = path.lastIndexOf('/',count);
int index1 = path.lastIndexOf(File.separatorChar,count); int index2 = path.lastIndexOf('/',count);
	public static String getFileName(String path)	{		int count = Math.max(0,path.length() - 2);		int index = path.lastIndexOf(File.separatorChar,count);		if(index == -1)			index = path.lastIndexOf('/',count);		return path.substring(index + 1);	}