자바 full path 스트링에서 filename 추출

조회 1,936 · 댓글 0
유호석작성자2018년 5월 2일
File file = new File(f);

String fileName = file.getName();

로그인 후 답글을 남길 수 있습니다.