JavaZOOM Web Site
API & Design
<< back

- API & Design -

  Download4J API :
The generated JavaDoc will be useful for a programmer who needs more information on classes, methods and static fields.

[Browse Download4J JavaDoc]

Download4J Samples :
In addition JavaDoc, here is the source code to let developers learn more about Download4J integration.
You can also find free/open source sample of Download4J API usage (DownloadDatabaseSource implementations, dynamic folder registration, ...) in Download4J plugin/tools section.

  Download4J design :
Here is the UML class diagram of and packages. Basically, DownloadImpl (singleton) class has a DownloadSource (for folder, zip, or database), a DownloadListener (for notification) and a Config concrete class. Depending on XML configuration file, Config subclass is instancied through a ConfigHandler called by a SAX parser. All Config instances are stored in Repository. Config has Properties and a Vector of FileInfo (for download controls such as counter, login, password, content-type ...). DownloadServlet relies on DownloadImpl to provide the download service.
Click to zoom in Click to zoom in

[News] [Applets] [Servlets] [Services] [Projects] [Links] [About]

Copyright © JavaZOOM 1999-2004

Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the U. S. and other countries.
All other company and/or product names are the property of their respective owners.