FindBugs™ 1.3.9

edu.umd.cs.findbugs.ba.type
Class FieldStoreTypeDatabase

java.lang.Object
  extended by edu.umd.cs.findbugs.ba.interproc.PropertyDatabase<FieldDescriptor,Property>
      extended by edu.umd.cs.findbugs.ba.interproc.FieldPropertyDatabase<FieldStoreType>
          extended by edu.umd.cs.findbugs.ba.type.FieldStoreTypeDatabase

public class FieldStoreTypeDatabase
extends FieldPropertyDatabase<FieldStoreType>

Author:
David Hovemeyer

Field Summary
static java.lang.String DEFAULT_FILENAME
           
 
Constructor Summary
FieldStoreTypeDatabase()
           
 
Method Summary
protected  FieldStoreType decodeProperty(java.lang.String propStr)
          Subclasses must define this to instantiate the actual property value from its string encoding.
protected  java.lang.String encodeProperty(FieldStoreType property)
          Subclasses must define this to encode a property as a string for output to a file.
 void purgeBoringEntries()
           
 
Methods inherited from class edu.umd.cs.findbugs.ba.interproc.FieldPropertyDatabase
parseKey, writeKey
 
Methods inherited from class edu.umd.cs.findbugs.ba.interproc.PropertyDatabase
entrySet, getKeys, getProperty, isEmpty, read, readFromFile, removeProperty, setProperty, write, writeToFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_FILENAME

public static final java.lang.String DEFAULT_FILENAME
See Also:
Constant Field Values
Constructor Detail

FieldStoreTypeDatabase

public FieldStoreTypeDatabase()
Method Detail

purgeBoringEntries

public void purgeBoringEntries()

decodeProperty

protected FieldStoreType decodeProperty(java.lang.String propStr)
                                 throws PropertyDatabaseFormatException
Description copied from class: PropertyDatabase
Subclasses must define this to instantiate the actual property value from its string encoding.

Specified by:
decodeProperty in class PropertyDatabase<FieldDescriptor,FieldStoreType>
Parameters:
propStr - String containing the encoded property
Returns:
the property
Throws:
PropertyDatabaseFormatException

encodeProperty

protected java.lang.String encodeProperty(FieldStoreType property)
Description copied from class: PropertyDatabase
Subclasses must define this to encode a property as a string for output to a file.

Specified by:
encodeProperty in class PropertyDatabase<FieldDescriptor,FieldStoreType>
Parameters:
property - the property
Returns:
a String which encodes the property

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.