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 StringCACHE_DIRstatic StringCONFIG_DEFAULT_PHPstatic StringCONFIG_PHPstatic StringDATA_DIRstatic StringIMG_DIRstatic StringLANGUAGE_PHPstatic StringMYCONFIG_DEFAULT_PHPstatic StringMYCONFIG_PHPstatic StringOBJECT_PHPstatic StringPRIVATE_PHPstatic StringSESSIONS_DIRstatic StringTEMPLATES_DIRstatic StringTERMS_PHPstatic StringTEXTS_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 StringbuildConfigPhp(AgentImpl agent, File defaultConfigFile)config.php erzeugen.protected StringbuildPrivatePhp()private.php erzeugen.protected voidinitTranslationPhpValues(Map<String,String> values, Locale l)voidwrite(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:
initTranslationPhpValuesin classAbstractPhpBuilder<WebsitePhp1Format>
-
write
public void write(TransferImpl transfer, ExportContext context, DbAgencyExpose expose) throws IOException, SQLException
- Specified by:
writein classAbstractPhpBuilder<WebsitePhp1Format>- Throws:
IOExceptionSQLException
-
-