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 appropriate Image implementations for dumps


Constructor Summary
ImageFactory()
           
 
Method Summary
 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)


Copyright © 2005 IBM. All Rights Reserved.