Class WebsitePhp1Builder
- java.lang.Object
-
- com.openindex.openestate.tool.agency.export.AbstractPhpBuilder<WebsitePhp1Format>
-
- com.openindex.openestate.tool.agency.export.WebsitePhp1Builder
-
public class WebsitePhp1Builder extends AbstractPhpBuilder<WebsitePhp1Format>
WebsitePhp1Builder.- Author:
- Andreas Rudolph
-
-
Field Summary
Fields Modifier and Type Field Description static String
CACHE_DIR
static String
CONFIG_DEFAULT_PHP
static String
CONFIG_PHP
static String
DATA_DIR
static String
IMG_DIR
static String
LANGUAGE_PHP
static String
MYCONFIG_DEFAULT_PHP
static String
MYCONFIG_PHP
static String
OBJECT_PHP
static String
PRIVATE_PHP
static String
SESSIONS_DIR
static String
TEMPLATES_DIR
static String
TERMS_PHP
static String
TEXTS_PHP
-
Fields inherited from class com.openindex.openestate.tool.agency.export.AbstractPhpBuilder
HTACCESS, INDEX_HTML
-
-
Constructor Summary
Constructors Constructor Description WebsitePhp1Builder(WebsitePhp1Format format)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
buildConfigPhp(AgentImpl agent, File defaultConfigFile)
config.php erzeugen.protected String
buildPrivatePhp()
private.php erzeugen.protected void
initTranslationPhpValues(Map<String,String> values, Locale l)
void
write(TransferImpl transfer, ExportContext context, DbAgencyExpose expose)
-
Methods inherited from class com.openindex.openestate.tool.agency.export.AbstractPhpBuilder
buildLanguagePhp, buildObjectPdf, buildObjectPdf, buildObjectPhp, buildObjectTextsPhp, buildTermsPhp, buildTranslationPhp, extractScripts, getFormat, initLanguagePhpValues, initObjectPhpValues, initObjectTextsPhpValues, initTermsPhpValues, lookupContact, lookupEstate, readResource, readResource, replaceVariable, saveResource, saveText, writeAddress, writeArrayLine, writeArrayLine, writeArrayLine, writeArrayLine, writeArrayLine, writeArrayLine, writeArrayNode, writeArrayNode, writeHtaccess, writeIndexHtml
-
-
-
-
Field Detail
-
CACHE_DIR
public static final String CACHE_DIR
- See Also:
- Constant Field Values
-
SESSIONS_DIR
public static final String SESSIONS_DIR
- See Also:
- Constant Field Values
-
DATA_DIR
public static final String DATA_DIR
- See Also:
- Constant Field Values
-
IMG_DIR
public static final String IMG_DIR
- See Also:
- Constant Field Values
-
TEMPLATES_DIR
public static final String TEMPLATES_DIR
- See Also:
- Constant Field Values
-
CONFIG_PHP
public static final String CONFIG_PHP
- See Also:
- Constant Field Values
-
CONFIG_DEFAULT_PHP
public static final String CONFIG_DEFAULT_PHP
- See Also:
- Constant Field Values
-
MYCONFIG_PHP
public static final String MYCONFIG_PHP
- See Also:
- Constant Field Values
-
MYCONFIG_DEFAULT_PHP
public static final String MYCONFIG_DEFAULT_PHP
- See Also:
- Constant Field Values
-
PRIVATE_PHP
public static final String PRIVATE_PHP
- See Also:
- Constant Field Values
-
LANGUAGE_PHP
public static final String LANGUAGE_PHP
- See Also:
- Constant Field Values
-
TERMS_PHP
public static final String TERMS_PHP
- See Also:
- Constant Field Values
-
OBJECT_PHP
public static final String OBJECT_PHP
- See Also:
- Constant Field Values
-
TEXTS_PHP
public static final String TEXTS_PHP
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WebsitePhp1Builder
public WebsitePhp1Builder(WebsitePhp1Format format)
-
-
Method Detail
-
buildConfigPhp
protected String buildConfigPhp(AgentImpl agent, File defaultConfigFile) throws IOException
config.php erzeugen.- Throws:
IOException
-
buildPrivatePhp
protected String buildPrivatePhp() throws IOException
private.php erzeugen.- Throws:
IOException
-
initTranslationPhpValues
protected void initTranslationPhpValues(Map<String,String> values, Locale l)
- Overrides:
initTranslationPhpValues
in classAbstractPhpBuilder<WebsitePhp1Format>
-
write
public void write(TransferImpl transfer, ExportContext context, DbAgencyExpose expose) throws IOException, SQLException
- Specified by:
write
in classAbstractPhpBuilder<WebsitePhp1Format>
- Throws:
IOException
SQLException
-
-