com.izforge.izpack.util
Class OSClassHelper

java.lang.Object
  extended bycom.izforge.izpack.util.OSClassHelper
Direct Known Subclasses:
RegistryHandler

public class OSClassHelper
extends java.lang.Object

This class is the system independent base class for helpers which are system dependent in its subclasses.

Author:
Klaus Bartz

Field Summary
protected  AutomatedInstallData installdata
           
protected  java.lang.Object worker
           
protected  java.lang.Class workerClass
           
 
Constructor Summary
OSClassHelper()
          Default constructor
OSClassHelper(java.lang.String className)
          Creates an object which contains as worker an object of the given class name if possible.
 
Method Summary
 boolean good()
           
 boolean verify(AutomatedInstallData idata)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

installdata

protected AutomatedInstallData installdata

workerClass

protected java.lang.Class workerClass

worker

protected java.lang.Object worker
Constructor Detail

OSClassHelper

public OSClassHelper()
Default constructor


OSClassHelper

public OSClassHelper(java.lang.String className)
Creates an object which contains as worker an object of the given class name if possible. If not possible, only the stack trace will be printed, no exception will be raised. To determine the state, there is the method good.

Parameters:
className - full qualified class name of the needed worker
Method Detail

good

public boolean good()

verify

public boolean verify(AutomatedInstallData idata)
               throws java.lang.Exception
Throws:
java.lang.Exception