com.ondelette.servlet.webannonces
Class AnnoncesLocale

java.lang.Object
  |
  +--com.ondelette.servlet.webannonces.AnnoncesLocale
All Implemented Interfaces:
ParameterNames

public class AnnoncesLocale
extends java.lang.Object
implements ParameterNames

Handles the printout (i18n support should go here)


Field Summary
 
Fields inherited from interface com.ondelette.servlet.webannonces.ParameterNames
ADDRESSPARAM, ADMINPARAM, ANNONCEFILEPARAM, ANNONCEPARAM, AUTHORPARAM, DELETE, EMAILPARAM, PHONENUMBERPARAM, SUBJECTPARAM, URLPARAM
 
Constructor Summary
AnnoncesLocale(java.io.File AnnoncesLocaleFile)
          Constructor for the AnnoncesLocale object
 
Method Summary
 void print(Annonce a, java.io.PrintWriter out)
          Use this to print an ad to HTML
 void print(AnnoncesFolder af, java.io.PrintWriter out)
          Print an entire folder of ads to HTML
 void printAdmin(AnnoncesFolder af, java.io.PrintWriter out)
          Print admin page to HTML
 void printDeleteForm(AnnoncesFolder af, Annonce a, java.io.PrintWriter out)
          Print the delete form in HTML
 void printForm(AnnoncesFolder af, java.io.PrintWriter out)
          Print a "post an ad" form
 void printHeader(java.io.PrintWriter out)
          Print HTML header
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnoncesLocale

public AnnoncesLocale(java.io.File AnnoncesLocaleFile)
Constructor for the AnnoncesLocale object

Parameters:
AnnoncesLocaleFile -
Since:
0.30
Method Detail

print

public void print(Annonce a,
                  java.io.PrintWriter out)
Use this to print an ad to HTML

Parameters:
a -
out -
Since:
0.30

printHeader

public void printHeader(java.io.PrintWriter out)
                 throws java.io.IOException
Print HTML header

Parameters:
out -
Throws:
java.io.IOException
Since:
0.30

print

public void print(AnnoncesFolder af,
                  java.io.PrintWriter out)
Print an entire folder of ads to HTML

Parameters:
af -
out -
Since:
0.30

printAdmin

public void printAdmin(AnnoncesFolder af,
                       java.io.PrintWriter out)
Print admin page to HTML

Parameters:
af -
out -
Since:
0.30

printDeleteForm

public void printDeleteForm(AnnoncesFolder af,
                            Annonce a,
                            java.io.PrintWriter out)
Print the delete form in HTML

Parameters:
af -
a -
out -
Since:
0.30

printForm

public void printForm(AnnoncesFolder af,
                      java.io.PrintWriter out)
               throws java.io.IOException
Print a "post an ad" form

Parameters:
af -
out -
Throws:
java.io.IOException
Since:
0.30