Package org.dspace.util
Generally useful classes, not particularly tied to any other package.
-
Interface Summary Interface Description ConsoleService Make System.console mock-able for testing.ThrowingSupplier<T,E extends Exception> Functional interface that can be used to returns an object and potentially throws a Exception. -
Class Summary Class Description ConsoleServiceImpl Standard implementation of console IO usingSystem.console().DateMathParser This class (Apache license) is copied from Apache Solr, adding some tweaks to resolve an unneeded dependency.FrontendUrlService Service class for generation of front-end urls.FunctionalUtils These methods are linked to the functional paradigm and useFunctionalinterfaces of java 8+, all the main interfaces are in the packagejava.util.function.MultiFormatDateDeserializer This is a custom date deserializer for jackson that make use of ourMultiFormatDateParserDates are parsed as being in the UTC zone.MultiFormatDateParser Attempt to parse date strings in a variety of formats.SimpleMapConverter Class that parse a properties file present in the crosswalks directory and allows to get its values given a key.SolrImportExport Utility class to export, clear and import Solr indexes.SolrUpgradePre6xStatistics CLI tool to upgrade legacy id references in SOLR statistics to DSpace 6 UUID's.SolrUtils Common constants and static methods for working with Solr.ThrowableUtils Things you wishThrowableor some logging package would do for you.TimeHelpers Various manipulations of dates and times.UUIDUtils Utility class to read UUIDs -
Exception Summary Exception Description SolrImportExportException