public interface RecordFormatter
Modifier and Type | Method and Description |
---|---|
String |
format(List<Pz2Record> sourceRecords) |
String |
format(Pz2Record sourceRecord)
Formats a Pazpar2 record and returns it
|
String |
getContentType()
Returns the default content type of the given output format
|
String |
getFileExtension()
Returns the default file extension of the given output format
|
String |
getFileNamePart()
Returns string that might be used as part of file name
|
String |
getFormatName()
Returns a string describing the format
|
String |
getMessageText() |
boolean |
isAttachment() |
boolean |
isIndex() |
boolean |
isInline() |
boolean |
oneAttachmentPerRecord() |
boolean |
oneCombinedAttachment() |
String format(Pz2Record sourceRecord) throws StandardServiceException
sourceRecord
- StandardServiceException
String format(List<Pz2Record> sourceRecords) throws StandardServiceException
StandardServiceException
String getMessageText()
String getContentType()
String getFileNamePart()
String getFileExtension()
String getFormatName()
boolean isInline()
boolean isIndex()
boolean isAttachment()
boolean oneAttachmentPerRecord()
boolean oneCombinedAttachment()
Copyright © 2008-2015 Index Data. All Rights Reserved.