public class UrlPlainListFormatter extends Object implements RecordFormatter
Constructor and Description |
---|
UrlPlainListFormatter(ExportParameters p) |
Modifier and Type | Method and Description |
---|---|
protected String |
encode(String str) |
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() |
protected String |
getPermaLink(Pz2Record sourceRecord) |
protected String |
getRecordQuery(Pz2Record record) |
boolean |
isAttachment() |
boolean |
isIndex() |
boolean |
isInline() |
boolean |
oneAttachmentPerRecord() |
boolean |
oneCombinedAttachment() |
String |
toString() |
public UrlPlainListFormatter(ExportParameters p)
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 isAttachment()
isAttachment
in interface RecordFormatter
public boolean isIndex()
isIndex
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.