public class ResponseFormatter
extends java.lang.Object
Constructor and Description |
---|
ResponseFormatter(java.lang.String format,
ResponseInfo info)
Prepares a response formatter with the specified
information to use
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFormattedResponse(FileConfiguration config,
Database db)
Parses the current state of info and
gets the nice pretty response
|
public ResponseFormatter(java.lang.String format, ResponseInfo info)
format
- the formatinfo
- the infopublic java.lang.String getFormattedResponse(FileConfiguration config, Database db)
config
- the current configdb
- the db