org.extex.resource.tool
Class CreateClasspathArchive

java.lang.Object
  extended by org.extex.resource.tool.CreateClasspathArchive

public class CreateClasspathArchive
extends java.lang.Object

Create a jar archive with the toc index for the ClasspathArchiveFinder.

Version:
$Revision: 7135 $
Author:
Michael Niedermair

Constructor Summary
CreateClasspathArchive()
          Creates a new object.
 
Method Summary
 void doIt(java.lang.String jarname, java.lang.String dir)
          Do it!
 Localizer getLocalizer()
          Getter for localizer.
 java.util.logging.Logger getLogger()
          Getter for logger.
static void main(java.lang.String[] args)
          The main method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateClasspathArchive

public CreateClasspathArchive()
Creates a new object.

Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
The main method.

Parameters:
args - the command line
Throws:
java.lang.Exception - if an error occurred.

doIt

public void doIt(java.lang.String jarname,
                 java.lang.String dir)
          throws java.io.IOException
Do it!

Parameters:
dir - The directory to read.
jarname - The name of the jar file.
Throws:
java.io.IOException - if a IO-error occurred.

getLocalizer

public Localizer getLocalizer()
Getter for localizer.

Returns:
Returns the localizer.

getLogger

public java.util.logging.Logger getLogger()
Getter for logger.

Returns:
Returns the logger.