Package org.silverpeas.core.util
Provides miscellaneous utility classes.
- Author:
- mmoquillon
-
Interface Summary Interface Description 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.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. -
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()
.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.DefaultSystemWrapper Default implementation that is nothing more than a delegate ofSystem
class.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.EmailAddress An email address representation.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.MailUtil MapUtil Utility methods onMap
s.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.Pagination<T> PaginationList<T> The pagination list is a decorator of a collection by adding it some methods used in the pagination.PdfUtil User: Yohann Chastagnier Date: 08/07/13ResourcePath.Constants ConstantsResourcesRootDirectoriesLocator Locator of the root directories of each resources type used by Silverpeas.SerializationUtil ServiceProvider A provider of Silverpeas services such as repositories, controllers, transactional services, and so on.SilverpeasArrayList<T> SilverpeasListWrapper<E> A wrapper ofList
instances.StringDataExtractor StringDataExtractor.RegexpPatternDirective Class that permits to specify the directives in order to extract data.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).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 a utility class.