Package org.dspace.util
package org.dspace.util
Generally useful classes, not particularly tied to any other package.
-
ClassDescriptionMake System.console mock-able for testing.Standard implementation of console IO using
System.console().This class (Apache license) is copied from Apache Solr, adding some tweaks to resolve an unneeded dependency.PostgreSQL-specific dialect that adds regular expression support as a JPA function.Service class for generation of front-end URLs.These methods are linked to the functional paradigm and useFunctionalinterfaces of java 8+, all the main interfaces are in the packagejava.util.function.Data structure containing the required objects to build criteria for a JPA query built using the JPA Criteria API.This is a custom date deserializer for jackson that make use of ourMultiFormatDateParserDates are parsed as being in the UTC zone.Attempt to parse date strings in a variety of formats.Extension ofJsonDeserializerthat convert a json to a String.Class that parse a properties file present in the crosswalks directory and allows to get its values given a key.Utility class to export, clear and import Solr indexes.CLI tool to upgrade legacy id references in SOLR statistics to DSpace 6 UUID's.Common constants and static methods for working with Solr.Things you wishThrowableor some logging package would do for you.ThrowingSupplier<T,E extends Exception> Functional interface that can be used to returns an object and potentially throws a Exception.Various manipulations of dates and times.Utility class to read UUIDs