Package info.freelibrary.util
A small collection of utility classes.
-
Interface Summary Interface Description LoggingBiConsumer<T,U> A bi-consumer that logs any exceptions.LoggingConsumer<T> A consumer that logs any exceptions.ProcessListener An interface for aProcess
listener.ThrowingBiConsumer<T,U> A bi-consumer that throws a runtime exception.ThrowingConsumer<T> A consumer that throws a runtime exception. -
Class Summary Class Description BufferedFileReader ABufferedReader
that reads from a file.BufferedFileWriter ABufferedWriter
that writes to a file.ByteUtils A utility class for working with bytes.ClasspathUtils Utilities for working with the Java classpath.Constants Generic string constants that have generalized usage.CustomBundleControl A resource bundle control that supports theXMLResourceBundle
.DirFileFilter A filter that returns only directories from a file system scan.DOMUtils Utilities for working with W3C DOMs.Env An extension to the Java environment properties interface.FileExtFileFilter A file name filter that checks the file extension to determine whether the filter matches the file name or not.FileUtils Utilities for working with files.HTTP HTTP response code constants.I18nObject A generic object with baked-in "default Locale" I18N support.IOUtils Utilities for working with IO streams.JarClassLoader AURLClassLoader
for Jar files.JarUtils A small collection of Jar file utilities.Logger Creates a SLF4J logger that is backed by aResourceBundle
.LoggerFactory A facade for SLF4J'sLoggerFactory
.LoggerMarker A Marker class that contains markers that can influence the behavior of the Logger.MessageCodes Codes used for internationalized text in logs and other application components.NativeLibraryLoader Utility class to load a native library that lives in the current classpath.PasswordUtils Utilities for use with password creation.PortUtils Utilities related to ports.ProcessWatcher Watcher that can register listeners that will fire when the process has finished.RegexDirFilter AFilenameFilter
that allows filtering directory names based on regular expressions.RegexFileFilter AFilenameFilter
that allows filtering file names based on regular expressions.Stopwatch Allows timing of the execution of any block of code.StringUtils Provides a few convenience methods for working with strings.URLUtils Utilities to assist with working with URLs.XMLResourceBundle AResourceBundle
that uses a XML file as its source.XmlUtils Utilities for working with XML.ZipUtils A utility class for working with Zip files. -
Enum Summary Enum Description NativeLibraryLoader.Architecture Possible architectures of native libraries. -
Exception Summary Exception Description I18nException An I18n'ed exception.I18nRuntimeException A runtime exception that wraps an I18n resource bundle.IllegalArgumentI18nException An I18n wrapper aroundIllegalArgumentException
.MalformedUrlException Creates a malformed URL runtime exception.UnsupportedEncodingI18nException An I18n wrapper aroundUnsupportedEncodingException
.UnsupportedOperationI18nException An I18n wrapper aroundUnsupportedOperationException
.