-
Notifications
You must be signed in to change notification settings - Fork 1
Home
The CORE Artifact contains typical basic functions for Java Applications. The Module is elaborated as library and packed as JAR file. It is possible to use this Artifact in JavaEE and JavaSE (Desktop) Applications. All other Artifacts use CORE as Dependency, but CORE has NO Dependencies to any other Artifact! The organization and implementation of CORE follows guidelines of the architecture documentation. We implement this library with the goal, to create an useful and compact toolbox. For this reason we just added functions who covers the design strategy of our architecture. Each functionality has her own task identifier inside the SCM. In the case there are some implementations who not fit into these tasks, then they have to be labeled with [CORE] to mark them as MISCELLANEOUS. Examples for misc implementations are exceptions or utilities.
The usage of this library is strict defined by the implicit API. All functions are described in the Java Docs Comments of the Interfaces. This means inside the package business are all available Interfaces, which can be used. org.europa.together.modules core 1.0
The together platform use the Maven filter technology for token replacement. The specific property files database and mail holds configuration parameters which are changeble during the build. This files can be found in src/main/filter and the usage is implicit.
The module contains a set of custom Exceptions, who was defined for the implemented services. The following Table gives an overview which Exception is available and for which case they should used.
- DAOException Data Access
- MisconfigurationException
- TimeOutException
- UnsupportedVersionException
org.europa.together.utils.Validator: is an simple helper based on Regular Expressions (RegEx). The most checks are defined as RegEx Pattern wich can be used in the validate() Method. Check the API for detailed information. org.europa.together.utils.StringUtils: contains a collection of some useful methods e. g. Hash, UUID, Converters and a File Write. A full desecription of the implemented functionality will be found in the API documentation. org.europa.together.utils.FileUtils: provides some simple file operations like read, write and append.