문제

I'm asking for a Java code.

I'm looking for a way to select the first file in a directory in order to process it.

Thanks.

도움이 되었습니까?

해결책

You should use a DirectoryStream. Documentation can be found at: http://docs.oracle.com/javase/7/docs/api/java/nio/file/DirectoryStream.html

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top