Java Technology Home Page
A-Z Index

Java Developer Connection(SM)
Online Training

Downloads, APIs, Documentation
Java Developer Connection
Tutorials, Tech Articles, Training
Online Support
Community Discussion
News & Events from Everywhere
Products from Everywhere
How Java Technology is Used Worldwide
 
Training Index

JavaBeansTM Short Course
Behavior: Reflective Programming with Freud

By MageLang Institute

[Tutorial Contents]
[API Docs] [Help] [Exercise] [Solution]

This program cannot be run as an applet. Please run Solution/Freud from the command line as an application. Running the solution with no arguments results in the following being printed:

Usage: java Freud classname [ classname]*

public synchronized Freud
  extends java.lang.Object {
  // Variables
  private static java.lang.String className;

  // Constructors
  public Freud();

  // Methods
  private static java.lang.String 
    getTypeName(java.lang.Class);
  private static void listParameters(
    java.io.PrintWriter, java.lang.Class[]);
  private static void listClassVariables(
    java.io.PrintWriter, java.lang.Class);
  private static void listClassConstructors(
    java.io.PrintWriter, java.lang.Class);
  private static void listClassMethods(
    java.io.PrintWriter, java.lang.Class);
  public static void reflectClass(java.lang.String, 
       java.io.Writer);
  public static void reflectClass(java.lang.String, 
       java.io.OutputStream);
  private static void inspectSelf();
  public static void main(java.lang.String[]);
}
Copyright © 1997 MageLang Institute. All Rights Reserved.

[ This page was updated: 10-Nov-99 ]

Products & APIs | Developer Connection | Docs & Training | Online Support
Community Discussion | Industry News | Solutions Marketplace | Case Studies
Glossary - Applets - Tutorial - Employment - Business & Licensing - Java Store - Java in the Real World
FAQ | Feedback | Map | A-Z Index
For more information on Java technology
and other software from Sun Microsystems, call:
(800) 786-7638
Outside the U.S. and Canada, dial your country's AT&T Direct Access Number first.
Sun Microsystems, Inc.
Copyright © 1995-99 Sun Microsystems, Inc.
All Rights Reserved. Legal Terms. Privacy Policy.