org.jboss.tools
Class ClassVersionInfo

java.lang.Object
  extended by org.jboss.tools.ClassVersionInfo
All Implemented Interfaces:
Serializable

public class ClassVersionInfo
extends Object
implements Serializable

Encapsulates a class serialVersionUID and codebase.

Version:
$Revision: 57210 $
Author:
Scott.Stark@jboss.org
See Also:
Serialized Form

Constructor Summary
ClassVersionInfo(String name, ClassLoader loader)
           
 
Method Summary
 boolean getHasExplicitSerialVersionUID()
           
 String getName()
           
 long getSerialVersion()
           
static void main(String[] args)
          Utility main entry point that allows one to load a Map from a serialized object file to print a specific ClassVersionInfo
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassVersionInfo

public ClassVersionInfo(String name,
                        ClassLoader loader)
                 throws ClassNotFoundException
Throws:
ClassNotFoundException
Method Detail

getSerialVersion

public long getSerialVersion()

getHasExplicitSerialVersionUID

public boolean getHasExplicitSerialVersionUID()

getName

public String getName()

toString

public String toString()
Overrides:
toString in class Object

main

public static void main(String[] args)
                 throws Exception
Utility main entry point that allows one to load a Map from a serialized object file to print a specific ClassVersionInfo

Parameters:
args - [0] = map.ser file for serialized object image [1] = class name of the ClassVersionInfo to print
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.