org.hibernate.tool.hbm2x
Class ArtifactCollector

java.lang.Object
  extended by org.hibernate.tool.hbm2x.ArtifactCollector

public class ArtifactCollector
extends Object

Callback class that all exporters are given to allow better feedback and processing of the output afterwards.

Author:
Max Rydahl Andersen

Field Summary
protected  Map files
           
 
Constructor Summary
ArtifactCollector()
           
 
Method Summary
 void addFile(File file, String type)
          Called to inform that a file has been created by the exporter.
 void formatFiles()
           
 int getFileCount(String type)
           
 File[] getFiles(String type)
           
 Set getFileTypes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

files

protected final Map files
Constructor Detail

ArtifactCollector

public ArtifactCollector()
Method Detail

addFile

public void addFile(File file,
                    String type)
Called to inform that a file has been created by the exporter.


getFileCount

public int getFileCount(String type)

getFiles

public File[] getFiles(String type)

getFileTypes

public Set getFileTypes()

formatFiles

public void formatFiles()