The Artima Developer Community
Sponsored Link

Java Answers Forum
Java API structure

2 replies on 1 page. Most recent reply: May 26, 2003 7:44 AM by Mitch T.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Mitch T.

Posts: 2
Nickname: mitch
Registered: May, 2003

Java API structure Posted: May 26, 2003 6:36 AM
Reply to this message Reply
Advertisement
I often find myself stuggling with the Java API structure.
Could someone explain me the structure of Java API(major task) or tell where I could find the explanation on this topic. Here is sample of my dilemma:
InputStream (abstract,)
DataInput(Interface,)
FileInputStream,
FilterInputStream,
SequenceI nputStream,
BufferedInputStream and
DataInputStream.
These are all part of Java.io package but which is subclass of which. Which class I need to use in what sequence to read a file into my program etc.
I would greatly appreciate your help.
Thanks.


Adam Duffy

Posts: 168
Nickname: adamduffy
Registered: Feb, 2003

Re: Java API structure Posted: May 26, 2003 7:18 AM
Reply to this message Reply
Click on the following link

http://java.sun.com/j2se/1.4.1/docs/api/overview-tree.html

This will give you a tree view of all the objects in the Java 2 Standard Edition API. Do a search for java.io.InputStream and you will see how all those objects you mentioned are linked.

Adam

Mitch T.

Posts: 2
Nickname: mitch
Registered: May, 2003

Re: Java API structure Posted: May 26, 2003 7:44 AM
Reply to this message Reply
Adam,
Thanks for a prompt response and the link. This is very helpful.

Flat View: This topic has 2 replies on 1 page
Topic: Rendering swing tool tip text Previous Topic   Next Topic Topic: JUnit and Hello World

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use