Class Is24CsvFormat
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,String>
-
- com.openindex.openestate.tool.agency.export.AbstractFormat
-
- com.openindex.openestate.tool.agency.export.AbstractCsvFormat
-
- com.openindex.openestate.tool.agency.export.Is24CsvFormat
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,String>
public class Is24CsvFormat extends AbstractCsvFormat
Is24CsvFormat.- Author:
- Andreas Rudolph
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Is24CsvFormat.Writer
-
Nested classes/interfaces inherited from class com.openindex.openestate.tool.agency.export.AbstractFormat
AbstractFormat.AttachmentMarker, AbstractFormat.AttachmentMode, AbstractFormat.Compression, AbstractFormat.DefaultMessageCode, AbstractFormat.HashCalculationException, AbstractFormat.ImageWatermarkPosition, AbstractFormat.NotExportableException, AbstractFormat.TransferMode
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description Is24CsvFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Is24CsvWriter
buildWriter()
String
calculateHashForObject(long estateId, EstateImpl estateItem)
AbstractFormatPanel
createSetupPanel()
protected String
getCompressedFileName(AbstractFormat.Compression c, ExportContext context)
protected String
getCsvFileName(ExportContext context)
String
getName()
String[]
getSupportedMimeTypes()
Liefert die von der Export-Schnittstelle fest vorgeschriebenen MIME-Types.AbstractFormat.TransferMode[]
getSupportedTransferModes()
String
getTitle()
String
getVersion()
void
initDefaults()
boolean
prepareObjectForExport(long estateId, EstateImpl estate)
File
writeToDisk(File workDir, TransferImpl transfer, ExportContext context)
-
Methods inherited from class com.openindex.openestate.tool.agency.export.AbstractCsvFormat
getSupportedTransports
-
Methods inherited from class com.openindex.openestate.tool.agency.export.AbstractFormat
canPublishAttachment, canPublishLink, createExportProcess, createExportRequests, equals, getAgentId, getAgentMail, getAttachmentDirectory, getAttachmentImageScaleHeight, getAttachmentImageScaleWidth, getAttachmentMimeTypes, getAttachmentMode, getCompression, getFormat, getFormats, getLanguage, getLanguages, getMessageCodeTranslation, getMessageCodeTranslation, getObjectKey, getObjectKey, getPreferredMimeTypes, getPropertyAddressPublication, getPropertyFilePublication, getPropertyImageLimit, getPropertyImageWatermarkAlpha, getPropertyImageWatermarkHeight, getPropertyImageWatermarkMargin, getPropertyImageWatermarkPosition, getPropertyImageWatermarkWidth, getPropertyLinkPublication, getPropertyPrefix, getPropertyPricePublication, getPropertyVideoLimit, hashCode, hasLanguage, isAttachmentImageScale, isFullTransferSupported, isFullTransportWarningShown, isIncrementalTransferSupported, isPropertyAddressHiddenIfUnpublished, isPropertyDescriptionWithEnergyCertificate, isPropertyFileHiddenIfUnpublished, isPropertyImageWatermark, isPropertyLinkHiddenIfUnpublished, isPropertyPriceHiddenIfUnpublished, isPropertyPublicId, listAvailableExports, setAgentId, setAgentMail, setAttachmentImageScale, setAttachmentImageScaleHeight, setAttachmentImageScaleWidth, setAttachmentMimeTypes, setAttachmentMode, setCompression, setLanguage, setLanguages, setPropertyAddressHiddenIfUnpublished, setPropertyAddressPublication, setPropertyDescriptionWithEnergyCertificate, setPropertyFileHiddenIfUnpublished, setPropertyFilePublication, setPropertyImageLimit, setPropertyImageWatermark, setPropertyImageWatermarkAlpha, setPropertyImageWatermarkHeight, setPropertyImageWatermarkMargin, setPropertyImageWatermarkPosition, setPropertyImageWatermarkWidth, setPropertyLinkHiddenIfUnpublished, setPropertyLinkPublication, setPropertyPrefix, setPropertyPriceHiddenIfUnpublished, setPropertyPricePublication, setPropertyPublicId, setPropertyVideoLimit
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
toString
-
-
-
-
Field Detail
-
GEODB
public static final String GEODB
- See Also:
- Constant Field Values
-
-
Method Detail
-
buildWriter
protected Is24CsvWriter buildWriter()
-
calculateHashForObject
public String calculateHashForObject(long estateId, EstateImpl estateItem) throws AbstractFormat.NotExportableException, AbstractFormat.HashCalculationException
- Overrides:
calculateHashForObject
in classAbstractFormat
- Throws:
AbstractFormat.NotExportableException
AbstractFormat.HashCalculationException
-
createSetupPanel
public AbstractFormatPanel createSetupPanel()
- Specified by:
createSetupPanel
in classAbstractFormat
-
getCompressedFileName
protected String getCompressedFileName(AbstractFormat.Compression c, ExportContext context)
- Overrides:
getCompressedFileName
in classAbstractFormat
-
getCsvFileName
protected String getCsvFileName(ExportContext context)
- Specified by:
getCsvFileName
in classAbstractCsvFormat
-
getName
public String getName()
- Specified by:
getName
in classAbstractFormat
-
getSupportedMimeTypes
public String[] getSupportedMimeTypes()
Description copied from class:AbstractFormat
Liefert die von der Export-Schnittstelle fest vorgeschriebenen MIME-Types.- Overrides:
getSupportedMimeTypes
in classAbstractFormat
- Returns:
- Liste der fest vorgeschriebenen MIME-Types, oder null wenn keine Vorgaben existieren.
public String[] getRequiredMimeTypes() { return null; }
-
getSupportedTransferModes
public AbstractFormat.TransferMode[] getSupportedTransferModes()
- Specified by:
getSupportedTransferModes
in classAbstractFormat
-
getTitle
public String getTitle()
- Specified by:
getTitle
in classAbstractFormat
-
getVersion
public String getVersion()
- Overrides:
getVersion
in classAbstractFormat
-
initDefaults
public void initDefaults()
- Overrides:
initDefaults
in classAbstractFormat
-
prepareObjectForExport
public boolean prepareObjectForExport(long estateId, EstateImpl estate)
- Overrides:
prepareObjectForExport
in classAbstractFormat
-
writeToDisk
public File writeToDisk(File workDir, TransferImpl transfer, ExportContext context) throws IOException
- Specified by:
writeToDisk
in classAbstractFormat
- Throws:
IOException
-
-