public class GenericFormattableObject extends java.lang.Object implements FormattableObject
Constructor and Description |
---|
GenericFormattableObject(java.lang.String string) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toFormattedString(ResponseInfo info,
java.lang.String myName,
FileConfiguration config,
Database db)
Formats an object using the data given
|
java.lang.String |
toString() |
public GenericFormattableObject(java.lang.String string)
public java.lang.String toFormattedString(ResponseInfo info, java.lang.String myName, FileConfiguration config, Database db)
FormattableObject
toFormattedString
in interface FormattableObject
info
- the info this object belongs tomyName
- the name of the key of this objectconfig
- the current configdb
- the dbpublic java.lang.String toString()
toString
in class java.lang.Object