net.sourceforge.groboutils.codecoverage.v2.datastore
Class DirMetaDataWriter

java.lang.Object
  extended bynet.sourceforge.groboutils.codecoverage.v2.datastore.DirMetaDataWriter
All Implemented Interfaces:
IMetaDataWriter

public class DirMetaDataWriter
extends java.lang.Object
implements IMetaDataWriter

Stores meta-data in a directory structure.

Since:
December 15, 2002
Version:
$Date: 2003/05/30 00:04:37 $
Author:
Matt Albrecht groboclown@users.sourceforge.net
See Also:
ZipMetaDataReader

Constructor Summary
DirMetaDataWriter(java.io.File basedir)
          Creates a meta-data writer for a specific directory.
 
Method Summary
 void close()
          Closes this writer to prevent further access.
protected  void finalize()
           
 IClassMetaDataWriter getClassWriter(IAnalysisModule module)
          Returns a mark meta-data writer for a specific class.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirMetaDataWriter

public DirMetaDataWriter(java.io.File basedir)
                  throws java.io.IOException
Creates a meta-data writer for a specific directory. This directory should be dedicated to just this writer.

Method Detail

getClassWriter

public IClassMetaDataWriter getClassWriter(IAnalysisModule module)
                                    throws java.io.IOException
Returns a mark meta-data writer for a specific class. If the module has not already been added to the store, it will be added.

Specified by:
getClassWriter in interface IMetaDataWriter
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Closes this writer to prevent further access.

Specified by:
close in interface IMetaDataWriter
Throws:
java.io.IOException

finalize

protected void finalize()
                 throws java.lang.Throwable
Throws:
java.lang.Throwable


Copyright © 2001-2003 by The GroboUtils Project