Package org.silverpeas.core.util
Provides miscellaneous utility classes.
- Author:
- mmoquillon
-
Interface Summary Interface Description BeanContainer I represents the strategy used to manage the life-cycle of the objects (aka the beans) in Silverpeas.ExecutionAttempts.Job The interface a job within a retry mechanism should implements.Process<V> Defines a process to execute.ResourcePath<T extends SilverpeasResource> The path of a resource in the organization tree of Silverpeas.SilverpeasBundle A Silverpeas bundle represents a bundle containing data required by the different features of Silverpeas.SilverpeasList<T> A common definition of Silverpeas's list in order to get common behaviours.StringDataExtractor.ExtractorDirective This interface permits to implement several way to extract data from a string.TriConsumer<T,U,V> Represents an operation that accepts three input arguments and returns no result.TriFunction<T,U,V,R> Represents a function that accepts three arguments and produces a result. -
Class Summary Class Description ArgumentAssertion ArgumentAssertion gathers all of the assertion operations that can be used for for checking the arguments specified in method call are correct.ArrayUtil CDIContainer Implementation of the bean container above the CDI framework.Charsets CollectionUtil CollectionUtil.RuptureContext<T> Handles the context of a rupture treatment.
It must by initialized by callingCollectionUtil.RuptureContext.newOne(List)
after usingCollectionUtil.findNextRupture(RuptureContext, Predicate)
.
Callers can verify if it is no more possible to get an element from the rupture by callingCollectionUtil.RuptureContext.isTerminated()
.ConfigurationClassLoader The resource bundles and the properties files and all located into a particular directory in the Silverpeas home directory that isn't in the classpath of the running JEE application.ConfigurationControl Defines the frequency for ResourceBundle cache invalidation.ContributionPath<T extends Contribution> The path of a resource in the organizational resources tree of Silverpeas.DateUtil DateUtil is an helper class for date manipulation.DocumentInfo Information about the pdf to be converted.Either<T,U> It represents objects with two exclusive possibilities: either it is an object of type T or an object of type U.EncodingUtil ExecutionAttempts This class embeds a logic of reattempting the execution of jobs when an exception is thrown during a job execution.FileLink A link to a file that can be accessed through the Web.HttpUtil Centralizing the initializing of anHttpRequest
orHttpRequest.Builder
against the different Silverpeas's HTTP requirements such as proxy configurations for example.ImageUtil JoinStatement This is the data structure that represents one part of a Join StatementJSONCodec An encoder of Java bean to a JSON representation and a decoder of JSON stream into the corresponding Java bean.JSONCodec.JSONArray JSONCodec.JSONObject Link Link to a given web resource.ListSlice<T> This list represents a slice of a more complete lists and as such contains only the items that are part of this slice.LocalizationBundle A resource bundle that contains the localized resources defined under a fully qualified name in Silverpeas.MailUtil MapUtil MemoizedBooleanSupplier Represents a memoized supplier of a boolean result.MemoizedSupplier<T> Represents a memoized supplier of a result.MemoizedSyncSupplier<T> Synchronized version ofMemoizedSupplier
MimeTypes MimeTypes.MimeTypeRegistry Handles registry of mime type which is provided by different kind of sources.MultiSilverpeasBundle A bundle that is a wrapper of several kinds of resource bundles.Mutable<T> A mutable value wrapper which may or may not contain a non-null value.Pagination<T> PaginationList<T> The pagination list is a decorator of a collection by adding it some methods used in the pagination.Pair<T,U> This is a pair of objects.PdfUtil User: Yohann Chastagnier Date: 08/07/13ResourceLocator The resource locator gives access to the resource bundles (bundles of localized resources and of settings) that are located into a particular directory, the Silverpeas resources home directory.ResourcePath.Constants ConstantsSerializationUtil ServiceProvider A provider of Silverpeas services such as repositories, controllers, transactional services, and so on.SettingBundle A bundle settings used to configure some features in Silverpeas or the behaviour of an application.SilverpeasArrayList<T> SilverpeasBundleList This class permits to handle the result of property value list search.SilverpeasListWrapper<E> A wrapper ofList
instances.StringDataExtractor StringDataExtractor.RegexpPatternDirective Class that permits to specify the directives in order to extract data.StringUtil UnitUtil Unit values handling toolsURLEncoder URL-encoding utility for each URL part according to the RFC specs.URLUtil Class declarationWAAttributeValuePair WebEncodeHelper Utility class to encode special string or characters to be compliant with the web (HTML and Javascript).XmlSettingBundle A bundle of settings in XML used to configure some features in Silverpeas or the behaviour of an application.XmlSettingBundle.SettingSection ZipUtil Helper to manage archive files. -
Enum Summary Enum Description OsEnum URLUtil.Permalink -
Exception Summary Exception Description UtilException An exception thrown from a failure in a treatment of an utility class.