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

java.lang.Object
  extended bynet.sourceforge.groboutils.codecoverage.v2.datastore.DirClassMetaDataWriter
All Implemented Interfaces:
IClassMetaDataWriter

public class DirClassMetaDataWriter
extends java.lang.Object
implements IClassMetaDataWriter

Knows how to store the meta-data in a repository.

Since:
December 16, 2002
Version:
$Date: 2003/02/10 22:51:27 $
Author:
Matt Albrecht groboclown@users.sourceforge.net

Method Summary
 void close()
          Closes off the writer's connection to the store.
protected  void finalize()
           
 void writeClassRecord(ClassRecord cr)
          Writes the given class record and its associated marks for this Analysis Module to the repository.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

writeClassRecord

public void writeClassRecord(ClassRecord cr)
                      throws java.io.IOException
Writes the given class record and its associated marks for this Analysis Module to the repository. It will overwrite any existing data.

Specified by:
writeClassRecord in interface IClassMetaDataWriter
Parameters:
cr - the class record to write to the underlying repository.
Throws:
java.io.IOException - thrown if there is an underlying problem, or if the close method has been executed.

close

public void close()
           throws java.io.IOException
Closes off the writer's connection to the store. Mark writers may still have open connections that are still able to be used.

Specified by:
close in interface IClassMetaDataWriter
Throws:
java.io.IOException - thrown if there is an underlying problem, or if the close method has been executed before.

finalize

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


Copyright © 2001-2003 by The GroboUtils Project