org.egothor.duplicity.apps
Class BarrelCreator

java.lang.Object
  extended by org.egothor.duplicity.apps.BarrelCreator

public class BarrelCreator
extends java.lang.Object

Use this program to process HTML files saved locally and create a barrel from them.

Author:
Kate�ina Dufkov�

Constructor Summary
BarrelCreator()
           
 
Method Summary
static void main(java.lang.String[] argv)
           
 void parse(java.lang.String location, java.lang.String fileCharset, BarrelWriter bw)
          Parse the given file and append it to given output BarrelWriter.
static void usage()
          Prints usage of this program.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BarrelCreator

public BarrelCreator()
Method Detail

usage

public static void usage()
Prints usage of this program.


main

public static void main(java.lang.String[] argv)

parse

public void parse(java.lang.String location,
                  java.lang.String fileCharset,
                  BarrelWriter bw)
Parse the given file and append it to given output BarrelWriter.

Parameters:
location - the path to the file
fileCharset - the name of the character set to be used
bw - BarrelWriter to which the parser document should be appended