public class MarcFormatter extends Object implements RecordFormatter
Constructor and Description |
---|
MarcFormatter() |
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)
RecordFormatter
format
in interface RecordFormatter
public String format(List<Pz2Record> sourceRecords) throws StandardServiceException
format
in interface RecordFormatter
StandardServiceException
public String getMessageText()
getMessageText
in interface RecordFormatter
public String getContentType()
RecordFormatter
getContentType
in interface RecordFormatter
public String getFileNamePart()
RecordFormatter
getFileNamePart
in interface RecordFormatter
public String getFileExtension()
RecordFormatter
getFileExtension
in interface RecordFormatter
public String getFormatName()
RecordFormatter
getFormatName
in interface RecordFormatter
public boolean isInline()
isInline
in interface RecordFormatter
public boolean isIndex()
isIndex
in interface RecordFormatter
public boolean isAttachment()
isAttachment
in interface RecordFormatter
public boolean oneCombinedAttachment()
oneCombinedAttachment
in interface RecordFormatter
public boolean oneAttachmentPerRecord()
oneAttachmentPerRecord
in interface RecordFormatter
Copyright © 2008-2015 Index Data. All Rights Reserved.