public class SpFormatter extends Object implements RecordFormatter
| Constructor and Description |
|---|
SpFormatter() |
| 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 |
toString() |
public String format(Pz2Record sourceRecord)
RecordFormatterformat in interface RecordFormatterpublic String format(List<Pz2Record> sourceRecords) throws StandardServiceException
format in interface RecordFormatterStandardServiceExceptionpublic String getMessageText()
getMessageText in interface RecordFormatterpublic String getContentType()
RecordFormattergetContentType in interface RecordFormatterpublic String getFileNamePart()
RecordFormattergetFileNamePart in interface RecordFormatterpublic String getFileExtension()
RecordFormattergetFileExtension in interface RecordFormatterpublic String getFormatName()
RecordFormattergetFormatName in interface RecordFormatterpublic boolean isInline()
isInline in interface RecordFormatterpublic boolean isIndex()
isIndex in interface RecordFormatterpublic boolean isAttachment()
isAttachment in interface RecordFormatterpublic boolean oneCombinedAttachment()
oneCombinedAttachment in interface RecordFormatterpublic boolean oneAttachmentPerRecord()
oneAttachmentPerRecord in interface RecordFormatterCopyright © 2008-2015 Index Data. All Rights Reserved.