All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ch.swisslife.ibgm.mc2.Distiller

java.lang.Object
   |
   +----ch.swisslife.ibgm.mc2.Distiller

public class Distiller
extends Object
Creates from the data in the Cfg data structure the syntax of a CFG file. It uses the OutputChannel class to open a connection to the cgi and to send it line by line. It supports only the WRITE mode, DELETE mode must be accessed directly in OutputChanel.


Variable Index

 o BACKUP_URL
 o CGI

Constructor Index

 o Distiller(Cfg, String, String)
Constructor for this class with a Cfg as argument.

Method Index

 o main(String[])
 o successful()

Variables

 o BACKUP_URL
 public String BACKUP_URL
 o CGI
 public String CGI

Constructors

 o Distiller
 public Distiller(Cfg f,
                  String backupURL,
                  String cfgwriter)
Constructor for this class with a Cfg as argument. This will instantiate the class and define the Cfg data structure to work with.

Parameters:
file - Cfg that will be written to document
backupURL - String with the URL where the backup files are stored
cfgwriter - String with the URL of the cgi script

Methods

 o successful
 public boolean successful()
 o main
 public void main(String argv[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index