Package org.eclipse.jgit.util
Utility classes.
-
Interface Summary Interface Description FileUtils.IOFunction<A,B> LfsFactory.LfsInstallCommand A command to enable LFS.References Utility methods for object references -
Class Summary Class Description Base64 Encodes and decodes to and from Base64 notation.Base85 Base-85 encoder/decoder.BlockList<T> Random access list that allocates entries in blocks.CachedAuthenticator Abstract authenticator which remembers prior authentications.CachedAuthenticator.CachedAuthentication Authentication data to remember and reuse.ChangeIdUtil Utilities for creating and working with Change-Id's, like the one used by Gerrit Code Review.Equality Equality utilities.FileUtils File UtilitiesFS Abstraction to support various file system operations not in Java.FS_POSIX Base FS for POSIX based systemsFS_Win32 FS implementation for WindowsFS_Win32_Cygwin FS implementation for Cygwin on WindowsFS.Attributes File attributes we typically care for.FS.ExecutionResult Result of an executed process.FS.FileStoreAttributes Attributes of FileStores on this systemFS.FSFactory This class creates FS instances.FS.LockToken A token representing a file created byFS.createNewFileAtomic(File)
.GitDateFormatter A utility for formatting dates according to the Git log.date formats plus extensions.GitDateParser Parses strings with time and date specifications intoDate
.GSSManagerFactory Factory to detect which GSSManager implementation should be used.Hex Encodes and decodes to and from hexadecimal notation.Holder<T> Holder of an object.HttpSupport Extra utilities to support usage of HTTP.IntList A more efficient List<Integer> using a primitive integer array.IO Input/Output utilitiesLfsFactory Represents an optionally present LFS support implementationLfsFactory.LfsInputStream Encapsulate a potentially exchangedInputStream
along with the expected stream content length.LongList A more efficient List<Long> using a primitive long array.LongMap<V> Simple Map<long, Object>.LRUMap<K,V> Map with only up to n entries.Monitoring Enables monitoring JGit via JMXMutableInteger A boxed integer that can be modified.NB Conversion utilities for network byte order handling.Paths Utility functions for paths inside of a Git repository.ProcessResult Describes the result of running an external process.QuotedString Utility functions related to quoted string handling.QuotedString.BourneStyle Quoting style used by the Bourne shell.QuotedString.BourneUserPathStyle Bourne style, but permits~user
at the start of the string.QuotedString.GitPathStyle Quoting style that obeys the rules Git applies to file namesRawCharSequence A rough character sequence around a raw byte buffer.RawCharUtil Utility class for character functions on raw bytesRawParseUtils Handy utility functions to parse raw object contents.RawSubStringPattern Searches text using only substring search.RefList<T extends Ref> Specialized variant of an ArrayList to support aRefDatabase
.RefList.Builder<T extends Ref> Builder to facilitate fast construction of an immutable RefList.RefMap Specialized Map to present aRefDatabase
namespace.RelativeDateFormatter Formatter to format timestamps relative to the current time using time units in the format defined bygit log --relative-date
.SignatureUtils Utilities for signature verification.SimpleLruCache<K,V> Simple limited size cache based on ConcurrentHashMap purging entries in LRU order when reaching size limitSshSupport Extra utilities to support usage of SSH.Stats 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_algorithmStringUtils Miscellaneous string comparison utility methods.SystemReader Interface to read values from the system.TemporaryBuffer A fully buffered output stream.TemporaryBuffer.Heap A temporary buffer that will never exceed its in-memory limit.TemporaryBuffer.LocalFile A fully buffered output stream using local disk storage for large data. -
Enum Summary Enum Description GitDateFormatter.Format Git and JGit formatsProcessResult.Status Status of a process' execution.