com.ibm.dtfj.image.sov
Class ImageFactory

java.lang.Object
  extended bycom.ibm.dtfj.image.sov.ImageFactory
All Implemented Interfaces:
ImageFactory

public class ImageFactory
extends java.lang.Object
implements ImageFactory

Factory Class to produce "Image" classes for sovereign dumps.


Field Summary
 
Fields inherited from interface com.ibm.dtfj.image.ImageFactory
DTFJ_MAJOR_VERSION, DTFJ_MINOR_VERSION
 
Constructor Summary
ImageFactory()
           
 
Method Summary
 int getDTFJMajorVersion()
           Returns the major version of DTFJ the Image we return implements.
 int getDTFJMinorVersion()
           Returns the major version of DTFJ the Image we return implements.
 Image getImage(java.io.File imageFile)
           Returns a new instance of the root object in the DTFJ hierarchy - the Image.
 Image getImage(java.io.File source, java.io.File metaData)
           Returns a new instance of the root object in the DTFJ hierarchy - the Image.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageFactory

public ImageFactory()
Method Detail

getImage

public Image getImage(java.io.File source,
                      java.io.File metaData)
               throws java.io.IOException

Returns a new instance of the root object in the DTFJ hierarchy - the Image.

Specified by:
getImage in interface ImageFactory
Parameters:
source - File of dump to process
metaData - a file with additional Image information. This is an implementation defined file
Returns:
an implementation of the Image interface capable of working with this image
Throws:
java.io.IOException
See Also:
ImageFactory.getImage(java.io.File)

getImage

public Image getImage(java.io.File imageFile)
               throws java.io.IOException

Returns a new instance of the root object in the DTFJ hierarchy - the Image.

Specified by:
getImage in interface ImageFactory
Parameters:
imageFile - a file with Image information, typically a core file
Returns:
an implementation of the Image interface capable of working with this image
Throws:
java.io.IOException
See Also:
ImageFactory.getImage(java.io.File, java.io.File)

getDTFJMajorVersion

public int getDTFJMajorVersion()

Returns the major version of DTFJ the Image we return implements.

Specified by:
getDTFJMajorVersion in interface ImageFactory
Returns:
An integer corresponding to the DTFJ API version number
See Also:
ImageFactory.getDTFJMajorVersion()

getDTFJMinorVersion

public int getDTFJMinorVersion()

Returns the major version of DTFJ the Image we return implements.

Specified by:
getDTFJMinorVersion in interface ImageFactory
Returns:
An integer corresponding to the DTFJ API bug fix version number
See Also:
ImageFactory.getDTFJMinorVersion()


Copyright © 2005 IBM. All Rights Reserved.