Java code to list files in Windows O/S by FIFO sequence

Hi,

I am new to java and working on a project which needs to list files from Windows O/S by FIFO sequence.

Here is the scenario,

One of the application logs/stores files in Windows System. After that files has to be moved to another files system on AS/400 by FIFO sequence.

I need to write java program to list files in Windows (by FIFO) and then move to different application running on AS/400.

I am usingjava.io.File class and methodlist() and could able to list all files. But, not able to list files by FIFO sequence.

I would appreciate to receive any thoughts implementing FIFO for listing files using java.

Thanks,

Siva

[704 byte] By [Siva_VSa] at [2007-11-27 3:36:03]
# 1
Duplicate post, replied to here: http://forum.java.sun.com/thread.jspa?threadID=5169767&messageID=9652068#9652068
ChuckBinga at 2007-7-12 8:39:16 > top of Java-index,Other Topics,Algorithms...