Submitted On 04-DEC-1999
gregg@c2-tech.com
In the FileEntryAction interface, processFile should throw IOException. I'd
like to see more
information on what the "new I/O framework" entails. Where can I
find more information?
Submitted On 07-JAN-2000
gregg@c2-tech.com
When will this new I/O frame work be available for use in JDK1.1?
Submitted On 26-AUG-2001
NDSoft
gregg: The "New I/O Framework" is in java.nio.* in 1.4
beta. I doubt that these classes will be accessible from
1.1 code, at least not in the most general case.
The interface proposed above would work nicely as an
addition to the API, as it is quite flexible... though it
would be nice to allow it to throw IOExceptions. A less
general solution would be to provide a list() style
function that returned an Iterator.
Submitted On 18-JAN-2002
werezak
I check the New I/O framework in 1.4. I do not see how
this is addressed.
Submitted On 28-FEB-2002
gregg@c2-tech.com
I don't see that this is addressed in the New I/O routines at all. Why can't we subclass the FileSystem
provider for the platform so that File.list could just return the first 'n' files when it is called or something. I
really need a solution to this problem!
Submitted On 09-MAY-2002
greggwon
What is the state of this issue? Can we expect something
in 1.4.1 or 1.5? I need to know so that I can stupe to
stupid JNI tricks if there will be no work on this.
Submitted On 02-APR-2003
s690716
In this case it means in the new filesystem API being worked
on for Tiger (1.5).
The RFE number is 4313887 and it is in JSR 203:
http://jcp.org/en/jsr/detail?id=203
Mike McCloskey
Scheduled for 1st quarter 2004...
Submitted On 01-DEC-2003
s690716
Sorry, I think this RFE is addressed with Microsoft .NET.
Thanks Sun, there is no need to address this RFE anymore -
more than four years are more than enough - or nearly seven
(7!!!!) years for RFE 4057701.
Submitted On 05-FEB-2004
s690716
is this issue handled with nio.2 / 1.6? or 1.7, 1.8, 1.9...?
ever/never?! who knows...
Submitted On 02-JUL-2004
s690716
1999: "Incremental reads of large directories will be addressed in the new I/O framework."
Let me guess:
"This RFE is part of JSR-203 (see http://www.jcp.org/en/home/index), which is targeted for J2SE 1.6"?!
And the shifted again to J2SE 1.7 (aka 7.0)?
first there will be men on mars (or sun is sold to m$) before sun will resolve a five year old rfe.
Submitted On 10-MAR-2005
s690716
Yes!!! Now it
Submitted On 10-MAR-2005
s690716
Yes!!!
Now it's targetted for 1.7 (dolphin)...
Let me guess... 2006/2007 it is targetted for 1.8?!
Submitted On 20-MAR-2005
s690716
Look at me:
http://forums.java.net/jive/thread.jspa?threadID=454&tstart=0
Submitted On 19-MAY-2005
renkrad
How about :
java.util.Enumeration File.listFiles();
This implementation of the enumerator instead of reading and loading the info of all files at once would just load it on demand.
Submitted On 01-SEP-2005
jryingst
Returning an Enumeration might have been the preferred solution, oh, eight years ago or so. Since 1.2 came out an Iterator would be preferred - and since 5.0 came out, an Iterable<File> would be the way to go. The embedded Iterator<File> would be able to return some results as soon as they were available (without requiring the whole File[] in memory) and by using an Iterable rather than Iterator, the result can be used in an enhanced for. (General advice for post-Tiger code: prefer Iterable to either Iterator or Collection, unless you actualy need to do something besides iterate through the result.)
Of course, the exact object returned is just window dressing at this point. The key point is that Sun would have to actually *act* on this RFE sometime. Grumble, grumble...
Submitted On 14-SEP-2006
renkrad
[quote]
Evaluation
Incremental reads of large directories will be addressed in the new I/O
framework. -- xxxxx@xxxxx 1999/10/28
[/quote]
Come on... Is the "new I/O framework" beeing defined?
Submitted On 28-OCT-2006
s690716
http://forums.java.net/jive/thread.jspa?threadID=454&tstart=0
Submitted On 10-JAN-2007
SirRandolf
I need readdir() style functionality in Java. Please add this feature because loading an entire list of 100,000+ files is silly.
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|