net.spy.util
Class TypeNameGen

java.lang.Object
  extended by net.spy.util.TypeNameGen

public class TypeNameGen
extends java.lang.Object

Used at compile time to generate TypeNames.


Constructor Summary
TypeNameGen()
          Get the TypeNameGen instance.
 
Method Summary
static void main(java.lang.String[] args)
          Write out the TypeNames implementation.
 void writeTo(java.io.PrintStream ps)
          Write the TypeNames class to the given PrintStream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeNameGen

public TypeNameGen()
Get the TypeNameGen instance.

Method Detail

writeTo

public void writeTo(java.io.PrintStream ps)
             throws java.io.IOException
Write the TypeNames class to the given PrintStream.

Parameters:
ps - the printstream to which to write the source
Throws:
java.io.IOException - if there's a problem writing

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Write out the TypeNames implementation.

Parameters:
args - (0) = path to which to write the TypeNames
Throws:
java.io.IOException - if there's a problem writing the file


Copyright © 1995-2006 SPY Internetworking. All Rights Reserved.