Package org.eclipse.jgit.util
package org.eclipse.jgit.util
Utility classes.
-
ClassDescriptionEncodes and decodes to and from Base64 notation.Base-85 encoder/decoder.BlockList<T>Random access list that allocates entries in blocks.Abstract authenticator which remembers prior authentications.Authentication data to remember and reuse.Utilities for creating and working with Change-Id's, like the one used by Gerrit Code Review.File UtilitiesAbstraction to support various file system operations not in Java.Base FS for POSIX based systemsFS implementation for WindowsFS implementation for Cygwin on WindowsFile attributes we typically care for.Result of an executed process.Attributes of FileStores on this systemThis class creates FS instances.FS.Holder<V>A token representing a file created by
FS.createNewFileAtomic(File)
.This runnable will consume an input stream's content into an output stream as soon as it gets available.A utility for formatting dates according to the Git log.date formats plus extensions.Git and JGit formatsParses strings with time and date specifications intoDate
.Factory to detect which GSSManager implementation should be used.DefaultGSSManagerFactory uses @linkGSSManager.getInstance()
but you might need to setjavax.security.auth.useSubjectCredsOnly
system property tofalse
for authentication to work.Encodes and decodes to and from hexadecimal notation.Holder<T>Holder of an object.Extra utilities to support usage of HTTP.A more efficient List<Integer> using a primitive integer array.Input/Output utilitiesRepresents an optionally present LFS support implementationEncapsulate a potentially exchangedInputStream
along with the expected stream content length.A command to enable LFS.A more efficient List<Long> using a primitive long array.LongMap<V>Simple Map<long, Object>.LongMap.Node<V>LRUMap<K,V> Map with only up to n entries.Enables monitoring JGit via JMXA boxed integer that can be modified.Conversion utilities for network byte order handling.Utility functions for paths inside of a Git repository.Describes the result of running an external process.Status of a process' execution.Utility functions related to quoted string handling.Quoting style used by the Bourne shell.Bourne style, but permits~user
at the start of the string.Quoting style that obeys the rules Git applies to file namesA rough character sequence around a raw byte buffer.Utility class for character functions on raw bytesHandy utility functions to parse raw object contents.Searches text using only substring search.Utility methods for object referencesSpecialized variant of an ArrayList to support aRefDatabase
.RefList.Builder<T extends Ref>Builder to facilitate fast construction of an immutable RefList.Specialized Map to present aRefDatabase
namespace.Formatter to format timestamps relative to the current time using time units in the format defined bygit log --relative-date
.Utilities for signature verification.SimpleLruCache<K,V> Simple limited size cache based on ConcurrentHashMap purging entries in LRU order when reaching size limitSimpleLruCache.Entry<K,V> Extra utilities to support usage of SSH.Simple double statistics, computed incrementally, variance and standard deviation using Welford's online algorithm, see https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Welford's_online_algorithmMiscellaneous string comparison utility methods.Interface to read values from the system.A fully buffered output stream.A temporary buffer that will never exceed its in-memory limit.A fully buffered output stream using local disk storage for large data.