wt.tools.dsu
Class MakeDSU

java.lang.Object
  extended bywt.tools.dsu.MakeDSU

public class MakeDSU
extends Object


Field Summary
private  String dsu_id
           
private  String dsu_path
           
private static ResourceBundle dsuResource
           
private  File[] files
           
private  String jarFileName
           
private  boolean one_less_file
           
private static String RESOURCE
           
private  boolean verbose
           
private static String versionID
           
 
Constructor Summary
MakeDSU(String dsuid, File[] infiles, String jarfile, String root, boolean verb)
           
MakeDSU(String dsuid, String patchdir, String jarfile, boolean verb)
           
 
Method Summary
private  void addFile(ZipOutputStream zos, File file)
           
private  File[] expand(File root)
           
private  void expand(File base, String[] names, Vector files, Hashtable hashtable)
           
private  void localize()
           
static void main(String[] args)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionID

private static final String versionID
See Also:
Constant Field Values

dsuResource

private static ResourceBundle dsuResource

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

dsu_id

private String dsu_id

dsu_path

private String dsu_path

files

private File[] files

verbose

private boolean verbose

one_less_file

private boolean one_less_file

jarFileName

private String jarFileName
Constructor Detail

MakeDSU

public MakeDSU(String dsuid,
               String patchdir,
               String jarfile,
               boolean verb)

MakeDSU

public MakeDSU(String dsuid,
               File[] infiles,
               String jarfile,
               String root,
               boolean verb)
Method Detail

main

public static void main(String[] args)

run

public void run()
         throws IOException
Throws:
IOException

expand

private File[] expand(File root)
               throws IOException
Throws:
IOException

expand

private void expand(File base,
                    String[] names,
                    Vector files,
                    Hashtable hashtable)
             throws IOException
Throws:
IOException

addFile

private void addFile(ZipOutputStream zos,
                     File file)
              throws IOException
Throws:
IOException

localize

private void localize()