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

java.lang.Object
  extended bynet.sourceforge.groboutils.codecoverage.v2.datastore.DirClassMetaDataReader
All Implemented Interfaces:
IClassMetaDataReader

public class DirClassMetaDataReader
extends java.lang.Object
implements IClassMetaDataReader

Knows how to operate the repository for the meta-data.

Since:
December 16, 2002
Version:
$Date: 2003/02/13 23:41:15 $
Author:
Matt Albrecht groboclown@users.sourceforge.net

Method Summary
 void close()
          Closes this reader to prevent further access.
protected  void finalize()
           
 java.lang.String[] getClassSignatures()
          Returns all classes known for this particular data set.
 ClassRecord readClass(java.lang.String classSignature)
          Returns the class record for the class with this particular signature.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

readClass

public ClassRecord readClass(java.lang.String classSignature)
                      throws java.io.IOException
Returns the class record for the class with this particular signature.

Specified by:
readClass in interface IClassMetaDataReader
Parameters:
classSignature - the class signature requested for reading in the class record.
Returns:
the record corresponding to this class, or null if there is no such class signature known.
Throws:
java.io.IOException - if there is an underlying error during the read, or if the reader has been closed.

getClassSignatures

public java.lang.String[] getClassSignatures()
                                      throws java.io.IOException
Returns all classes known for this particular data set.

Specified by:
getClassSignatures in interface IClassMetaDataReader
Returns:
the list of all class signatures that can be read by readClass( String ), but never null.
Throws:
java.io.IOException - if there was an underlying read error, or if the reader has been closed.

close

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

Specified by:
close in interface IClassMetaDataReader
Throws:
java.io.IOException - if there was an underlying read error, or if the reader has already been closed.

finalize

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


Copyright © 2001-2003 by The GroboUtils Project