edu.uci.ics.screencap
Class Dump

java.lang.Object
  extended byedu.uci.ics.screencap.Dump
Direct Known Subclasses:
EPSDump, PNGDump

public abstract class Dump
extends java.lang.Object

This abstract class represents a single dump to a file. It is left deliberately as a class because I want to leave room for future functionality:

At the very least, all that a dump needs, though, is a file to dump to and a component to get the dump from. The dump calls print() or paint() on the component, and therefore:

Author:
danyelf

Constructor Summary
Dump()
           
 
Method Summary
abstract  void dumpComponent(java.io.File filename, java.awt.Component component)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dump

public Dump()
Method Detail

dumpComponent

public abstract void dumpComponent(java.io.File filename,
                                   java.awt.Component component)
                            throws java.io.IOException
Throws:
java.io.IOException