Class Phoons

java.lang.Object
  extended byPhoons

public class Phoons
extends java.lang.Object

About the Phoons program

The Phoons program creates all of the Phoon web pages (over 800 of them) that you can see here: www.phoons.com

There used to be just a single, massive web page that showed all of the thumbnails. Because of multiple references I had on that single page, it was a lot of work even to add a single new picture.

I knew that at some point I'd break the main page into categories, with these details:

I created the Phoons program to generated the web pages for me. It creates the highly cross-referenced HTML links and tables according to the information it extracts from three simple text files that I maintain:

Try the TREE link at the top of this page to see the relationship of classes.

About piclist.txt

Each line represents a picture found in the Phoons web pages and contains these details:

A PicLink object is created for each picture. A CatLink object is created for each category of the picture.

About stories.txt

This file contains the following for selected pictures:

Each story is stored in the corresponding PicLink object for the picture.

About categories.txt

This file contains the following for selected categories:

Each caption is stored in the corresponding CatLink object for the category.


Field Summary
protected  PageMaker pm
          The object that generates web pages.
 
Constructor Summary
Phoons()
          Loads files and images unique to the Phoons web pages.
 
Method Summary
protected  void argsToFacts(java.lang.String[] args)
          Establishes what needs to be done by interpreting the args from main().
 void createEmail()
          Creates email.txt, a file containing text in a format ready for mailing to those on the email distribution list.
static void main(java.lang.String[] args)
          Creates web pages based on the supplied args.
protected  void toHtml()
          Performs tasks established via processArgs().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pm

protected PageMaker pm
The object that generates web pages.

Constructor Detail

Phoons

public Phoons()
Loads files and images unique to the Phoons web pages.

Method Detail

createEmail

public void createEmail()
Creates email.txt, a file containing text in a format ready for mailing to those on the email distribution list.


argsToFacts

protected void argsToFacts(java.lang.String[] args)
Establishes what needs to be done by interpreting the args from main().


toHtml

protected void toHtml()
Performs tasks established via processArgs().


main

public static void main(java.lang.String[] args)
Creates web pages based on the supplied args.