I want to list NTFS alternate data stream file in a given directory using java. I can do this with the dir /R command on cmd, but I want to do it programmatically.
When I do normal file listing operations, I cannot list alternate data streams in the $Data style.
There is no support in Java for this. I am afraid you should do it yourself. It is possible to call a
dir /Rcommand and parse output or make a JNI library to call system functions likeNtQueryInformationFile.