|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.directory.modules.rest.RecordFormaterJson
public class RecordFormaterJson
Format record output to the JSON format
| Constructor Summary | |
|---|---|
RecordFormaterJson()
|
|
| Method Summary | |
|---|---|
java.lang.String |
formatError(java.lang.String strCode,
java.lang.String strMessage)
Format the ouput of an err |
java.lang.String |
formatRecord(fr.paris.lutece.plugins.directory.business.Record record)
Format the ouput of a given directory record |
java.lang.String |
formatRecordsList(java.util.List<fr.paris.lutece.plugins.directory.business.Record> listRecords)
Format the ouput of a given directory list of records |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RecordFormaterJson()
| Method Detail |
|---|
public java.lang.String formatRecord(fr.paris.lutece.plugins.directory.business.Record record)
formatRecord in interface RecordFormaterrecord - The record
public java.lang.String formatError(java.lang.String strCode,
java.lang.String strMessage)
formatError in interface RecordFormaterstrCode - The error codestrMessage - The error message
public java.lang.String formatRecordsList(java.util.List<fr.paris.lutece.plugins.directory.business.Record> listRecords)
RecordFormater
formatRecordsList in interface RecordFormaterlistRecords - The list of records
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||