Package edu.pdx.cs410J.examples
package edu.pdx.cs410J.examples
Contains miscellaneous example programs that don't necessarily fit
into any of the lectures.
-
ClassDescriptionThis class is a
Comparator
that comparesObject
s based on the name of their classes.This program uses the JavaMail API to send a file to someone as a MIME attachment to an email.This class demonstrates the file compression utilities in thejava.util.zip
andjava.util.jar
packages by creating a jar file whose contents are specified on the command line.This class demonstrates Java's reflection mechanism by loading a class and then printing out information about its fields and methods.