Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > java.nio tutorials?

java.nio tutorials?
Thread Tools
Posting Junkie
Join Date: Jun 2001
Location: Washington DC
Status: Offline
Reply With Quote
Sep 25, 2003, 12:48 AM
 
Does anyone know of a good site with sample code or a tutorial or something for the java.nio API? Sun's site isn't particularly helpful and a Google search only seems to reveal that other people can't find what I'm looking for either.

I'm particularly interested in using Selectors and SelectableChannels
     
Forum Regular
Join Date: Oct 2001
Location: Sweden
Status: Offline
Reply With Quote
Sep 25, 2003, 01:53 AM
 
     
Posting Junkie
Join Date: Jun 2001
Location: Washington DC
Status: Offline
Reply With Quote
Sep 25, 2003, 01:59 AM
 
Ah, thanks. I hadn't realized that you could read parts of their books without buying them.
     
Forum Regular
Join Date: Oct 2001
Location: Sweden
Status: Offline
Reply With Quote
Sep 25, 2003, 01:59 AM
 
also try searching on onjava.com. They have a few articles on java.nio
     
Posting Junkie
Join Date: Jun 2001
Location: Washington DC
Status: Offline
Reply With Quote
Sep 25, 2003, 02:04 AM
 
Great! Thanks!
     
Mac Elite
Join Date: Sep 2000
Location: in front of the keyboard
Status: Offline
Reply With Quote
Sep 25, 2003, 09:53 AM
 
Don't take this wrong, and it isn't directed at you, but I am amazed at how many people ask these kinds of questions when it's all spelled out in the API javadoc!

You even have it on your hard disk (assuming you installed the dev tools and the latest associated updates from ADC)

file://localhost/Developer/Documenta...api/index.html

The API documentation has all the information you could possibly need.
signatures are a waste of bandwidth
especially ones with political tripe in them.
     
Posting Junkie
Join Date: Jun 2001
Location: Washington DC
Status: Offline
Reply With Quote
Sep 25, 2003, 01:12 PM
 
Apparently I don't have it on my Hard Drive.

Also, other sources tend to be a lot more accessible. Sure I could read the API and figure it all out, but if I look at some sample code and read someone's explanation of it I can understand it more quickly and easily if less completely.
     
Forum Regular
Join Date: Oct 2001
Location: Sweden
Status: Offline
Reply With Quote
Sep 25, 2003, 05:36 PM
 
Originally posted by nonhuman:
Apparently I don't have it on my Hard Drive.
try opening this page file:///Developer/Documentation/Java/Reference/1.4.1/Java141API_J2SE/index.html for info on how to unpack the javadoc included with the installation
     
Posting Junkie
Join Date: Jun 2001
Location: Washington DC
Status: Offline
Reply With Quote
Sep 25, 2003, 06:54 PM
 
Originally posted by tobli:
try opening this page file:///Developer/Documentation/Java/Reference/1.4.1/Java141API_J2SE/index.html for info on how to unpack the javadoc included with the installation
Nope, no go. Weird.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:12 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2