Package org.opencms.ugc
Class CmsUgcConfigurationReader
java.lang.Object
org.opencms.ugc.CmsUgcConfigurationReader
Parser for form configuration files.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The separator used for separating the configured valid file name extensions for uploaded files.static final String
XML content value name.static final String
XML content value name.static final String
XML content value name.static final String
XML content value name.static final String
XML content value name.static final String
XML content value name.static final String
XML content value name.static final String
XML content value name.static final String
XML content value name.static final String
XML content value name.static final String
XML content value name.static final String
XML content value name.static final String
XML content value name. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreadConfiguration
(CmsFile configFile) Reads the given configuration file.
-
Field Details
-
N_CONTENT_TYPE
XML content value name.- See Also:
-
N_CONTENT_PATH
XML content value name.- See Also:
-
N_NAME_PATTERN
XML content value name.- See Also:
-
N_LOCALE
XML content value name.- See Also:
-
N_UPLOAD_PATH
XML content value name.- See Also:
-
N_MAX_UPLOAD_SIZE
XML content value name.- See Also:
-
N_MAX_NUM_CONTENTS
XML content value name.- See Also:
-
N_QUEUE_WAIT_TIME
XML content value name.- See Also:
-
N_QUEUE_MAX_LENGTH
XML content value name.- See Also:
-
N_AUTO_PUBLISH
XML content value name.- See Also:
-
N_VALID_EXTENSIONS
XML content value name.- See Also:
-
N_USER_FOR_GUEST
XML content value name.- See Also:
-
N_PROJECT_GROUP
XML content value name.- See Also:
-
EXTENSIONS_SEPARATOR
The separator used for separating the configured valid file name extensions for uploaded files.- See Also:
-
-
Constructor Details
-
CmsUgcConfigurationReader
Creates a new instance.- Parameters:
cms
- the CMS context to use
-
-
Method Details
-
readConfiguration
Reads the given configuration file.- Parameters:
configFile
- the configuration file to read- Returns:
- the configuration data read from the file
- Throws:
CmsException
- if something goes wrong
-