|
|||||||||
| Home >> All >> com >> opencms >> [ core overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.opencms.core
Class CmsStaticExportProperties

java.lang.Objectcom.opencms.core.CmsStaticExportProperties
- All Implemented Interfaces:
- I_CmsConstants
- public class CmsStaticExportProperties
- extends java.lang.Object
- implements I_CmsConstants
- extends java.lang.Object
This class provides a special data structure to access the static
export properties read from opencms.properties.
- Version:
- $Revision: 1.2 $ $Date: 2002/10/30 10:13:21 $
| Field Summary | |
private static boolean |
c_exportDefaultTrue
is export=true the default value for the resources property "export" |
private static boolean |
c_exportRelativeLinks
the link in the static export that link to pages that are exportet too are generated relative. |
private static java.lang.String[] |
c_linkRulesExport
the vectors to store the three different rulesets needed for the link replacement. |
private static java.lang.String[] |
c_linkRulesExtern
|
private static java.lang.String[] |
c_linkRulesOffline
|
private static java.lang.String[] |
c_linkRulesOnline
|
private static java.lang.String |
c_linkRuleStart
the start rule for the extern and the export rules |
private static boolean |
c_staticExportEnabled
Is the static export enabled or diabled |
private static java.lang.String |
c_staticExportEnabledValue
the value of the exportEnabled parameter. |
private static java.lang.String |
c_staticExportPath
The path to where the export will go |
private static java.util.Vector |
c_staticExportStart
The startpoints for the static export. |
private static java.lang.String[] |
c_staticUrlPrefix
contains the four url prefixe for the lnikreplacement. |
| Constructor Summary | |
CmsStaticExportProperties()
Constuctor. |
|
| Method Summary | |
java.lang.String |
getExportPath()
Returns the exportpath for the static export. |
static java.lang.String[] |
getLinkRules(int state)
Returns the ruleset for link replacement. |
java.util.Vector |
getStartPoints()
Returns a Vector (of Strings) with the names of the vfs resources (files and folders) where the export should start. |
java.lang.String |
getStartRule()
return the start rule used for export and extern mode. |
java.lang.String |
getStaticExportEnabledValue()
Returns the value of the static export enable. |
java.lang.String[] |
getUrlPrefixArray()
Gets the prefix array for the linkreplacement |
boolean |
isExportDefault()
returns true if the default value for the resource property "export" is true. |
boolean |
isStaticExportEnabled()
Returns true if the static export is enabled |
boolean |
relativLinksInExport()
Returns true if the links in the static export should be relative. |
void |
setExportDefaultValue(java.lang.String value)
|
void |
setExportPath(java.lang.String path)
|
void |
setExportRelativeLinks(boolean relLinks)
|
void |
setLinkRulesExport(java.lang.String[] rule)
|
void |
setLinkRulesExtern(java.lang.String[] rule)
|
void |
setLinkRulesOffline(java.lang.String[] rule)
|
void |
setLinkRulesOnline(java.lang.String[] rule)
|
void |
setStartPoints(java.util.Vector sp)
|
void |
setStartRule(java.lang.String rule)
|
void |
setStaticExportEnabled(boolean active)
|
void |
setStaticExportEnabledValue(java.lang.String value)
|
void |
setUrlPrefixArray(java.lang.String[] urls)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
c_exportRelativeLinks
private static boolean c_exportRelativeLinks
- the link in the static export that link to pages that are exportet too
are generated relative. This is only bugfree if the linkrules stay standard.
c_linkRulesExport
private static java.lang.String[] c_linkRulesExport
- the vectors to store the three different rulesets needed for the link replacement.
Each vector contains a ruleset. The elements are regular expressions (Strings) the
way perl5 uses them.
c_linkRulesOnline
private static java.lang.String[] c_linkRulesOnline
c_linkRulesOffline
private static java.lang.String[] c_linkRulesOffline
c_linkRulesExtern
private static java.lang.String[] c_linkRulesExtern
c_linkRuleStart
private static java.lang.String c_linkRuleStart
- the start rule for the extern and the export rules
c_staticExportEnabled
private static boolean c_staticExportEnabled
- Is the static export enabled or diabled
c_exportDefaultTrue
private static boolean c_exportDefaultTrue
- is export=true the default value for the resources property "export"
c_staticExportEnabledValue
private static java.lang.String c_staticExportEnabledValue
- the value of the exportEnabled parameter.
c_staticExportPath
private static java.lang.String c_staticExportPath
- The path to where the export will go
c_staticExportStart
private static java.util.Vector c_staticExportStart
- The startpoints for the static export.
c_staticUrlPrefix
private static java.lang.String[] c_staticUrlPrefix
- contains the four url prefixe for the lnikreplacement.
That are the prefix for export, http, https and servername. The last
two are used only wenn https is needed.
| Constructor Detail |
CmsStaticExportProperties
public CmsStaticExportProperties()
- Constuctor.
| Method Detail |
getExportPath
public java.lang.String getExportPath()
- Returns the exportpath for the static export.
getLinkRules
public static java.lang.String[] getLinkRules(int state)
- Returns the ruleset for link replacement.
getStartPoints
public java.util.Vector getStartPoints()
- Returns a Vector (of Strings) with the names of the vfs resources (files
and folders) where the export should start.
getStartRule
public java.lang.String getStartRule()
- return the start rule used for export and extern mode.
getStaticExportEnabledValue
public java.lang.String getStaticExportEnabledValue()
- Returns the value of the static export enable.
(needed for the false_ssl feature)
getUrlPrefixArray
public java.lang.String[] getUrlPrefixArray()
- Gets the prefix array for the linkreplacement
isExportDefault
public boolean isExportDefault()
- returns true if the default value for the resource property "export"
is true.
isStaticExportEnabled
public boolean isStaticExportEnabled()
- Returns true if the static export is enabled
relativLinksInExport
public boolean relativLinksInExport()
- Returns true if the links in the static export should be relative.
setExportDefaultValue
public void setExportDefaultValue(java.lang.String value)
setExportPath
public void setExportPath(java.lang.String path)
setExportRelativeLinks
public void setExportRelativeLinks(boolean relLinks)
setLinkRulesExport
public void setLinkRulesExport(java.lang.String[] rule)
setLinkRulesOnline
public void setLinkRulesOnline(java.lang.String[] rule)
setLinkRulesOffline
public void setLinkRulesOffline(java.lang.String[] rule)
setLinkRulesExtern
public void setLinkRulesExtern(java.lang.String[] rule)
setStartPoints
public void setStartPoints(java.util.Vector sp)
setStartRule
public void setStartRule(java.lang.String rule)
setStaticExportEnabled
public void setStaticExportEnabled(boolean active)
setStaticExportEnabledValue
public void setStaticExportEnabledValue(java.lang.String value)
setUrlPrefixArray
public void setUrlPrefixArray(java.lang.String[] urls)
|
|||||||||
| Home >> All >> com >> opencms >> [ core overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.opencms.core.CmsStaticExportProperties