T
- the resource to formatpublic interface IFormatter<T>
Modifier and Type | Method and Description |
---|---|
String |
format(List<T> listResources)
Format the list of resources
|
String |
format(T resource)
Format the given resource
|
String |
formatError(String strCode,
String strMessage)
Format the error message
|
String formatError(String strCode, String strMessage)
strCode
- the error codestrMessage
- the error messageString format(T resource)
resource
- the resourceCopyright © 2021 City of Paris. All rights reserved.