com.sun.billf.tass
Class TassDatabase
java.lang.Object
com.sun.billf.tass.TassDatabase
- public class TassDatabase
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TassDatabase
public TassDatabase()
init
public void init(java.lang.String fileName,
boolean createIfNeeded)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
nextTrackingNumber
public int nextTrackingNumber()
getCurrentRunID
public RunID getCurrentRunID()
addClassReference
public void addClassReference(java.lang.String className)
addFieldReference
public void addFieldReference(java.lang.String fqFieldName)
addMethodReference
public MethodReference addMethodReference(java.lang.String fqMethodName,
java.lang.String[] argTypes)
getClassReferences
public java.util.Map getClassReferences()
- Returns:
- a HashMap> where the key is the
fully-qualified class name
getFieldReferences
public java.util.Map getFieldReferences()
- Returns:
- a Map> where the key is the
fully-qualified field name
getMethodReferences
public java.util.Map getMethodReferences()
- Returns:
- a Map>
getPackagesUsed
public java.util.Map getPackagesUsed()
- Returns:
- a Map> where the key is the name of a
package
addFrom
public void addFrom(TassDatabase child)
addPlatform
public void addPlatform(java.lang.String platformZipFileName)
throws java.io.IOException
- Add the platform classes to this TASS database. A RunID is
allocated to represent the platform.
Initialize this reporter with the set of platfrom classes. If this
is not called, then certain elements of the report won't be
present.
- Throws:
java.io.IOException
getPlatformRunID
public RunID getPlatformRunID()
- Returns:
- The RunID for platform classes, or null if they weren't
added to this database.
getJavaClass
public org.apache.bcel.classfile.JavaClass getJavaClass(MethodReference mr)
- Returns:
- the JavaClass that contains the given MethodReference