Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 

A

abort() - Method in class com.norconex.commons.lang.exec.SystemCommand
Aborts the running command.
accept(String) - Method in interface com.norconex.commons.lang.io.IInputStreamFilter
Whether a line is "accepted" or not.
accept(String) - Method in class com.norconex.commons.lang.io.RegexInputStreamFilter
 
addBigDecimal(String, BigDecimal...) - Method in class com.norconex.commons.lang.map.Properties
Add one or multiple BigDecimal values.
addBoolean(String, boolean...) - Method in class com.norconex.commons.lang.map.Properties
Adds one or multiple boolean values.
addClass(String, Class<?>...) - Method in class com.norconex.commons.lang.map.Properties
Adds one or multiple class values.
addDate(String, Date...) - Method in class com.norconex.commons.lang.map.Properties
Add one or multiple date values.
addDays(int) - Method in class com.norconex.commons.lang.time.YearMonthDay
Adds a number of days to a new created YearMonthDay.
addDirectoryTrailingSlash() - Method in class com.norconex.commons.lang.url.URLNormalizer
Adds a trailing slash (/) to a URL ending with a directory.
addDomainTrailingSlash() - Method in class com.norconex.commons.lang.url.URLNormalizer
Adds a trailing slash (/) right after the domain for URLs with no path, before any fragment (#) or query string (?).
addDouble(String, double...) - Method in class com.norconex.commons.lang.map.Properties
Adds one or multiple double values.
addErrorListener(IInputStreamListener) - Method in class com.norconex.commons.lang.exec.SystemCommand
Adds an error (STDERR) listener to this system command.
addFile(String, File...) - Method in class com.norconex.commons.lang.map.Properties
Adds one or multiple file values.
addFileChangeListener(IFileChangeListener, String, long) - Method in class com.norconex.commons.lang.file.FileMonitor
Adds a monitored file with a IFileChangeListener.
addFileChangeListener(IFileChangeListener, File, long) - Method in class com.norconex.commons.lang.file.FileMonitor
Adds a monitored file with a FileChangeListener.
addFloat(String, float...) - Method in class com.norconex.commons.lang.map.Properties
Adds one or multiple long values.
addInt(String, int...) - Method in class com.norconex.commons.lang.map.Properties
Adds one or multiple integer values values.
addLocale(String, Locale...) - Method in class com.norconex.commons.lang.map.Properties
Adds one or multiple locale values.
addLong(String, long...) - Method in class com.norconex.commons.lang.map.Properties
Add one or multiple long values.
addMapChangeListener(IMapChangeListener<K, V>) - Method in class com.norconex.commons.lang.map.MapChangeSupport
Add a IMapChangeListener to the listener list.
addMapChangeListener(IMapChangeListener<K, V>) - Method in class com.norconex.commons.lang.map.ObservableMap
Adds a map change listener.
addMonths(int) - Method in class com.norconex.commons.lang.time.YearMonthDay
Adds a number of months to a new created YearMonthDay.
addOutputListener(IInputStreamListener) - Method in class com.norconex.commons.lang.exec.SystemCommand
Adds an output (STDOUT) listener to this system command.
addStage(IPipelineStage<T>) - Method in class com.norconex.commons.lang.pipeline.Pipeline
Adds a stage to the pipeline.
addStages(List<IPipelineStage<T>>) - Method in class com.norconex.commons.lang.pipeline.Pipeline
Adds stages to the pipeline.
addStreamListener(IStreamListener...) - Method in class com.norconex.commons.lang.io.StreamGobbler
Deprecated.
Adds stream listeners.
addString(String, String...) - Method in class com.norconex.commons.lang.map.Properties
Adds one or multiple string values.
addTrailingSlash() - Method in class com.norconex.commons.lang.url.URLNormalizer
Deprecated.
addWWW() - Method in class com.norconex.commons.lang.url.URLNormalizer
Adds "www." domain name prefix.
addYears(int) - Method in class com.norconex.commons.lang.time.YearMonthDay
Adds a number of years to a new created YearMonthDay.
afterStreaming() - Method in class com.norconex.commons.lang.io.InputStreamConsumer
Invoked just after steaming ended, before the thread dies.
afterStreaming() - Method in class com.norconex.commons.lang.io.StreamGobbler
Deprecated.
Invoked just after steaming ended, before the thread dies.
append(LoggingEvent) - Method in class com.norconex.commons.lang.log.CountingConsoleAppender
 
applyOnURL(String) - Method in class com.norconex.commons.lang.url.QueryString
Apply this url QueryString on the given URL.
applyOnURL(URL) - Method in class com.norconex.commons.lang.url.QueryString
Apply this url QueryString on the given URL.
assertWriteRead(IXMLConfigurable) - Static method in class com.norconex.commons.lang.config.ConfigurationUtil
Deprecated.
Convenience class for testing that a IXMLConfigurable instance can be written, and read into an new instance that is equal as per Object.equals(Object).
assertWriteRead(IXMLConfigurable) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Convenience class for testing that a IXMLConfigurable instance can be written, and read into an new instance that is equal as per Object.equals(Object).
available() - Method in class com.norconex.commons.lang.io.CachedInputStream
 

B

beforeStreaming() - Method in class com.norconex.commons.lang.io.InputStreamConsumer
Invoked just before steaming begins, in a new thread.
beforeStreaming() - Method in class com.norconex.commons.lang.io.StreamGobbler
Deprecated.
Invoked just before steaming begins, in a new thread.
between(T, T) - Static method in class com.norconex.commons.lang.CircularRange
Obtains a range with the specified minimum and maximum values also serving as circular start and end (all inclusive).
between(T, T, Comparator<T>) - Static method in class com.norconex.commons.lang.CircularRange
Obtains a range with the specified minimum and maximum values also serving as circular start and end (all inclusive).
between(T, T, T, T) - Static method in class com.norconex.commons.lang.CircularRange
Obtains a range with the specified minimum and maximum values and circular start and end values (all inclusive).
between(T, T, T, T, Comparator<T>) - Static method in class com.norconex.commons.lang.CircularRange
Obtains a range with the specified minimum and maximum values and circular start and end values (all inclusive).
BMP - Static variable in class com.norconex.commons.lang.file.ContentType
 
borrowBytes(InputStream, int) - Static method in class com.norconex.commons.lang.io.IOUtil
Gets and resets the specified number of bytes from the input stream.
ByteArrayOutputStream - Class in com.norconex.commons.lang.io
This class is an alternate version of Java ByteArrayOutputStream.
ByteArrayOutputStream() - Constructor for class com.norconex.commons.lang.io.ByteArrayOutputStream
Creates a new byte array output stream.
ByteArrayOutputStream(int) - Constructor for class com.norconex.commons.lang.io.ByteArrayOutputStream
Creates a new byte array output stream, with a buffer capacity of the specified size, in bytes.
ByteBufferInputStream - Class in com.norconex.commons.lang.io
Wraps a ByteBuffer in an InputStream.
ByteBufferInputStream(ByteBuffer) - Constructor for class com.norconex.commons.lang.io.ByteBufferInputStream
 

C

CachedInputStream - Class in com.norconex.commons.lang.io
InputStream wrapper that can be re-read any number of times.
CachedOutputStream - Class in com.norconex.commons.lang.io
OutputStream wrapper that caches the output so it can be retrieved once as a CachedInputStream.
CachedStreamFactory - Class in com.norconex.commons.lang.io
 
CachedStreamFactory(int, int) - Constructor for class com.norconex.commons.lang.io.CachedStreamFactory
Constructor.
CachedStreamFactory(int, int, File) - Constructor for class com.norconex.commons.lang.io.CachedStreamFactory
Constructor.
CachedStreamFactory.MemoryTracker - Class in com.norconex.commons.lang.io
 
CircularRange<T> - Class in com.norconex.commons.lang
A range from a possible set of values that rolls over when defined circular start and end is reached.
ClassFinder - Class in com.norconex.commons.lang
Utility class for finding names of classes implementing an interface or class in directories or JAR files.
ClasspathInput - Class in com.norconex.commons.lang.xml
Load XML Schema resources input from Classpath.
ClasspathInput(String, String, InputStream) - Constructor for class com.norconex.commons.lang.xml.ClasspathInput
 
ClasspathResourceResolver - Class in com.norconex.commons.lang.xml
Resolves XML Schema (XSD) include directives by looking for the specified resource on the Classpath.
ClasspathResourceResolver() - Constructor for class com.norconex.commons.lang.xml.ClasspathResourceResolver
 
ClasspathResourceResolver(Class<?>) - Constructor for class com.norconex.commons.lang.xml.ClasspathResourceResolver
Resolves the resource relative to the given class.
ClasspathResourceResolver(String) - Constructor for class com.norconex.commons.lang.xml.ClasspathResourceResolver
Resolves the resource relative to the given package path.
clear() - Method in class com.norconex.commons.lang.map.ObservableMap
 
clearStages() - Method in class com.norconex.commons.lang.pipeline.Pipeline
 
close() - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
Closing a ByteArrayOutputStream has no effect.
close() - Method in class com.norconex.commons.lang.io.CachedOutputStream
 
close() - Method in class com.norconex.commons.lang.io.ReverseFileInputStream
 
close() - Method in class com.norconex.commons.lang.io.TextReader
 
close() - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
com.norconex.commons.lang - package com.norconex.commons.lang
Miscellaneous classes.
com.norconex.commons.lang.config - package com.norconex.commons.lang.config
Classes making it easier to deal with configuration files.
com.norconex.commons.lang.encrypt - package com.norconex.commons.lang.encrypt
Encryption-related classes.
com.norconex.commons.lang.exec - package com.norconex.commons.lang.exec
Utility classes related to process/code execution.
com.norconex.commons.lang.file - package com.norconex.commons.lang.file
File-related utility classes.
com.norconex.commons.lang.io - package com.norconex.commons.lang.io
Utility classes when dealing with files and directories.
com.norconex.commons.lang.jar - package com.norconex.commons.lang.jar
Utility classes related to jar file duplicate and version conflict detection and resolution.
com.norconex.commons.lang.log - package com.norconex.commons.lang.log
Utility classes related to logging.
com.norconex.commons.lang.map - package com.norconex.commons.lang.map
Enhanced and/or useful versions of Map.
com.norconex.commons.lang.net - package com.norconex.commons.lang.net
 
com.norconex.commons.lang.pipeline - package com.norconex.commons.lang.pipeline
Simple pipeline framework, allowing the queue of executable tasks.
com.norconex.commons.lang.time - package com.norconex.commons.lang.time
Time-related utility classes.
com.norconex.commons.lang.unit - package com.norconex.commons.lang.unit
Classes making it easier to deal with unit conversions and formatting.
com.norconex.commons.lang.url - package com.norconex.commons.lang.url
Classes making it easier to deal with and manipulate URLs.
com.norconex.commons.lang.xml - package com.norconex.commons.lang.xml
XML-related classes.
compareTo(JarFile) - Method in class com.norconex.commons.lang.jar.JarFile
 
compareTo(YearMonthDay) - Method in class com.norconex.commons.lang.time.YearMonthDay
 
ConfigurationException - Exception in com.norconex.commons.lang.config
Runtime exception for configuration related issues.
ConfigurationException() - Constructor for exception com.norconex.commons.lang.config.ConfigurationException
Constructor.
ConfigurationException(String) - Constructor for exception com.norconex.commons.lang.config.ConfigurationException
Constructor.
ConfigurationException(Throwable) - Constructor for exception com.norconex.commons.lang.config.ConfigurationException
Constructor.
ConfigurationException(String, Throwable) - Constructor for exception com.norconex.commons.lang.config.ConfigurationException
Constructor.
ConfigurationLoader - Class in com.norconex.commons.lang.config
Class parsing a Velocity template (which can have parse/include directives) and using separate files for defining Velocity variables.
ConfigurationLoader() - Constructor for class com.norconex.commons.lang.config.ConfigurationLoader
Constructor.
ConfigurationLoader(Properties) - Constructor for class com.norconex.commons.lang.config.ConfigurationLoader
Constructor.
ConfigurationUtil - Class in com.norconex.commons.lang.config
Deprecated.
Since 1.13.0, use XMLConfigurationUtil
consume(InputStream) - Static method in class com.norconex.commons.lang.io.InputStreamConsumer
Convenience method for creasing a consumer instance and starting it.
consume(InputStream, String, IInputStreamListener...) - Static method in class com.norconex.commons.lang.io.InputStreamConsumer
Convenience method for creasing a consumer instance and starting it.
consume(InputStream, int, String, IInputStreamListener...) - Static method in class com.norconex.commons.lang.io.InputStreamConsumer
Convenience method for creasing a consumer instance, starting it, and waiting for it to complete.
consumeAndWait(InputStream) - Static method in class com.norconex.commons.lang.io.InputStreamConsumer
Convenience method for creasing a consumer instance, starting it, and waiting for it to complete.
consumeAndWait(InputStream, String, IInputStreamListener...) - Static method in class com.norconex.commons.lang.io.InputStreamConsumer
Convenience method for creasing a consumer instance and starting it.
consumeAndWait(InputStream, int, String, IInputStreamListener...) - Static method in class com.norconex.commons.lang.io.InputStreamConsumer
Convenience method for creasing a consumer instance, starting it, and waiting for it to complete.
contains(T) - Method in class com.norconex.commons.lang.CircularRange
Checks whether the specified element occurs within this range.
contains(ContentType) - Method in class com.norconex.commons.lang.file.ContentFamily
 
contains(String) - Method in class com.norconex.commons.lang.file.ContentFamily
 
contains(File) - Method in class com.norconex.commons.lang.jar.JarDuplicates
Gets whether this duplicate batch contains the given jar file.
contains(Date) - Method in class com.norconex.commons.lang.time.YearMonthDay
Whether this YearmMonthDay contains the given Date (i.e.
contains(YearMonthDay) - Method in class com.norconex.commons.lang.time.YearMonthDayInterval
Whether the YearMonthDay falls between this interval (inclusive endpoints).
contains(Date) - Method in class com.norconex.commons.lang.time.YearMonthDayInterval
Whether the date falls between this interval (inclusive endpoints).
containsKey(Object) - Method in class com.norconex.commons.lang.map.ObservableMap
 
containsRange(CircularRange<T>) - Method in class com.norconex.commons.lang.CircularRange
Checks whether this range contains all the elements of the specified range.
containsValue(Object) - Method in class com.norconex.commons.lang.map.ObservableMap
 
ContentFamily - Class in com.norconex.commons.lang.file
Represents a family of content types.
ContentType - Class in com.norconex.commons.lang.file
Represents a file Content-Type (also called MIME-Type or Media Type).
convert(long, DataUnit) - Method in enum com.norconex.commons.lang.unit.DataUnit
Converts a given source data amount and type to this type.
copyFrom(ProxySettings) - Method in class com.norconex.commons.lang.net.ProxySettings
 
copyJarDirectory(String, String) - Method in class com.norconex.commons.lang.jar.JarCopier
Copies Jars from a source directory to a target one taking into consideration Jar versions.
copyJarDirectory(File, File) - Method in class com.norconex.commons.lang.jar.JarCopier
Copies Jars from a source directory to a target one taking into consideration Jar versions.
copyJarFile(String, String) - Method in class com.norconex.commons.lang.jar.JarCopier
Copies a single Jar to a target directory, taking into consideration Jar versions.
copyJarFile(File, File) - Method in class com.norconex.commons.lang.jar.JarCopier
Copies a single Jar to a target directory, taking into consideration Jar versions.
CountingConsoleAppender - Class in com.norconex.commons.lang.log
A console appender that keeps track of how many events of each matching level were logged.
CountingConsoleAppender() - Constructor for class com.norconex.commons.lang.log.CountingConsoleAppender
 
CountingConsoleAppender(Layout, String) - Constructor for class com.norconex.commons.lang.log.CountingConsoleAppender
 
CountingConsoleAppender(Layout) - Constructor for class com.norconex.commons.lang.log.CountingConsoleAppender
 
createAuthScope() - Method in class com.norconex.commons.lang.net.ProxySettings
 
createCredentials() - Method in class com.norconex.commons.lang.net.ProxySettings
 
createCredentialsProvider() - Method in class com.norconex.commons.lang.net.ProxySettings
 
createDateDirs(File) - Static method in class com.norconex.commons.lang.file.FileUtil
Creates (if not already existing) a series of directories reflecting the current date, up to the day unit, under a given parent directory.
createDateDirs(File, Date) - Static method in class com.norconex.commons.lang.file.FileUtil
Creates (if not already existing) a series of directories reflecting a date, up to the day unit, under a given parent directory.
createDateTimeDirs(File) - Static method in class com.norconex.commons.lang.file.FileUtil
Creates (if not already existing) a series of directories reflecting the current date and time, up to the seconds, under a given parent directory.
createDateTimeDirs(File, Date) - Static method in class com.norconex.commons.lang.file.FileUtil
Creates (if not already existing) a series of directories reflecting a date and time, up to the seconds, under a given parent directory.
createDirsForFile(File) - Static method in class com.norconex.commons.lang.file.FileUtil
Create all parent directories for a file if they do not exists.
createHttpHost() - Method in class com.norconex.commons.lang.net.ProxySettings
Creates an Apache HttpHost.
createURLDirs(File, URL) - Static method in class com.norconex.commons.lang.file.FileUtil
Creates (if not already existing) a series of directories matching URL segments, under a given parent directory.
createURLDirs(File, String) - Static method in class com.norconex.commons.lang.file.FileUtil
Creates (if not already existing) a series of directories matching URL segments, under a given parent directory.
createURLDirs(File, URL, boolean) - Static method in class com.norconex.commons.lang.file.FileUtil
Creates (if not already existing) a series of directories matching URL segments, under a given parent directory.
createURLDirs(File, String, boolean) - Static method in class com.norconex.commons.lang.file.FileUtil
Creates (if not already existing) a series of directories matching URL segments, under a given parent directory.
Credentials(String, String) - Constructor for class com.norconex.commons.lang.url.URLStreamer.Credentials
 
CSV - Static variable in class com.norconex.commons.lang.file.ContentType
 

D

DataUnit - Enum in com.norconex.commons.lang.unit
A DataUnit represents data amounts at a given unit of granularity and provides utility methods to convert across units.
DataUnitFormatter - Class in com.norconex.commons.lang.unit
Formats a data unit as string.
DataUnitFormatter() - Constructor for class com.norconex.commons.lang.unit.DataUnitFormatter
Creates a new DataUnit formatter with default system locale, without decimals.
DataUnitFormatter(Locale) - Constructor for class com.norconex.commons.lang.unit.DataUnitFormatter
Creates a new DataUnit formatter without decimals.
DataUnitFormatter(int) - Constructor for class com.norconex.commons.lang.unit.DataUnitFormatter
Creates a new DataUnit formatter with default system locale with the maximum number of decimals returned when applicable.
DataUnitFormatter(Locale, int) - Constructor for class com.norconex.commons.lang.unit.DataUnitFormatter
Creates a new DataUnit formatter with the maximum number of decimals returned when applicable.
DataUnitFormatter(Locale, int, boolean) - Constructor for class com.norconex.commons.lang.unit.DataUnitFormatter
Creates a new DataUnit formatter with the maximum number of decimals returned when applicable.
decodeUnreservedCharacters() - Method in class com.norconex.commons.lang.url.URLNormalizer
Decodes percent-encoded unreserved characters.
decrypt(String, EncryptionKey) - Static method in class com.norconex.commons.lang.encrypt.EncryptionUtil
Decrypts the given encrypted text with the encryption key supplied.
DEFAULT_CHUNK_SIZE - Static variable in class com.norconex.commons.lang.io.InputStreamConsumer
 
DEFAULT_HTTP_PORT - Static variable in class com.norconex.commons.lang.url.HttpURL
Default URL HTTP Port.
DEFAULT_HTTPS_PORT - Static variable in class com.norconex.commons.lang.url.HttpURL
Default Secure URL HTTP Port.
DEFAULT_INITIAL_CAPACITY - Static variable in class com.norconex.commons.lang.io.ByteArrayOutputStream
 
DEFAULT_KEY_SIZE - Static variable in class com.norconex.commons.lang.encrypt.EncryptionKey
 
DEFAULT_LAYOUT - Static variable in class com.norconex.commons.lang.log.CountingConsoleAppender
 
DEFAULT_MAX_CAUSES_KEPT - Static variable in class com.norconex.commons.lang.exec.Retrier
Default maximum number of exception causes kept.
DEFAULT_MAX_READ_SIZE - Static variable in class com.norconex.commons.lang.io.TextReader
 
DEFAULT_MAX_RETRIES - Static variable in class com.norconex.commons.lang.exec.Retrier
Default maximum number of retries.
DEFAULT_MULTIVALUE_DELIMITER - Static variable in class com.norconex.commons.lang.map.Properties
Deprecated.
Since 1.14.0 this content is not used. If needed, pass delimiter in store/load methods supporting it instead.
DEFAULT_RETRY_DELAY - Static variable in class com.norconex.commons.lang.exec.Retrier
Default wait time (milliseconds) before making a new attempt.
delete(File) - Static method in class com.norconex.commons.lang.file.FileUtil
Deletes a file or a directory recursively in a more robust way.
deleteEmptyDirs(File) - Static method in class com.norconex.commons.lang.file.FileUtil
Deletes all directories that are empty from a given parent directory.
deleteEmptyDirs(File, Date) - Static method in class com.norconex.commons.lang.file.FileUtil
Deletes all directories that are empty and are older than the given date.
disableDelimiterParsing(XMLConfiguration) - Static method in class com.norconex.commons.lang.config.ConfigurationUtil
Deprecated.
Disables delimiter parsing for both attributes and elements.
disableDelimiterParsing(XMLConfiguration) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Disables delimiter parsing for both attributes and elements.
dispose() - Method in class com.norconex.commons.lang.io.CachedInputStream
 
DurationParser - Class in com.norconex.commons.lang.time
Parse a textual (English) representation of a duration and converts it into a long millisecond value.
DurationParser() - Constructor for class com.norconex.commons.lang.time.DurationParser
 
DurationParserException - Exception in com.norconex.commons.lang.time
Runtime exception when a DurationParser could not parse a string value.
DurationParserException() - Constructor for exception com.norconex.commons.lang.time.DurationParserException
Constructor.
DurationParserException(String) - Constructor for exception com.norconex.commons.lang.time.DurationParserException
Constructor.
DurationParserException(Throwable) - Constructor for exception com.norconex.commons.lang.time.DurationParserException
Constructor.
DurationParserException(String, Throwable) - Constructor for exception com.norconex.commons.lang.time.DurationParserException
Constructor.
DurationUtil - Class in com.norconex.commons.lang.time
Utility class for duration-related features.

E

encodeNonURICharacters() - Method in class com.norconex.commons.lang.url.URLNormalizer
Encodes all characters that are not supported characters in a URI (not to confuse with URL), as defined by the RFC 3986 standard.
encodePath(String) - Static method in class com.norconex.commons.lang.url.HttpURL
URL-Encodes a URL path.
encodeQueryString(String) - Static method in class com.norconex.commons.lang.url.HttpURL
URL-Encodes the query string portion of a URL.
encodeSpaces() - Method in class com.norconex.commons.lang.url.URLNormalizer
Encodes space characters into plus signs (+) if they are part of the query string.
encrypt(String, EncryptionKey) - Static method in class com.norconex.commons.lang.encrypt.EncryptionUtil
Encrypts the given text with the encryption key supplied.
EncryptionException - Exception in com.norconex.commons.lang.encrypt
Runtime exception thrown if there is a problem with the encryption or decryption.
EncryptionException() - Constructor for exception com.norconex.commons.lang.encrypt.EncryptionException
 
EncryptionException(String, Throwable) - Constructor for exception com.norconex.commons.lang.encrypt.EncryptionException
 
EncryptionException(String) - Constructor for exception com.norconex.commons.lang.encrypt.EncryptionException
 
EncryptionException(Throwable) - Constructor for exception com.norconex.commons.lang.encrypt.EncryptionException
 
EncryptionKey - Class in com.norconex.commons.lang.encrypt
Pointer to the an encryption key, or the encryption key itself.
EncryptionKey(String, EncryptionKey.Source, int) - Constructor for class com.norconex.commons.lang.encrypt.EncryptionKey
Creates a new reference to an encryption key.
EncryptionKey(String, EncryptionKey.Source) - Constructor for class com.norconex.commons.lang.encrypt.EncryptionKey
Creates a new reference to an encryption key.
EncryptionKey(String, int) - Constructor for class com.norconex.commons.lang.encrypt.EncryptionKey
Creates a new encryption key where the value is the actual key, and the number of key bits to generate is the size.
EncryptionKey(String) - Constructor for class com.norconex.commons.lang.encrypt.EncryptionKey
Creates a new encryption key where the value is the actual key.
EncryptionKey.Source - Enum in com.norconex.commons.lang.encrypt
 
EncryptionUtil - Class in com.norconex.commons.lang.encrypt
Simplified encryption and decryption methods using the Advanced Encryption Standard (AES) (since 1.15.0) with a supplied encryption key (which you can also think of as a passphrase, or password).
EncryptionXMLUtil - Class in com.norconex.commons.lang.encrypt
Utility methods for loading and saving EncryptionKey with IXMLConfigurable objects or other XML-driven classes.
enforceFullCaching() - Method in class com.norconex.commons.lang.io.CachedInputStream
If not already fully cached, forces the inner input stream to be fully cached.
EnhancedXMLStreamWriter - Class in com.norconex.commons.lang.xml
A version of XMLStreamWriter that adds convenience methods for adding simple elements and typed attributes, as well as offering pretty-printing.
EnhancedXMLStreamWriter(Writer) - Constructor for class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
EnhancedXMLStreamWriter(Writer, boolean) - Constructor for class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
Creates a new xml stream writer.
EnhancedXMLStreamWriter(Writer, boolean, int) - Constructor for class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
Creates a new xml stream writer.
EnhancedXMLStreamWriter(XMLStreamWriter) - Constructor for class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
EnhancedXMLStreamWriter(XMLStreamWriter, boolean) - Constructor for class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
EnhancedXMLStreamWriter(XMLStreamWriter, boolean, int) - Constructor for class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
Creates a new xml stream writer.
entrySet() - Method in class com.norconex.commons.lang.map.ObservableMap
 
equals(Object) - Method in class com.norconex.commons.lang.CircularRange
Compares this range to another object to test if they are equal.
equals(Object) - Method in class com.norconex.commons.lang.encrypt.EncryptionKey
 
equals(Object) - Method in class com.norconex.commons.lang.file.ContentFamily
 
equals(Object) - Method in class com.norconex.commons.lang.file.ContentType
 
equals(Object) - Method in class com.norconex.commons.lang.jar.JarFile
 
equals(Object) - Method in class com.norconex.commons.lang.map.MapChangeEvent
 
equals(Object) - Method in class com.norconex.commons.lang.map.PropertyMatcher
 
equals(Object) - Method in class com.norconex.commons.lang.net.ProxySettings
 
equals(Object) - Method in class com.norconex.commons.lang.time.YearMonthDay
 
equals(Object) - Method in class com.norconex.commons.lang.unit.DataUnitFormatter
 
equals(Object) - Method in class com.norconex.commons.lang.url.HttpURL
 
equalsAll(Object, Object...) - Static method in class com.norconex.commons.lang.EqualsUtil
Whether a source object equals ALL of the target objects
equalsAllIgnoreCase(String, String...) - Static method in class com.norconex.commons.lang.EqualsUtil
Whether a source string equals ALL of the target string.
equalsAny(Object, Object...) - Static method in class com.norconex.commons.lang.EqualsUtil
Whether a source object equals ANY of the target objects.
equalsAnyIgnoreCase(String, String...) - Static method in class com.norconex.commons.lang.EqualsUtil
Whether a source string equals ANY of the target string.
equalsMap(Map<?, ?>, Map<?, ?>) - Static method in class com.norconex.commons.lang.EqualsUtil
Compares that two maps are equals, regardless of entry orders.
equalsNone(Object, Object...) - Static method in class com.norconex.commons.lang.EqualsUtil
Whether a source object equals NONE of the target objects
equalsNoneIgnoreCase(String, String...) - Static method in class com.norconex.commons.lang.EqualsUtil
Whether a source string equals NONE of the target string.
EqualsUtil - Class in com.norconex.commons.lang
Convenience methods related to object equality.
error(SAXParseException) - Method in class com.norconex.commons.lang.xml.ListErrorHandler
 
escape(List<String>) - Static method in class com.norconex.commons.lang.exec.SystemCommand
Escapes spaces in each parts of the command as well as special characters in some operating systems, if they are not already escaped.
escape(String...) - Static method in class com.norconex.commons.lang.exec.SystemCommand
Escapes spaces in each parts of the command as well as special characters in some operating systems, if they are not already escaped.
ExecException - Exception in com.norconex.commons.lang.exec
An exception thrown by ExecUtil.
ExecException(String) - Constructor for exception com.norconex.commons.lang.exec.ExecException
 
ExecException(Throwable) - Constructor for exception com.norconex.commons.lang.exec.ExecException
 
ExecException(String, Throwable) - Constructor for exception com.norconex.commons.lang.exec.ExecException
 
execute() - Method in interface com.norconex.commons.lang.exec.IRetriable
Code to be executed until successful (no exception thrown).
execute(IRetriable<T>) - Method in class com.norconex.commons.lang.exec.Retrier
Runs the IRetriable instance.
execute() - Method in class com.norconex.commons.lang.exec.SystemCommand
Executes this system command and returns only when the underlying process stopped running.
execute(boolean) - Method in class com.norconex.commons.lang.exec.SystemCommand
Executes this system command.
execute(InputStream) - Method in class com.norconex.commons.lang.exec.SystemCommand
Executes this system command with the given input and returns only when the underlying process stopped running.
execute(InputStream, boolean) - Method in class com.norconex.commons.lang.exec.SystemCommand
Executes this system command with the given input.
execute(T) - Method in interface com.norconex.commons.lang.pipeline.IPipelineStage
Executes this pipeline stage.
execute(T) - Method in class com.norconex.commons.lang.pipeline.Pipeline
 
ExecUtil - Class in com.norconex.commons.lang.exec
Utility methods related to process execution.

F

fatalError(SAXParseException) - Method in class com.norconex.commons.lang.xml.ListErrorHandler
 
fileChanged(File) - Method in interface com.norconex.commons.lang.file.IFileChangeListener
Invoked when a file changes.
FileMonitor - Class in com.norconex.commons.lang.file
Class monitoring a File for changes and notifying all registered IFileChangeListener.
FileUtil - Class in com.norconex.commons.lang.file
Utility methods when dealing with files and directories.
FILTER - Static variable in class com.norconex.commons.lang.jar.JarFile
 
FilteredInputStream - Class in com.norconex.commons.lang.io
Decorates an InputStream with a stream filter.
FilteredInputStream(InputStream, IInputStreamFilter) - Constructor for class com.norconex.commons.lang.io.FilteredInputStream
Constructor, using UTF-8 as the character encoding.
FilteredInputStream(InputStream, IInputStreamFilter, Charset) - Constructor for class com.norconex.commons.lang.io.FilteredInputStream
Constructor.
FilteredInputStream(InputStream, IInputStreamFilter, String) - Constructor for class com.norconex.commons.lang.io.FilteredInputStream
Constructor.
finalize() - Method in class com.norconex.commons.lang.io.CachedInputStream
 
finalize() - Method in class com.norconex.commons.lang.io.CachedOutputStream
 
findJarDuplicates(String...) - Static method in class com.norconex.commons.lang.jar.JarDuplicateFinder
Finds all jar duplicates.
findJarDuplicates(File...) - Static method in class com.norconex.commons.lang.jar.JarDuplicateFinder
Finds all jar duplicates.
findSubTypes(Class<?>) - Static method in class com.norconex.commons.lang.ClassFinder
Finds the names of all subtypes of the super class, scanning the roots of this class classpath.
findSubTypes(List<File>, Class<?>) - Static method in class com.norconex.commons.lang.ClassFinder
Finds the names of all subtypes of the super class in list of File supplied.
findSubTypes(File, Class<?>) - Static method in class com.norconex.commons.lang.ClassFinder
Finds the names of all subtypes of the super class for the supplied File.
fireFileChangeEvent(IFileChangeListener, File) - Method in class com.norconex.commons.lang.file.FileMonitor
Fires notification that a file changed.
fireMapChange(K, V, V) - Method in class com.norconex.commons.lang.map.MapChangeSupport
Fires a MapChangeEvent to all change listeners.
flush() - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
forContentType(ContentType) - Static method in class com.norconex.commons.lang.file.ContentFamily
 
forContentType(String) - Static method in class com.norconex.commons.lang.file.ContentFamily
 
format(double, double) - Method in class com.norconex.commons.lang.PercentFormatter
Formats fraction values as percentage string.
format(double) - Method in class com.norconex.commons.lang.PercentFormatter
Formats a fraction as percentage string.
format(double, double, int, Locale) - Static method in class com.norconex.commons.lang.PercentFormatter
Formats fraction values as percentage with the given local and decimal precision.
format(double, int, Locale) - Static method in class com.norconex.commons.lang.PercentFormatter
Formats a fraction as percentage with the given local and decimal precision.
format(long, DataUnit) - Method in class com.norconex.commons.lang.unit.DataUnitFormatter
Formats a data amount of the given unit to a human-readable representation.
formatLong(Locale, long) - Static method in class com.norconex.commons.lang.time.DurationUtil
Formats a duration using time units full names according to supplied locale.
formatLong(Locale, long, int) - Static method in class com.norconex.commons.lang.time.DurationUtil
Formats a duration using time units full names according to supplied locale.
formatShort(Locale, long) - Static method in class com.norconex.commons.lang.time.DurationUtil
Formats a duration using time units abbreviations according to supplied locale.
formatShort(Locale, long, int) - Static method in class com.norconex.commons.lang.time.DurationUtil
Formats a duration using time units abbreviations according to supplied locale.
fromSafeFileName(String) - Static method in class com.norconex.commons.lang.file.FileUtil
Converts a "safe" file name originally created with FileUtil.toSafeFileName(String) into its original string.

G

get(Object) - Method in class com.norconex.commons.lang.map.ObservableMap
 
get(Object) - Method in class com.norconex.commons.lang.map.Properties
 
getAll() - Method in class com.norconex.commons.lang.xml.ListErrorHandler
 
getAllCauses() - Method in exception com.norconex.commons.lang.exec.RetriableException
 
getAllMessages() - Method in class com.norconex.commons.lang.xml.ListErrorHandler
 
getBaseName() - Method in class com.norconex.commons.lang.jar.JarFile
 
getBaseURI() - Method in class com.norconex.commons.lang.xml.ClasspathInput
 
getBigDecimal(String) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a BigDecimal.
getBigDecimal(String, BigDecimal) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a BigDecimal.
getBigDecimals(String) - Method in class com.norconex.commons.lang.map.Properties
Gets values as a list of BigDecimals.
getBoolean(String) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a boolean.
getBoolean(String, boolean) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a boolean.
getBooleans(String) - Method in class com.norconex.commons.lang.map.Properties
Gets values as a list of booleans.
getByte(int) - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
Gets the single byte value found at specified offset.
getBytes(byte[], int) - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
Gets a byte array matching the specified offset and target byte array length.
getByteStream() - Method in class com.norconex.commons.lang.xml.ClasspathInput
 
getCacheDirectory() - Method in class com.norconex.commons.lang.io.CachedInputStream
Gets the cache directory where temporary cache files are created.
getCacheDirectory() - Method in class com.norconex.commons.lang.io.CachedOutputStream
Gets the cache directory where temporary cache files are created.
getCacheDirectory() - Method in interface com.norconex.commons.lang.io.ICachedStream
Gets the cache directory where temporary cache files are created.
getCertifiedText() - Method in class com.norconex.commons.lang.xml.ClasspathInput
 
getCharacterStream() - Method in class com.norconex.commons.lang.xml.ClasspathInput
 
getCircleEnd() - Method in class com.norconex.commons.lang.CircularRange
Gets the end value of this circular range.
getCircleStart() - Method in class com.norconex.commons.lang.CircularRange
Gets the start value of this circular range.
getClass(String) - Method in class com.norconex.commons.lang.map.Properties
Gets a class, assuming key value is a fully qualified class name available in the classloader.
getClass(String, Class<?>) - Method in class com.norconex.commons.lang.map.Properties
Gets a class, assuming key value is a fully qualified class name available in the classloader.
getClasses(String) - Method in class com.norconex.commons.lang.map.Properties
Gets values as a list of initialized classes.
getCommand() - Method in class com.norconex.commons.lang.exec.SystemCommand
Gets the command to be run.
getComparator() - Method in class com.norconex.commons.lang.CircularRange
Gets the comparator being used to determine if objects are within the range.
getContentFamily() - Method in class com.norconex.commons.lang.file.ContentType
 
getCount(Level) - Method in class com.norconex.commons.lang.log.CountingConsoleAppender
Gets the number of events logged for the given log level.
getCount() - Method in class com.norconex.commons.lang.log.CountingConsoleAppender
Gets the number of events logged for all log levels.
getCSVIntArray(HierarchicalConfiguration, String) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Gets a comma-separated-value string as an int array, removing any blank entries.
getCSVIntArray(HierarchicalConfiguration, String, int[]) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Gets a comma-separated-value string as an int array, removing any blank entries.
getCSVStringArray(HierarchicalConfiguration, String) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Gets a comma-separated-value string as a String array, trimming values and removing any blank entries.
getCSVStringArray(HierarchicalConfiguration, String, String[]) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Gets a comma-separated-value string as a String array, trimming values and removing any blank entries.
getDate(String) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a date.
getDate(String, Date) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a date.
getDates(String) - Method in class com.norconex.commons.lang.map.Properties
Gets values as a list of dates.
getDay() - Method in class com.norconex.commons.lang.time.YearMonthDay
Gets the day.
getDays() - Method in class com.norconex.commons.lang.time.YearMonthDayInterval
Gets the number of days between start and end dates, rounded down.
getDisplayName() - Method in class com.norconex.commons.lang.file.ContentFamily
 
getDisplayName(Locale) - Method in class com.norconex.commons.lang.file.ContentFamily
 
getDisplayName() - Method in class com.norconex.commons.lang.file.ContentType
Gets a name for the content type suitable for display to a user.
getDisplayName(Locale) - Method in class com.norconex.commons.lang.file.ContentType
Gets a name for the content type suitable for display to a user.
getDouble(String) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a double.
getDouble(String, double) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a double.
getDoubles(String) - Method in class com.norconex.commons.lang.map.Properties
Gets values as a list of doubles.
getDuration(HierarchicalConfiguration, String, long) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Gets a duration which can be a numerical value or a textual representation of a duration as per DurationParser.
getEncoding() - Method in class com.norconex.commons.lang.io.StreamGobbler
Deprecated.
Gets the character encoding.
getEncoding() - Method in class com.norconex.commons.lang.url.HttpURL
Gets the character encoding.
getEncoding() - Method in class com.norconex.commons.lang.url.QueryString
Gets the character encoding.
getEncoding() - Method in class com.norconex.commons.lang.xml.ClasspathInput
 
getEnd() - Method in class com.norconex.commons.lang.time.YearMonthDayInterval
 
getEndDate() - Method in class com.norconex.commons.lang.time.YearMonthDayInterval
 
getEndDateEndOfDay() - Method in class com.norconex.commons.lang.time.YearMonthDayInterval
Gets the end date as midnight the day after to ensure all dates on the same day as this YearMonthDay are smaller than this returned exclusive date.
getEnvironmentVariables() - Method in class com.norconex.commons.lang.exec.SystemCommand
Gets environment variables.
getErrorMessages() - Method in class com.norconex.commons.lang.xml.ListErrorHandler
 
getErrors() - Method in class com.norconex.commons.lang.xml.ListErrorHandler
 
getExceptionFilter() - Method in class com.norconex.commons.lang.exec.Retrier
Sets an exception filter that limits the exceptions eligible for retry.
getExtension() - Method in class com.norconex.commons.lang.file.ContentType
Gets the file extension usually associated with this content type.
getExtensions() - Method in class com.norconex.commons.lang.file.ContentType
Gets the file extensions usually associated with this content type.
getFatalErrorMessages() - Method in class com.norconex.commons.lang.xml.ListErrorHandler
 
getFatalErrors() - Method in class com.norconex.commons.lang.xml.ListErrorHandler
 
getFile(String) - Method in class com.norconex.commons.lang.map.Properties
Gets a file, assuming key value is a file system path.
getFile(String, File) - Method in class com.norconex.commons.lang.map.Properties
Gets a file, assuming key value is a file system path.
getFiles(String) - Method in class com.norconex.commons.lang.map.Properties
Gets values as a list of files.
getFloat(String) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a float.
getFloat(String, float) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a float.
getFloats(String) - Method in class com.norconex.commons.lang.map.Properties
Gets values as a list of floats.
getFragment() - Method in class com.norconex.commons.lang.url.HttpURL
Gets the URL fragment.
getFreeMemory() - Static method in class com.norconex.commons.lang.MemoryUtil
Gets the JVM free memory.
getFreeMemory(boolean) - Static method in class com.norconex.commons.lang.MemoryUtil
Gets the JVM free memory.
getFullName() - Method in class com.norconex.commons.lang.jar.JarFile
 
getHost() - Method in class com.norconex.commons.lang.url.HttpURL
Gets the host portion of the URL.
getHostName() - Method in class com.norconex.commons.lang.url.URLStreamer.HttpHost
 
getHtmlReader(Class<?>) - Static method in class com.norconex.commons.lang.ResourceLoader
Gets a UTF-8 reader from resource matching class name with ".html" suffix.
getHtmlStream(Class<?>) - Static method in class com.norconex.commons.lang.ResourceLoader
Gets a stream from a resource matching class name with ".html" suffix.
getHtmlString(Class<?>) - Static method in class com.norconex.commons.lang.ResourceLoader
Gets a UTF-8 string from resource matching class name with ".html" suffix.
getId() - Method in class com.norconex.commons.lang.file.ContentFamily
 
getInputStream() - Method in class com.norconex.commons.lang.io.CachedOutputStream
 
getInputStream() - Method in class com.norconex.commons.lang.xml.ClasspathInput
 
getInstance() - Static method in class com.norconex.commons.lang.file.FileMonitor
Gets the file monitor instance.
getInstanceMaxMemory() - Method in class com.norconex.commons.lang.io.CachedStreamFactory
 
getInt(String) - Method in class com.norconex.commons.lang.map.Properties
Gets value as an integer.
getInt(String, int) - Method in class com.norconex.commons.lang.map.Properties
Gets value as an integer.
getInts(String) - Method in class com.norconex.commons.lang.map.Properties
Gets values as a list of integers.
getJarFiles() - Method in class com.norconex.commons.lang.jar.JarDuplicates
Gets the jar files being considered duplicates of each other.
getKey() - Method in class com.norconex.commons.lang.map.MapChangeEvent
Gets the key that has is value changed.
getKey() - Method in class com.norconex.commons.lang.map.PropertyMatcher
 
getLastModified() - Method in class com.norconex.commons.lang.jar.JarFile
 
getLastPathSegment() - Method in class com.norconex.commons.lang.url.HttpURL
Gets the last URL path segment without the query string.
getLatestVersion() - Method in class com.norconex.commons.lang.jar.JarDuplicates
Gets the jar file that is considered the most recent of the batch.
getLocale(String) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a locale.
getLocale(String, Locale) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a locale.
getLocales(String) - Method in class com.norconex.commons.lang.map.Properties
Gets values as a list of locales.
getLong(String) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a long.
getLong(String, long) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a long.
getLongs(String) - Method in class com.norconex.commons.lang.map.Properties
Gets values as a list of longs.
getMaxCauses() - Method in class com.norconex.commons.lang.exec.Retrier
Gets the maximum number of exception causes to keep when all attempts were made and a RetriableException is thrown.
getMaximum() - Method in class com.norconex.commons.lang.CircularRange
Gets the maximum value in this range.
getMaxRetries() - Method in class com.norconex.commons.lang.exec.Retrier
Gets the maximum number of retries (the initial run does not count as a retry).
getMemCacheSize() - Method in class com.norconex.commons.lang.io.CachedInputStream
 
getMemCacheSize() - Method in class com.norconex.commons.lang.io.CachedOutputStream
 
getMemCacheSize() - Method in interface com.norconex.commons.lang.io.ICachedStream
 
getMinimum() - Method in class com.norconex.commons.lang.CircularRange
Gets the minimum value in this range.
getMonth() - Method in class com.norconex.commons.lang.time.YearMonthDay
Gets the month.
getMonths() - Method in class com.norconex.commons.lang.time.YearMonthDayInterval
Gets the number of months between start and end dates, rounded down.
getMultiValueDelimiter() - Method in class com.norconex.commons.lang.map.Properties
Deprecated.
Since 1.14.0, always returns null.
getNamespaceContext() - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
getNewValue() - Method in class com.norconex.commons.lang.map.MapChangeEvent
Gets the new value.
getNullableBigDecimal(HierarchicalConfiguration, String, BigDecimal) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Gets a BigDecimal from XML configuration.
getNullableBigInteger(HierarchicalConfiguration, String, BigInteger) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Gets a BigInteger from XML configuration.
getNullableBoolean(HierarchicalConfiguration, String, Boolean) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Gets a Boolean from XML configuration.
getNullableByte(HierarchicalConfiguration, String, Byte) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Gets a Byte from XML configuration.
getNullableClass(HierarchicalConfiguration, String, Class<?>) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Gets a Class from XML configuration.
getNullableDimension(HierarchicalConfiguration, String, Dimension) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Gets a Dimension from XML configuration (e.g., 400x500, or 200).
getNullableDouble(HierarchicalConfiguration, String, Double) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Gets a Double from XML configuration.
getNullableFloat(HierarchicalConfiguration, String, Float) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Gets a Float from XML configuration.
getNullableInteger(HierarchicalConfiguration, String, Integer) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Gets an Integer from XML configuration.
getNullableLong(HierarchicalConfiguration, String, Long) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Gets a Long from XML configuration.
getNullableShort(HierarchicalConfiguration, String, Short) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Gets a Short from XML configuration.
getNullableString(HierarchicalConfiguration, String, String) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Gets a String from XML configuration.
getOldValue() - Method in class com.norconex.commons.lang.map.MapChangeEvent
Gets the old value.
getPassword() - Method in class com.norconex.commons.lang.url.URLStreamer.Credentials
 
getPath() - Method in class com.norconex.commons.lang.jar.JarFile
 
getPath() - Method in class com.norconex.commons.lang.url.HttpURL
Gets the URL path.
getPoolMaxMemory() - Method in class com.norconex.commons.lang.io.CachedStreamFactory
 
getPort() - Method in class com.norconex.commons.lang.url.HttpURL
Gets the URL port.
getPort() - Method in class com.norconex.commons.lang.url.URLStreamer.HttpHost
 
getPrefix(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
getProperty(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
getProtocol() - Method in class com.norconex.commons.lang.url.HttpURL
Gets the protocol portion of the URL (e.g.
getProxyHost() - Method in class com.norconex.commons.lang.net.ProxySettings
 
getProxyPassword() - Method in class com.norconex.commons.lang.net.ProxySettings
 
getProxyPasswordKey() - Method in class com.norconex.commons.lang.net.ProxySettings
 
getProxyPort() - Method in class com.norconex.commons.lang.net.ProxySettings
 
getProxyRealm() - Method in class com.norconex.commons.lang.net.ProxySettings
 
getProxyScheme() - Method in class com.norconex.commons.lang.net.ProxySettings
 
getProxyUsername() - Method in class com.norconex.commons.lang.net.ProxySettings
 
getPublicId() - Method in class com.norconex.commons.lang.xml.ClasspathInput
 
getQueryString() - Method in class com.norconex.commons.lang.url.HttpURL
Gets the URL query string.
getReader(Class<?>, String) - Static method in class com.norconex.commons.lang.ResourceLoader
Gets a UTF-8 resource from class loader as a reader.
getRegex() - Method in class com.norconex.commons.lang.map.PropertyMatcher
 
getRetryDelay() - Method in class com.norconex.commons.lang.exec.Retrier
Gets the delay in milliseconds before attempting to execute again.
getRoot() - Method in class com.norconex.commons.lang.url.HttpURL
Gets the root of this HttpUrl.
getRoot(String) - Static method in class com.norconex.commons.lang.url.HttpURL
Gets the root of a URL.
getSize() - Method in class com.norconex.commons.lang.encrypt.EncryptionKey
Gets the size in bits of the encryption key.
getSource() - Method in class com.norconex.commons.lang.encrypt.EncryptionKey
 
getSource() - Method in class com.norconex.commons.lang.map.MapChangeEvent
Gets the source on which the change was applied.
getStages() - Method in class com.norconex.commons.lang.pipeline.Pipeline
Gets the pipeline stages.
getStart() - Method in class com.norconex.commons.lang.time.YearMonthDayInterval
 
getStartDate() - Method in class com.norconex.commons.lang.time.YearMonthDayInterval
 
getStrategy() - Method in class com.norconex.commons.lang.jar.JarCopier
Gets the strategy used when encountering duplicates or version conflicts.
getStream(Class<?>, String) - Static method in class com.norconex.commons.lang.ResourceLoader
Gets a resource from class loader as stream.
getStreamFactory() - Method in class com.norconex.commons.lang.io.CachedInputStream
 
getStreamFactory() - Method in class com.norconex.commons.lang.io.CachedOutputStream
 
getStreamListeners() - Method in class com.norconex.commons.lang.io.InputStreamConsumer
Returns stream listeners.
getStreamListeners() - Method in class com.norconex.commons.lang.io.StreamGobbler
Deprecated.
Returns stream listeners.
getString(String) - Method in class com.norconex.commons.lang.map.Properties
Gets value as string.
getString(String, String) - Method in class com.norconex.commons.lang.map.Properties
Gets value as string.
getString(Class<?>, String) - Static method in class com.norconex.commons.lang.ResourceLoader
Gets a UTF-8 a resource from class loader as a string.
getStringData() - Method in class com.norconex.commons.lang.xml.ClasspathInput
 
getStrings(String) - Method in class com.norconex.commons.lang.map.Properties
Gets values as a list of strings.
getSystemId() - Method in class com.norconex.commons.lang.xml.ClasspathInput
 
getTxtReader(Class<?>) - Static method in class com.norconex.commons.lang.ResourceLoader
Gets a UTF-8 reader from resource matching class name with ".txt" suffix.
getTxtStream(Class<?>) - Static method in class com.norconex.commons.lang.ResourceLoader
Gets a stream from a resource matching class name with ".txt" suffix.
getTxtString(Class<?>) - Static method in class com.norconex.commons.lang.ResourceLoader
Gets a UTF-8 string from resource matching class name with ".txt" suffix.
getType() - Method in class com.norconex.commons.lang.io.InputStreamConsumer
Gets the stream type or null if no type was set.
getType() - Method in class com.norconex.commons.lang.io.StreamGobbler
Deprecated.
Gets the stream type.
getUsername() - Method in class com.norconex.commons.lang.url.URLStreamer.Credentials
 
getValue() - Method in class com.norconex.commons.lang.encrypt.EncryptionKey
 
getVersion() - Method in class com.norconex.commons.lang.jar.JarFile
 
getWarningMessages() - Method in class com.norconex.commons.lang.xml.ListErrorHandler
 
getWarnings() - Method in class com.norconex.commons.lang.xml.ListErrorHandler
 
getWorkdir() - Method in class com.norconex.commons.lang.exec.SystemCommand
Gets the command working directory.
getXmlAt(HierarchicalConfiguration, String) - Static method in class com.norconex.commons.lang.config.ConfigurationUtil
Deprecated.
This method is the same as HierarchicalConfiguration.configurationAt(String), except that it first checks if the key exists before attempting to retrieve it, and returns null on missing keys instead of an IllegalArgumentException
getXmlAt(HierarchicalConfiguration, String) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
This method is the same as HierarchicalConfiguration.configurationAt(String), except that it first checks if the key exists before attempting to retrieve it, and returns null on missing keys instead of an IllegalArgumentException
getXmlReader(Class<?>) - Static method in class com.norconex.commons.lang.ResourceLoader
Gets a UTF-8 reader from resource matching class name with ".xml" suffix.
getXmlStream(Class<?>) - Static method in class com.norconex.commons.lang.ResourceLoader
Gets a stream from a resource matching class name with ".xml" suffix.
getXmlString(Class<?>) - Static method in class com.norconex.commons.lang.ResourceLoader
Gets a UTF-8 string from resource matching class name with ".xml" suffix.
getXmlTag() - Method in class com.norconex.commons.lang.net.ProxySettings
 
getYear() - Method in class com.norconex.commons.lang.time.YearMonthDay
Gets the year.
getYears() - Method in class com.norconex.commons.lang.time.YearMonthDayInterval
Gets the number of years between start and end dates, rounded down.
GIF - Static variable in class com.norconex.commons.lang.file.ContentType
 

H

hasEnoughAvailableMemory(ByteArrayOutputStream, int) - Method in class com.norconex.commons.lang.io.CachedStreamFactory.MemoryTracker
 
hashCode() - Method in class com.norconex.commons.lang.CircularRange
Gets a suitable hash code for the range.
hashCode() - Method in class com.norconex.commons.lang.encrypt.EncryptionKey
 
hashCode() - Method in class com.norconex.commons.lang.file.ContentFamily
 
hashCode() - Method in class com.norconex.commons.lang.file.ContentType
 
hashCode() - Method in class com.norconex.commons.lang.jar.JarFile
 
hashCode() - Method in class com.norconex.commons.lang.map.MapChangeEvent
 
hashCode() - Method in class com.norconex.commons.lang.map.PropertyMatcher
 
hashCode() - Method in class com.norconex.commons.lang.net.ProxySettings
 
hashCode() - Method in class com.norconex.commons.lang.time.YearMonthDay
 
hashCode() - Method in class com.norconex.commons.lang.unit.DataUnitFormatter
 
hashCode() - Method in class com.norconex.commons.lang.url.HttpURL
 
hasVersionConflict() - Method in class com.norconex.commons.lang.jar.JarDuplicates
Whether all jar files share the same version or if at least one of them have a different version.
head(File, int) - Static method in class com.norconex.commons.lang.file.FileUtil
Returns the specified number of lines starting from the beginning of a text file.
head(File, String, int) - Static method in class com.norconex.commons.lang.file.FileUtil
Returns the specified number of lines starting from the beginning of a text file, using the given encoding.
head(File, String, int, boolean) - Static method in class com.norconex.commons.lang.file.FileUtil
Returns the specified number of lines starting from the beginning of a text file, using the given encoding.
head(File, String, int, boolean, IInputStreamFilter) - Static method in class com.norconex.commons.lang.file.FileUtil
Returns the specified number of lines starting from the beginning of a text file, using the given encoding.
head(InputStream, int) - Static method in class com.norconex.commons.lang.io.IOUtil
Gets the first lines from an input stream, using UTF-8.
head(InputStream, String, int) - Static method in class com.norconex.commons.lang.io.IOUtil
Gets the first lines from an input stream, using the specified encoding.
head(InputStream, Charset, int) - Static method in class com.norconex.commons.lang.io.IOUtil
Gets the first lines from an input stream, using the specified encoding.
HTML - Static variable in class com.norconex.commons.lang.file.ContentType
 
HttpHost(String, int) - Constructor for class com.norconex.commons.lang.url.URLStreamer.HttpHost
 
HttpURL - Class in com.norconex.commons.lang.url
This class act as a mutable URL, which could be a replacement or "wrapper" to the URL class.
HttpURL() - Constructor for class com.norconex.commons.lang.url.HttpURL
Creates a blank HttpURL using UTF-8 for URL encoding.
HttpURL(URL) - Constructor for class com.norconex.commons.lang.url.HttpURL
Creates a new HttpURL from the URL object using UTF-8 for URL encoding.
HttpURL(String) - Constructor for class com.norconex.commons.lang.url.HttpURL
Creates a new HttpURL from the URL string using UTF-8 for URL encoding.
HttpURL(URL, String) - Constructor for class com.norconex.commons.lang.url.HttpURL
Creates a new HttpURL from the URL object using the provided encoding for URL encoding.
HttpURL(String, String) - Constructor for class com.norconex.commons.lang.url.HttpURL
Creates a new HttpURL from the URL string using the provided encoding for URL encoding.

I

ICachedStream - Interface in com.norconex.commons.lang.io
 
IExceptionFilter - Interface in com.norconex.commons.lang.exec
Filter for limiting the exceptions to be eligible for retry.
IFileChangeListener - Interface in com.norconex.commons.lang.file
Listener for file changes, to be used with a FileMonitor.
IFileVisitor - Interface in com.norconex.commons.lang.file
Visitor to be used with FileUtil.visit* methods.
IInputStreamFilter - Interface in com.norconex.commons.lang.io
Filters lines of text read from an InputStream decorated with FilteredInputStream.
IInputStreamListener - Interface in com.norconex.commons.lang.io
Listener that is being notified every time a chunk of bytes is processed from a given input stream.
IMapChangeListener<K,V> - Interface in com.norconex.commons.lang.map
Listener for Map changes.
includeEvent(String, String, String) - Method in class com.norconex.commons.lang.config.RelativeIncludeEventHandler
 
InputStreamConsumer - Class in com.norconex.commons.lang.io
A stream consumer will read all it can from a stream in its own thread.
InputStreamConsumer(InputStream) - Constructor for class com.norconex.commons.lang.io.InputStreamConsumer
Constructor.
InputStreamConsumer(InputStream, String, IInputStreamListener...) - Constructor for class com.norconex.commons.lang.io.InputStreamConsumer
Constructor.
InputStreamConsumer(InputStream, int, String, IInputStreamListener...) - Constructor for class com.norconex.commons.lang.io.InputStreamConsumer
Constructor.
InputStreamLineListener - Class in com.norconex.commons.lang.io
Listener that is being notified every time a line is processed from a given stream.
InputStreamLineListener() - Constructor for class com.norconex.commons.lang.io.InputStreamLineListener
Creates a line listener with UTF-8 character encoding.
InputStreamLineListener(Charset) - Constructor for class com.norconex.commons.lang.io.InputStreamLineListener
Creates a line listener with supplied character encoding (defaults to UTF-8 if null).
InputStreamLineListener(String) - Constructor for class com.norconex.commons.lang.io.InputStreamLineListener
Creates a line listener with supplied character encoding (defaults to UTF-8 if null).
IOUtil - Class in com.norconex.commons.lang.io
I/O related utility methods.
IPipelineStage<T> - Interface in com.norconex.commons.lang.pipeline
A logical step in the pipepline.
IRetriable<T> - Interface in com.norconex.commons.lang.exec
Upon failure, the run method will get re-executed by a Retrier until successful or fails according to the Retrier conditions.
is(T) - Static method in class com.norconex.commons.lang.CircularRange
Obtains a range using the specified element as both the minimum and maximum in this range and as both circular start and end.
is(T, Comparator<T>) - Static method in class com.norconex.commons.lang.CircularRange
Obtains a range using the specified element as both the minimum and maximum in this range and as both circular start and end.
isAfter(YearMonthDay) - Method in class com.norconex.commons.lang.time.YearMonthDay
Whether this YearMonthDay represents a date after the given YearMonthDay.
isAfterDate(Date) - Method in class com.norconex.commons.lang.time.YearMonthDay
Whether this YearMonthDay represents a date after the given date.
isBefore(YearMonthDay) - Method in class com.norconex.commons.lang.time.YearMonthDay
Whether this YearMonthDay represents a date before the given YearMonthDay.
isBeforeDate(Date) - Method in class com.norconex.commons.lang.time.YearMonthDay
Whether this YearMonthDay represents a date before the given date.
isCacheEmpty() - Method in class com.norconex.commons.lang.io.CachedInputStream
Returns true if was nothing to cache (no writing was performed) or if the stream was closed.
isCacheEmpty() - Method in class com.norconex.commons.lang.io.CachedOutputStream
Returns true if was nothing to cache (no writing was performed) or if the stream was closed.
isCaseInsensitiveKeys() - Method in class com.norconex.commons.lang.map.Properties
Gets whether keys are case sensitive or not.
isCaseSensitive() - Method in class com.norconex.commons.lang.map.PropertyMatcher
 
isDisposed() - Method in class com.norconex.commons.lang.io.CachedInputStream
 
isEmpty() - Method in class com.norconex.commons.lang.log.CountingConsoleAppender
Whether this appender counted any log events.
isEmpty() - Method in class com.norconex.commons.lang.map.MapChangeSupport
 
isEmpty() - Method in class com.norconex.commons.lang.map.ObservableMap
 
isEmpty() - Method in class com.norconex.commons.lang.xml.ListErrorHandler
 
isEndedBy(T) - Method in class com.norconex.commons.lang.CircularRange
Checks whether this range ends with the specified element.
isInMemory() - Method in class com.norconex.commons.lang.io.CachedInputStream
Whether caching is done in memory for this instance for what has been read so far.
isNaturalOrdering() - Method in class com.norconex.commons.lang.CircularRange
Whether or not the CircularRange is using the natural ordering of the elements.
isOverlappedBy(CircularRange<T>) - Method in class com.norconex.commons.lang.CircularRange
Checks whether this range is overlapped by the specified range.
isPortDefault() - Method in class com.norconex.commons.lang.url.HttpURL
Whether this URL uses the default port for the protocol.
isRolling() - Method in class com.norconex.commons.lang.CircularRange
Whether or not the range rolls over the circular end.
isRunning() - Method in class com.norconex.commons.lang.exec.SystemCommand
Returns whether the command is currently running.
isSameVersion(JarFile) - Method in class com.norconex.commons.lang.jar.JarFile
Gets whether this Jar has the same name and version as the provided jar.
isSameVersionAndTime(JarFile) - Method in class com.norconex.commons.lang.jar.JarFile
Gets whether this Jar has the same name and version as the provided jar, as well as the same last modified date.
isSecure() - Method in class com.norconex.commons.lang.url.HttpURL
Whether this URL is secure (e.g.
isSet() - Method in class com.norconex.commons.lang.net.ProxySettings
 
isStartedBy(T) - Method in class com.norconex.commons.lang.CircularRange
Checks whether this range starts with the specified element.
IStreamListener - Interface in com.norconex.commons.lang.io
Deprecated.
As of 1.13.0, use IInputStreamListener instead.
isVersionGreaterThan(JarFile) - Method in class com.norconex.commons.lang.jar.JarFile
 
IXMLConfigurable - Interface in com.norconex.commons.lang.config
Provides indications that a class is configurable via XML.

J

JarCopier - Class in com.norconex.commons.lang.jar
Performs a version-sensitive copy a Jar file or directory containing Jar files over to another directory.
JarCopier() - Constructor for class com.norconex.commons.lang.jar.JarCopier
Constructor.
JarCopier(int) - Constructor for class com.norconex.commons.lang.jar.JarCopier
Constructor.
JarDuplicateFinder - Class in com.norconex.commons.lang.jar
Utility class for finding multiple instances of the same Jar that exists either in different folder or the same, with the same name and version, or same name but different versions.
JarDuplicates - Class in com.norconex.commons.lang.jar
Holds jar files that are considered duplicates (same name and same or different versions).
JarDuplicates(JarFile...) - Constructor for class com.norconex.commons.lang.jar.JarDuplicates
 
JarFile - Class in com.norconex.commons.lang.jar
Simple Jar file representation holding name and version information.
JarFile(File) - Constructor for class com.norconex.commons.lang.jar.JarFile
 
JPEG - Static variable in class com.norconex.commons.lang.file.ContentType
 

K

keyExists(HierarchicalConfiguration, String) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
 
keySet() - Method in class com.norconex.commons.lang.map.ObservableMap
 

L

last() - Static method in class com.norconex.commons.lang.TimeIdGenerator
Returns the last generated number since the start of this JVM (that value is not persisted anywhere outside the JVM memory).
length() - Method in class com.norconex.commons.lang.io.CachedInputStream
Gets the length of the cached input stream.
lineStreamed(String, String) - Method in class com.norconex.commons.lang.io.InputStreamLineListener
Invoked when a line is streamed.
lineStreamed(String, String) - Method in interface com.norconex.commons.lang.io.IStreamListener
Deprecated.
Invoked when a line is streamed.
ListErrorHandler - Class in com.norconex.commons.lang.xml
SAX ErrorHandler which stores SAX Exceptions that can later be retrieved as List.
ListErrorHandler() - Constructor for class com.norconex.commons.lang.xml.ListErrorHandler
 
load(Map<?, ?>) - Method in class com.norconex.commons.lang.map.Properties
Reads all key/value pairs in the given map, and add them to this Map.
load(Reader) - Method in class com.norconex.commons.lang.map.Properties
Reads and creates a property list from the reader, created by (or having same format as) Properties.store(Writer) method.
load(Reader, String) - Method in class com.norconex.commons.lang.map.Properties
Reads and creates a property list from the reader, created by (or having same format as) Properties.store(Writer, String, String) method.
load(InputStream) - Method in class com.norconex.commons.lang.map.Properties
Reads and creates a property list from the input stream (UTF8), created by (or having same format as) Properties.store(OutputStream, String, String) method.
load(InputStream, String) - Method in class com.norconex.commons.lang.map.Properties
Reads and creates a property list from the input stream, created by (or having same format as) Properties.store(OutputStream, String, String) method.
load(InputStream, String, String) - Method in class com.norconex.commons.lang.map.Properties
Reads and creates a property list from the input stream (UTF8), created by (or having same format as) Properties.store(OutputStream, String, String) method.
loadFromJSON(InputStream) - Method in class com.norconex.commons.lang.map.Properties
Loads all of the properties from the JSON document input stream (UTF-8) into this instance.
loadFromJSON(Reader) - Method in class com.norconex.commons.lang.map.Properties
Loads all of the properties from the JSON document reader into this instance.
loadFromString(String) - Method in class com.norconex.commons.lang.map.Properties
Reads a property list (key and element pairs) from the input string.
loadFromXML(Reader) - Method in interface com.norconex.commons.lang.config.IXMLConfigurable
Load XML configuration values and initialized this object with them.
loadFromXML(IXMLConfigurable, Reader) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Loads XML into the given object, performing validation first.
loadFromXML(IXMLConfigurable, HierarchicalConfiguration) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Loads XML into the given object, performing validation first.
loadFromXML(Reader, String, EncryptionKey) - Static method in class com.norconex.commons.lang.encrypt.EncryptionXMLUtil
Convenience method for loading an encryption key from an XML reader.
loadFromXML(XMLConfiguration, String, EncryptionKey) - Static method in class com.norconex.commons.lang.encrypt.EncryptionXMLUtil
Convenience method for loading an encryption key from an XMLConfiguration.
loadFromXML(InputStream) - Method in class com.norconex.commons.lang.map.Properties
Loads all of the properties represented by the XML document on the specified input stream into this instance.
loadFromXML(InputStream, String) - Method in class com.norconex.commons.lang.map.Properties
Loads all of the properties represented by the XML document on the specified input stream into this instance.
loadFromXML(InputStream, String, String) - Method in class com.norconex.commons.lang.map.Properties
Loads all of the properties represented by the XML document on the specified input stream into this instance.
loadFromXML(Reader) - Method in class com.norconex.commons.lang.map.Properties
Loads all of the properties from the XML document reader into this instance.
loadFromXML(Reader, String) - Method in class com.norconex.commons.lang.map.Properties
Loads all of the properties from the XML document reader into this instance.
loadFromXML(Reader) - Method in class com.norconex.commons.lang.net.ProxySettings
Loads from a ProxySettings.getXmlTag() tag.
loadProxyFromXML(XMLConfiguration) - Method in class com.norconex.commons.lang.net.ProxySettings
Loads assuming we are already in a parent tag.
loadString(File, File) - Method in class com.norconex.commons.lang.config.ConfigurationLoader
Loads a configuration file as a string.
loadXML(File) - Method in class com.norconex.commons.lang.config.ConfigurationLoader
Loads a configuration file.
loadXML(File, File) - Method in class com.norconex.commons.lang.config.ConfigurationLoader
Loads a configuration file.
Log4jCheck - Class in com.norconex.commons.lang.log
Utility class to facilitate migration to SLF4J (logging mechanism used starting with version 2.0.0).
lowerCase() - Method in class com.norconex.commons.lang.url.URLNormalizer
Converts the entire URL to lower case, including scheme, host name, path, query string parameter names and values.
lowerCasePath() - Method in class com.norconex.commons.lang.url.URLNormalizer
Converts the URL path to lower case.
lowerCaseQuery() - Method in class com.norconex.commons.lang.url.URLNormalizer
Converts the URL query string to lower case, which includes both the parameter names and values.
lowerCaseQueryParameterNames() - Method in class com.norconex.commons.lang.url.URLNormalizer
Converts the URL query parameter names to lower case, leaving query parameter values intact.
lowerCaseQueryParameterValues() - Method in class com.norconex.commons.lang.url.URLNormalizer
Converts the URL query parameter values to lower case, leaving query parameter names intact.
lowerCaseSchemeHost() - Method in class com.norconex.commons.lang.url.URLNormalizer
Converts the scheme and host to lower case.

M

main(String[]) - Static method in class com.norconex.commons.lang.encrypt.EncryptionUtil
 
main(String[]) - Static method in class com.norconex.commons.lang.jar.JarCopier
 
main(String[]) - Static method in class com.norconex.commons.lang.jar.JarDuplicateFinder
 
mapChanged(MapChangeEvent<K, V>) - Method in interface com.norconex.commons.lang.map.IMapChangeListener
The observed map has changed.
MapChangeEvent<K,V> - Class in com.norconex.commons.lang.map
A event representing a change of values in an Map.
MapChangeEvent(Map<K, V>, K, V, V) - Constructor for class com.norconex.commons.lang.map.MapChangeEvent
Creates a new event.
MapChangeSupport<K,V> - Class in com.norconex.commons.lang.map
Here is an example of MapChangeSupport usage:
MapChangeSupport(Map<K, V>) - Constructor for class com.norconex.commons.lang.map.MapChangeSupport
 
mark(int) - Method in class com.norconex.commons.lang.io.CachedInputStream
The read limit value is ignored.
markSupported() - Method in class com.norconex.commons.lang.io.CachedInputStream
Always true since 1.6.0.
matches(String) - Method in class com.norconex.commons.lang.file.ContentType
Whether the given string matches this content type.
matches(Properties) - Method in class com.norconex.commons.lang.map.PropertyMatcher
Whether this property matcher matches a key value in the given Properties.
MemoryTracker() - Constructor for class com.norconex.commons.lang.io.CachedStreamFactory.MemoryTracker
 
MemoryUtil - Class in com.norconex.commons.lang
Memory-related utility methods.
moveFile(File, File) - Static method in class com.norconex.commons.lang.file.FileUtil
Moves a file to a new file location.
moveFileToDir(File, File) - Static method in class com.norconex.commons.lang.file.FileUtil
Moves a file to a directory.

N

newInputStream(File) - Method in class com.norconex.commons.lang.io.CachedInputStream
Creates a new CachedInputStream using the same factory settings that were used to create this instance.
newInputStream(InputStream) - Method in class com.norconex.commons.lang.io.CachedInputStream
Creates a new CachedInputStream using the same factory settings that were used to create this instance.
newInputStream() - Method in class com.norconex.commons.lang.io.CachedStreamFactory
Creates an empty input stream.
newInputStream(String) - Method in class com.norconex.commons.lang.io.CachedStreamFactory
Creates a new input stream, assuming UTF-8 content.
newInputStream(File) - Method in class com.norconex.commons.lang.io.CachedStreamFactory
 
newInputStream(InputStream) - Method in class com.norconex.commons.lang.io.CachedStreamFactory
 
newInstance(HierarchicalConfiguration) - Static method in class com.norconex.commons.lang.config.ConfigurationUtil
Deprecated.
Creates a new instance of the class represented by the "class" attribute on the given node.
newInstance(HierarchicalConfiguration, boolean) - Static method in class com.norconex.commons.lang.config.ConfigurationUtil
Deprecated.
Creates a new instance of the class represented by the "class" attribute on the given node.
newInstance(HierarchicalConfiguration, T) - Static method in class com.norconex.commons.lang.config.ConfigurationUtil
Deprecated.
Creates a new instance of the class represented by the "class" attribute on the given node.
newInstance(HierarchicalConfiguration, T, boolean) - Static method in class com.norconex.commons.lang.config.ConfigurationUtil
Deprecated.
Creates a new instance of the class represented by the "class" attribute on the given node.
newInstance(HierarchicalConfiguration, String) - Static method in class com.norconex.commons.lang.config.ConfigurationUtil
Deprecated.
Creates a new instance of the class represented by the "class" attribute on the sub-node of the node argument, matching the key provided.
newInstance(HierarchicalConfiguration, String, boolean) - Static method in class com.norconex.commons.lang.config.ConfigurationUtil
Deprecated.
Creates a new instance of the class represented by the "class" attribute on the sub-node of the node argument, matching the key provided.
newInstance(HierarchicalConfiguration, String, T) - Static method in class com.norconex.commons.lang.config.ConfigurationUtil
Deprecated.
Creates a new instance of the class represented by the "class" attribute on the sub-node of the node argument, matching the key provided.
newInstance(HierarchicalConfiguration, String, T, boolean) - Static method in class com.norconex.commons.lang.config.ConfigurationUtil
Deprecated.
Creates a new instance of the class represented by the "class" attribute on the sub-node of the node argument, matching the key provided.
newInstance(Reader) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Creates a new instance of the class represented by the "class" attribute on the supplied XML.
newInstance(HierarchicalConfiguration) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Creates a new instance of the class represented by the "class" attribute on the given node.
newInstance(HierarchicalConfiguration, T) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Creates a new instance of the class represented by the "class" attribute on the given node.
newInstance(HierarchicalConfiguration, String) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Creates a new instance of the class represented by the "class" attribute on the sub-node of the node argument, matching the key provided.
newInstance(HierarchicalConfiguration, String, T) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Creates a new instance of the class represented by the "class" attribute on the sub-node of the node argument, matching the key provided.
newOuputStream(OutputStream) - Method in class com.norconex.commons.lang.io.CachedOutputStream
 
newOuputStream() - Method in class com.norconex.commons.lang.io.CachedOutputStream
 
newOuputStream(OutputStream) - Method in class com.norconex.commons.lang.io.CachedStreamFactory
 
newOuputStream() - Method in class com.norconex.commons.lang.io.CachedStreamFactory
 
newReader(HierarchicalConfiguration) - Static method in class com.norconex.commons.lang.config.ConfigurationUtil
Deprecated.
Creates a new Reader from a XMLConfiguration.
newReader(HierarchicalConfiguration) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
Creates a new Reader from a XMLConfiguration.
newXMLConfiguration(HierarchicalConfiguration) - Static method in class com.norconex.commons.lang.config.ConfigurationUtil
Deprecated.
This load method will return an Apache XML Configuration from from a HierarchicalConfiguration, with delimiter parsing disabled.
newXMLConfiguration(Reader) - Static method in class com.norconex.commons.lang.config.ConfigurationUtil
Deprecated.
This load method will return an Apache XML Configuration from from a reader, with delimiter parsing disabled.
newXMLConfiguration(HierarchicalConfiguration) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
This load method will return an Apache XML Configuration from from a HierarchicalConfiguration, with delimiter parsing disabled.
newXMLConfiguration(Reader) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
This load method will return an Apache XML Configuration from from a reader, with delimiter parsing disabled.
next() - Static method in class com.norconex.commons.lang.TimeIdGenerator
Generates a new number unique within this JVM.

O

ObservableMap<K,V> - Class in com.norconex.commons.lang.map
A map implementation that reports changes to added IMapChangeListener instance.
ObservableMap() - Constructor for class com.norconex.commons.lang.map.ObservableMap
 
ObservableMap(Map<K, V>) - Constructor for class com.norconex.commons.lang.map.ObservableMap
Decorates map argument as an ObservableMap.
ONE_HOUR - Static variable in class com.norconex.commons.lang.Sleeper
Number of milliseconds representing 1 hour.
ONE_MINUTE - Static variable in class com.norconex.commons.lang.Sleeper
Number of milliseconds representing 1 minute.
ONE_SECOND - Static variable in class com.norconex.commons.lang.Sleeper
Number of milliseconds representing 1 second.

P

parse(String) - Static method in class com.norconex.commons.lang.time.DurationParser
Parses an English representation of a duration and converts it to milliseconds.
parse(String, long) - Static method in class com.norconex.commons.lang.time.DurationParser
Parses an English representation of a duration and converts it to milliseconds.
PDF - Static variable in class com.norconex.commons.lang.file.ContentType
 
PercentFormatter - Class in com.norconex.commons.lang
Formats percentage as string.
PercentFormatter() - Constructor for class com.norconex.commons.lang.PercentFormatter
Creates a new percent formatter with no decimal precision and using the default system locale.
PercentFormatter(int, Locale) - Constructor for class com.norconex.commons.lang.PercentFormatter
Creates a new percent formatter for the given local and decimal precision.
Pipeline<T> - Class in com.norconex.commons.lang.pipeline
Represent a very simple pipeline container for a list of executable tasks called "pipeline stages" (defined using IPipelineStage).
Pipeline() - Constructor for class com.norconex.commons.lang.pipeline.Pipeline
Constructor.
Pipeline(List<IPipelineStage<T>>) - Constructor for class com.norconex.commons.lang.pipeline.Pipeline
Creates a new pipeline with the specified stages.
PipelineException - Exception in com.norconex.commons.lang.pipeline
Exception thrown when pipeline could not be executed properly.
PipelineException() - Constructor for exception com.norconex.commons.lang.pipeline.PipelineException
 
PipelineException(String) - Constructor for exception com.norconex.commons.lang.pipeline.PipelineException
 
PipelineException(Throwable) - Constructor for exception com.norconex.commons.lang.pipeline.PipelineException
 
PipelineException(String, Throwable) - Constructor for exception com.norconex.commons.lang.pipeline.PipelineException
 
PNG - Static variable in class com.norconex.commons.lang.file.ContentType
 
present() - Static method in class com.norconex.commons.lang.log.Log4jCheck
 
Properties - Class in com.norconex.commons.lang.map
This class is a enhanced version of Properties that enforces the use of String keys and values internally, but offers many convenience methods for storing and retrieving multiple values of different types (e.g.
Properties() - Constructor for class com.norconex.commons.lang.map.Properties
Create a new instance with case-sensitive keys.
Properties(boolean) - Constructor for class com.norconex.commons.lang.map.Properties
Creates a new instance.
Properties(Map<String, List<String>>) - Constructor for class com.norconex.commons.lang.map.Properties
Decorates Map as a Properties.
Properties(Map<String, List<String>>, boolean) - Constructor for class com.norconex.commons.lang.map.Properties
Decorates a Map argument as a Properties.
PropertiesException - Exception in com.norconex.commons.lang.map
Properties exception.
PropertiesException(String) - Constructor for exception com.norconex.commons.lang.map.PropertiesException
 
PropertiesException(Throwable) - Constructor for exception com.norconex.commons.lang.map.PropertiesException
 
PropertiesException(String, Throwable) - Constructor for exception com.norconex.commons.lang.map.PropertiesException
 
PropertyMatcher - Class in com.norconex.commons.lang.map
Convenient way of checking whether at least one value for a key in a given Properties matches a regular expression.
PropertyMatcher(String, String, boolean) - Constructor for class com.norconex.commons.lang.map.PropertyMatcher
 
PROTOCOL_HTTP - Static variable in class com.norconex.commons.lang.url.HttpURL
Constant for "http" protocol.
PROTOCOL_HTTPS - Static variable in class com.norconex.commons.lang.url.HttpURL
Constant for "https" protocol.
ProxySettings - Class in com.norconex.commons.lang.net
Convenience class for implementation requiring proxy settings.
ProxySettings() - Constructor for class com.norconex.commons.lang.net.ProxySettings
 
ProxySettings(String, int) - Constructor for class com.norconex.commons.lang.net.ProxySettings
 
put(K, V) - Method in class com.norconex.commons.lang.map.ObservableMap
 
put(String, List<String>) - Method in class com.norconex.commons.lang.map.Properties
 
putAll(Map<? extends K, ? extends V>) - Method in class com.norconex.commons.lang.map.ObservableMap
 
putAll(Map<? extends String, ? extends List<String>>) - Method in class com.norconex.commons.lang.map.Properties
 

Q

QueryString - Class in com.norconex.commons.lang.url
Provides utility methods for getting and setting attributes on a URL query string.
QueryString() - Constructor for class com.norconex.commons.lang.url.QueryString
Constructor.
QueryString(URL) - Constructor for class com.norconex.commons.lang.url.QueryString
Default URL character encoding is UTF-8.
QueryString(URL, String) - Constructor for class com.norconex.commons.lang.url.QueryString
Constructor.
QueryString(String) - Constructor for class com.norconex.commons.lang.url.QueryString
Constructor.
QueryString(String, String) - Constructor for class com.norconex.commons.lang.url.QueryString
Constructor.

R

read() - Method in class com.norconex.commons.lang.io.ByteBufferInputStream
 
read(byte[], int, int) - Method in class com.norconex.commons.lang.io.ByteBufferInputStream
 
read() - Method in class com.norconex.commons.lang.io.CachedInputStream
 
read(byte[], int, int) - Method in class com.norconex.commons.lang.io.CachedInputStream
 
read() - Method in class com.norconex.commons.lang.io.FilteredInputStream
 
read() - Method in class com.norconex.commons.lang.io.ReverseFileInputStream
 
read(char[], int, int) - Method in class com.norconex.commons.lang.io.TextReader
 
readText() - Method in class com.norconex.commons.lang.io.TextReader
Reads the next chunk of text, up to the maximum read size specified.
RegexInputStreamFilter - Class in com.norconex.commons.lang.io
Filters lines of text read from an InputStream decorated with FilteredInputStream, based on a given regular expression.
RegexInputStreamFilter(String) - Constructor for class com.norconex.commons.lang.io.RegexInputStreamFilter
Constructor.
RegexInputStreamFilter(Pattern) - Constructor for class com.norconex.commons.lang.io.RegexInputStreamFilter
Constructor.
RelativeIncludeEventHandler - Class in com.norconex.commons.lang.config
Velocity include event handler that check for includes both relative to a template location, and absolute to the current file system root otherwise.
RelativeIncludeEventHandler() - Constructor for class com.norconex.commons.lang.config.RelativeIncludeEventHandler
 
remove(Object) - Method in class com.norconex.commons.lang.map.ObservableMap
 
remove(Object) - Method in class com.norconex.commons.lang.map.Properties
 
removeDefaultPort() - Method in class com.norconex.commons.lang.url.URLNormalizer
Removes the default port (80 for http, and 443 for https).
removeDirectoryIndex() - Method in class com.norconex.commons.lang.url.URLNormalizer
Removes directory index files.
removeDotSegments() - Method in class com.norconex.commons.lang.url.URLNormalizer
Removes the unnecessary "." and ".." segments from the URL path.
removeDuplicateSlashes() - Method in class com.norconex.commons.lang.url.URLNormalizer
Removes duplicate slashes.
removeEmptyParameters() - Method in class com.norconex.commons.lang.url.URLNormalizer
Removes empty parameters.
removeErrorListener(IInputStreamListener) - Method in class com.norconex.commons.lang.exec.SystemCommand
Removes an error (STDERR) listener.
removeFileChangeListener(IFileChangeListener, String) - Method in class com.norconex.commons.lang.file.FileMonitor
Remove the listener from the notification list.
removeFileChangeListener(IFileChangeListener, File) - Method in class com.norconex.commons.lang.file.FileMonitor
Remove the listener from the notification list.
removeFragment() - Method in class com.norconex.commons.lang.url.URLNormalizer
Removes the URL fragment (from the "#" character until the end).
removeMapChangeListener(IMapChangeListener<K, V>) - Method in class com.norconex.commons.lang.map.MapChangeSupport
Removes a IMapChangeListener from the listener list.
removeMapChangeListener(IMapChangeListener<K, V>) - Method in class com.norconex.commons.lang.map.ObservableMap
Removes a map change listener.
removeOutputListener(IInputStreamListener) - Method in class com.norconex.commons.lang.exec.SystemCommand
Removes an output (STDOUT) listener.
removeQueryString() - Method in class com.norconex.commons.lang.url.URLNormalizer
Removes the URL query string (from the "?" character until the end or the first # character).
removeSessionIds() - Method in class com.norconex.commons.lang.url.URLNormalizer
Removes a URL-based session id.
removeStreamListener(IStreamListener) - Method in class com.norconex.commons.lang.io.StreamGobbler
Deprecated.
Removes a stream listener.
removeTrailingHash() - Method in class com.norconex.commons.lang.url.URLNormalizer
Removes trailing hash character ("#").
removeTrailingQuestionMark() - Method in class com.norconex.commons.lang.url.URLNormalizer
Removes trailing question mark ("?").
removeTrailingSlash() - Method in class com.norconex.commons.lang.url.URLNormalizer
Removes any trailing slash (/) from a URL, before fragment (#) or query string (?).
removeWWW() - Method in class com.norconex.commons.lang.url.URLNormalizer
Removes "www." domain name prefix.
replaceIPWithDomainName() - Method in class com.norconex.commons.lang.url.URLNormalizer
Replaces IP address with domain name.
reset() - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
 
reset() - Method in class com.norconex.commons.lang.io.CachedInputStream
If no mark has previously been set, it resets to the beginning.
reset() - Method in class com.norconex.commons.lang.log.CountingConsoleAppender
Resets all counts to zero.
resolve() - Method in class com.norconex.commons.lang.encrypt.EncryptionKey
Locate the key according to its value type and return it.
resolveResource(String, String, String, String, String) - Method in class com.norconex.commons.lang.xml.ClasspathResourceResolver
 
ResourceLoader - Class in com.norconex.commons.lang
Utility class for loading resource from class loader, relative to a given class.
RetriableException - Exception in com.norconex.commons.lang.exec
Exception thrown when Retrier failed to execute a IRetriable instance.
Retrier - Class in com.norconex.commons.lang.exec
This class is responsible for executing IRetriable instances.
Retrier() - Constructor for class com.norconex.commons.lang.exec.Retrier
Creates a new instance with the default maximum retries and default retry delay (no delay).
Retrier(int) - Constructor for class com.norconex.commons.lang.exec.Retrier
Creates a new instance with the default retry delay (no delay).
Retrier(IExceptionFilter) - Constructor for class com.norconex.commons.lang.exec.Retrier
Creates a new instance which will retry execution only if the exception thrown by an attempt is accepted by the IExceptionFilter (up to maxRetries).
Retrier(IExceptionFilter, int) - Constructor for class com.norconex.commons.lang.exec.Retrier
Creates a new instance which will retry execution only if the exception thrown by an attempt is accepted by the IExceptionFilter (up to maxRetries).
retry(Exception) - Method in interface com.norconex.commons.lang.exec.IExceptionFilter
Filters an exception.
ReverseFileInputStream - Class in com.norconex.commons.lang.io
InputStream implementation for streaming files in reverse order (from the end of file to its beginning).
ReverseFileInputStream(File) - Constructor for class com.norconex.commons.lang.io.ReverseFileInputStream
Creates a new ReverseFileInputStream instance.
rewind() - Method in class com.norconex.commons.lang.io.CachedInputStream
Rewinds this stream so it can be read again from the beginning.
run() - Method in class com.norconex.commons.lang.io.InputStreamConsumer
 
run() - Method in class com.norconex.commons.lang.io.StreamGobbler
Deprecated.
 

S

saveProxyToXML(XMLStreamWriter) - Method in class com.norconex.commons.lang.net.ProxySettings
Saves assuming we are already in a parent tag.
saveToXML(Writer) - Method in interface com.norconex.commons.lang.config.IXMLConfigurable
Saves this object as XML.
saveToXML(Writer, String, EncryptionKey) - Static method in class com.norconex.commons.lang.encrypt.EncryptionXMLUtil
Convenience method for saving an encryption key to an XML writer.
saveToXML(XMLStreamWriter, String, EncryptionKey) - Static method in class com.norconex.commons.lang.encrypt.EncryptionXMLUtil
Convenience method for saving an encryption key to an XMLStreamWriter.
saveToXML(Writer) - Method in class com.norconex.commons.lang.net.ProxySettings
secureScheme() - Method in class com.norconex.commons.lang.url.URLNormalizer
Converts http scheme to https.
setBaseURI(String) - Method in class com.norconex.commons.lang.xml.ClasspathInput
 
setBigDecimal(String, BigDecimal...) - Method in class com.norconex.commons.lang.map.Properties
Sets one or multiple BigDecimal values, replacing existing ones.
setBoolean(String, boolean...) - Method in class com.norconex.commons.lang.map.Properties
Sets one or multiple boolean values, replacing existing ones.
setByteStream(InputStream) - Method in class com.norconex.commons.lang.xml.ClasspathInput
 
setCertifiedText(boolean) - Method in class com.norconex.commons.lang.xml.ClasspathInput
 
setCharacterStream(Reader) - Method in class com.norconex.commons.lang.xml.ClasspathInput
 
setClass(String, Class<?>...) - Method in class com.norconex.commons.lang.map.Properties
Sets one or multiple class values, replacing existing ones.
setContext(Context) - Method in class com.norconex.commons.lang.config.RelativeIncludeEventHandler
 
setDate(String, Date...) - Method in class com.norconex.commons.lang.map.Properties
Sets one or multiple date values, replacing existing ones.
setDefaultNamespace(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
setDouble(String, double...) - Method in class com.norconex.commons.lang.map.Properties
Sets one or multiple double values, replacing existing ones.
setEncoding(String) - Method in class com.norconex.commons.lang.xml.ClasspathInput
 
setEnvironmentVariables(Map<String, String>) - Method in class com.norconex.commons.lang.exec.SystemCommand
Sets environment variables.
setExceptionFilter(IExceptionFilter) - Method in class com.norconex.commons.lang.exec.Retrier
Sets an exception filter that limits the exceptions eligible for retry.
setFile(String, File...) - Method in class com.norconex.commons.lang.map.Properties
Sets one or multiple file values, replacing existing ones.
setFloat(String, float...) - Method in class com.norconex.commons.lang.map.Properties
Sets one or multiple float values, replacing existing ones.
setFragment(String) - Method in class com.norconex.commons.lang.url.HttpURL
Sets the URL fragment.
setHost(String) - Method in class com.norconex.commons.lang.url.HttpURL
Sets the host portion of the URL.
setInputStream(BufferedInputStream) - Method in class com.norconex.commons.lang.xml.ClasspathInput
 
setInt(String, int...) - Method in class com.norconex.commons.lang.map.Properties
Sets one or multiple integer values, replacing existing ones.
setLocale(String, Locale...) - Method in class com.norconex.commons.lang.map.Properties
Sets one or multiple locale values, replacing existing ones.
setLong(String, long...) - Method in class com.norconex.commons.lang.map.Properties
Sets one or multiple long values, replacing existing ones.
setMaxCauses(int) - Method in class com.norconex.commons.lang.exec.Retrier
Sets the maximum number of exception causes to keep when all attempts were made and a RetriableException is thrown.
setMaxRetries(int) - Method in class com.norconex.commons.lang.exec.Retrier
Sets the maximum number of retries (the initial run does not count as a retry).
setMultiValueDelimiter(String) - Method in class com.norconex.commons.lang.map.Properties
Deprecated.
Since 1.14.0, calling this method has no effect. Pass a delimiter to store/load methods instead if needed.
setNamespaceContext(NamespaceContext) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
setPath(String) - Method in class com.norconex.commons.lang.url.HttpURL
Sets the URL path.
setPort(int) - Method in class com.norconex.commons.lang.url.HttpURL
Sets the URL port.
setPrefix(String, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
setProtocol(String) - Method in class com.norconex.commons.lang.url.HttpURL
Sets the protocol portion of the URL.
setProxyHost(String) - Method in class com.norconex.commons.lang.net.ProxySettings
 
setProxyPassword(String) - Method in class com.norconex.commons.lang.net.ProxySettings
 
setProxyPasswordKey(EncryptionKey) - Method in class com.norconex.commons.lang.net.ProxySettings
 
setProxyPort(int) - Method in class com.norconex.commons.lang.net.ProxySettings
 
setProxyRealm(String) - Method in class com.norconex.commons.lang.net.ProxySettings
 
setProxyScheme(String) - Method in class com.norconex.commons.lang.net.ProxySettings
 
setProxyUsername(String) - Method in class com.norconex.commons.lang.net.ProxySettings
 
setPublicId(String) - Method in class com.norconex.commons.lang.xml.ClasspathInput
 
setQueryString(QueryString) - Method in class com.norconex.commons.lang.url.HttpURL
Sets the URL query string.
setRetryDelay(long) - Method in class com.norconex.commons.lang.exec.Retrier
Sets the delay in milliseconds before attempting to execute again.
setString(String, String...) - Method in class com.norconex.commons.lang.map.Properties
Sets one or multiple string values replacing existing ones.
setStringData(String) - Method in class com.norconex.commons.lang.xml.ClasspathInput
 
setSystemId(String) - Method in class com.norconex.commons.lang.xml.ClasspathInput
 
size() - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
Return the current size of the byte array.
size() - Method in class com.norconex.commons.lang.map.ObservableMap
 
size() - Method in class com.norconex.commons.lang.xml.ListErrorHandler
 
Sleeper - Class in com.norconex.commons.lang
Convenience class to put to sleep the currently running thread.
SleeperException - Exception in com.norconex.commons.lang
Runtime Sleep exception wrapping any InterruptedException thrown.
SleeperException(String, InterruptedException) - Constructor for exception com.norconex.commons.lang.SleeperException
 
sleepHours(int) - Static method in class com.norconex.commons.lang.Sleeper
Sleeps for the number of hours specified.
sleepMillis(long) - Static method in class com.norconex.commons.lang.Sleeper
Sleeps for the number of milliseconds specified.
sleepMinutes(int) - Static method in class com.norconex.commons.lang.Sleeper
Sleeps for the number of minutes specified.
sleepNanos(long) - Static method in class com.norconex.commons.lang.Sleeper
Sleeps for the number of nanoseconds specified.
sleepSeconds(int) - Static method in class com.norconex.commons.lang.Sleeper
Sleeps for the number of seconds specified.
sortQueryParameters() - Method in class com.norconex.commons.lang.url.URLNormalizer
Sorts query parameters.
startAndWait() - Method in class com.norconex.commons.lang.io.InputStreamConsumer
Starts this consumer thread and wait for it to complete before returning.
startCountingFor(Class<?>, Level) - Method in class com.norconex.commons.lang.log.CountingConsoleAppender
Starts counting log events for a class by creating a logger for that class and appending itself to it.
startsWith(InputStream, byte[]) - Static method in class com.norconex.commons.lang.io.IOUtil
Whether the given input stream starts the specified bytes array or not.
STDERR - Static variable in class com.norconex.commons.lang.exec.ExecUtil
Identifier for standard error.
STDOUT - Static variable in class com.norconex.commons.lang.exec.ExecUtil
Identifier for standard output.
stopCountingFor(Class<?>) - Method in class com.norconex.commons.lang.log.CountingConsoleAppender
Stops counting log events for a class by removing this appender from the logger previously created for the supplied class.
store(Writer) - Method in class com.norconex.commons.lang.map.Properties
Writes this Map (key and element pairs) to the output character stream in a format suitable for using the Properties.load(Reader) method.
store(Writer, String) - Method in class com.norconex.commons.lang.map.Properties
Writes this Map (key and element pairs) to the output character stream in a format suitable for using the Properties.load(Reader) method.
store(Writer, String, String) - Method in class com.norconex.commons.lang.map.Properties
Writes this Map (key and element pairs) to the output character stream in a format suitable for using the Properties.load(Reader, String) method.
store(OutputStream) - Method in class com.norconex.commons.lang.map.Properties
Writes this Map (key and element pairs) to the output character stream as UTF-8 in a format suitable for using the Properties.load(InputStream) method.
store(OutputStream, String) - Method in class com.norconex.commons.lang.map.Properties
Writes this Map (key and element pairs) to the output character stream as UTF-8 in a format suitable for using the Properties.load(InputStream) method.
store(OutputStream, String, String) - Method in class com.norconex.commons.lang.map.Properties
Writes this Map (key and element pairs) to the output character stream as UTF-8 in a format suitable for using the Properties.load(InputStream, String) method.
storeToJSON(OutputStream) - Method in class com.norconex.commons.lang.map.Properties
Writes this Map as JSON to the output stream as UTF-8 in a format suitable for using the Properties.loadFromJSON(InputStream) method.
storeToJSON(Writer) - Method in class com.norconex.commons.lang.map.Properties
Writes this Map as JSON to the writer in a format suitable for using the Properties.loadFromJSON(Reader) method.
storeToString(String) - Method in class com.norconex.commons.lang.map.Properties
Writes this property list (key and element pairs) in this Properties table to the output stream as UTF-8 in a format suitable for loading into a Properties table using the load method.
storeToXML(OutputStream) - Method in class com.norconex.commons.lang.map.Properties
Writes this Map as XML to the output character stream using UTF-8 in a format suitable for using the Properties.loadFromXML(InputStream) method.
storeToXML(OutputStream, String) - Method in class com.norconex.commons.lang.map.Properties
Writes this Map as XML to the output character stream using UTF-8 in a format suitable for using the Properties.loadFromXML(InputStream) method.
storeToXML(OutputStream, String, String) - Method in class com.norconex.commons.lang.map.Properties
Writes this Map as XML to the output character stream using UTF-8 in a format suitable for using the Properties.loadFromXML(InputStream) method.
storeToXML(OutputStream, String, String, String) - Method in class com.norconex.commons.lang.map.Properties
Writes this Map as XML to the output character stream using UTF-8 in a format suitable for using the Properties.loadFromXML(InputStream, String) method.
storeToXML(Writer) - Method in class com.norconex.commons.lang.map.Properties
Writes this Map as XML to the writer in a format suitable for using the Properties.loadFromXML(Reader) method.
storeToXML(Writer, String) - Method in class com.norconex.commons.lang.map.Properties
Writes this Map as XML to the writer in a format suitable for using the Properties.loadFromXML(Reader) method.
storeToXML(Writer, String, String) - Method in class com.norconex.commons.lang.map.Properties
Writes this Map as XML to the writer in a format suitable for using the Properties.loadFromXML(InputStream, String) method.
STRATEGY_DELETE_COPY - Static variable in class com.norconex.commons.lang.jar.JarCopier
Copy source Jar only if greater or same version as target Jar after deleting target Jar.
STRATEGY_INTERACTIVE - Static variable in class com.norconex.commons.lang.jar.JarCopier
Interactive, let the user chose (requires execution on command prompt).
STRATEGY_NO_COPY - Static variable in class com.norconex.commons.lang.jar.JarCopier
Do not copy source Jar (leave target Jar as is).
STRATEGY_PLAIN_COPY - Static variable in class com.norconex.commons.lang.jar.JarCopier
Copy source Jar regardless of target Jar (may overwrite or cause mixed versions).
STRATEGY_RENAME_COPY - Static variable in class com.norconex.commons.lang.jar.JarCopier
Copy source Jar only if greater or same version as target Jar after renaming target Jar (.bak-[timestamp]).
stream(String) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content.
stream(URL) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content.
stream(HttpURL) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content.
stream(String, URLStreamer.Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content.
stream(URL, URLStreamer.Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content.
stream(HttpURL, URLStreamer.Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content.
stream(String, URLStreamer.Credentials, URLStreamer.HttpHost) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content.
stream(URL, URLStreamer.Credentials, URLStreamer.HttpHost) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content.
stream(HttpURL, URLStreamer.Credentials, URLStreamer.HttpHost) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content.
stream(String, URLStreamer.Credentials, URLStreamer.HttpHost, URLStreamer.Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content.
stream(URL, URLStreamer.Credentials, URLStreamer.HttpHost, URLStreamer.Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content.
stream(HttpURL, URLStreamer.Credentials, URLStreamer.HttpHost, URLStreamer.Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content.
streamed(String, byte[], int) - Method in interface com.norconex.commons.lang.io.IInputStreamListener
Invoked when a chunk of bytes is streamed.
streamed(String, byte[], int) - Method in class com.norconex.commons.lang.io.InputStreamLineListener
 
StreamException - Exception in com.norconex.commons.lang.io
Runtime exception when dealing with I/O streams.
StreamException() - Constructor for exception com.norconex.commons.lang.io.StreamException
Constructor.
StreamException(String) - Constructor for exception com.norconex.commons.lang.io.StreamException
Constructor.
StreamException(Throwable) - Constructor for exception com.norconex.commons.lang.io.StreamException
Constructor.
StreamException(String, Throwable) - Constructor for exception com.norconex.commons.lang.io.StreamException
Constructor.
StreamGobbler - Class in com.norconex.commons.lang.io
Deprecated.
As of 1.13.0, use InputStreamConsumer instead.
StreamGobbler(InputStream) - Constructor for class com.norconex.commons.lang.io.StreamGobbler
Deprecated.
Constructor.
StreamGobbler(InputStream, String) - Constructor for class com.norconex.commons.lang.io.StreamGobbler
Deprecated.
Constructor.
StreamGobbler(InputStream, String, String) - Constructor for class com.norconex.commons.lang.io.StreamGobbler
Deprecated.
Constructor.
streamToString(String, URLStreamer.Credentials, URLStreamer.HttpHost) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String using UTF-8 character encoding.
streamToString(String, URLStreamer.Credentials, URLStreamer.HttpHost, String) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String.
streamToString(URL, URLStreamer.Credentials, URLStreamer.HttpHost) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String.
streamToString(HttpURL, URLStreamer.Credentials, URLStreamer.HttpHost) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String.
streamToString(String, URLStreamer.Credentials, URLStreamer.HttpHost, URLStreamer.Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String using UTF-8 character encoding.
streamToString(String, URLStreamer.Credentials, URLStreamer.HttpHost, URLStreamer.Credentials, String) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String.
streamToString(URL, URLStreamer.Credentials, URLStreamer.HttpHost, URLStreamer.Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String.
streamToString(HttpURL, URLStreamer.Credentials, URLStreamer.HttpHost, URLStreamer.Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String.
streamToString(String, URLStreamer.Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String.
streamToString(URL, URLStreamer.Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String.
streamToString(HttpURL, URLStreamer.Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String.
streamToString(String) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String.
streamToString(URL) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String.
streamToString(HttpURL) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String.
StringUtil - Class in com.norconex.commons.lang
String-related utility methods not found in popular libraries.
SystemCommand - Class in com.norconex.commons.lang.exec
Represents a program to be executed by the underlying system (on the "command line").
SystemCommand(String...) - Constructor for class com.norconex.commons.lang.exec.SystemCommand
Creates a command for which the execution will be in the working directory of the current process.
SystemCommand(File, String...) - Constructor for class com.norconex.commons.lang.exec.SystemCommand
Creates a command.
SystemCommandException - Exception in com.norconex.commons.lang.exec
An exception thrown by a executing SystemCommand.
SystemCommandException(String) - Constructor for exception com.norconex.commons.lang.exec.SystemCommandException
 
SystemCommandException(Throwable) - Constructor for exception com.norconex.commons.lang.exec.SystemCommandException
 
SystemCommandException(String, Throwable) - Constructor for exception com.norconex.commons.lang.exec.SystemCommandException
 

T

tail(File, int) - Static method in class com.norconex.commons.lang.file.FileUtil
Returns the specified number of lines starting from the end of a text file.
tail(File, String, int) - Static method in class com.norconex.commons.lang.file.FileUtil
Returns the specified number of lines starting from the end of a text file.
tail(File, String, int, boolean) - Static method in class com.norconex.commons.lang.file.FileUtil
Returns the specified number of lines starting from the end of a text file.
tail(File, String, int, boolean, IInputStreamFilter) - Static method in class com.norconex.commons.lang.file.FileUtil
Returns the specified number of lines starting from the end of a text file.
tail(InputStream, int) - Static method in class com.norconex.commons.lang.io.IOUtil
Gets the last lines from an input stream, using UTF-8.
tail(InputStream, String, int) - Static method in class com.norconex.commons.lang.io.IOUtil
Gets the last lines from an input stream, using the specified encoding.
tail(InputStream, Charset, int) - Static method in class com.norconex.commons.lang.io.IOUtil
Gets the last lines from an input stream, using the specified encoding.
TEXT - Static variable in class com.norconex.commons.lang.file.ContentType
 
TextReader - Class in com.norconex.commons.lang.io
Reads text form an input stream, splitting it wisely whenever the text is too large.
TextReader(Reader) - Constructor for class com.norconex.commons.lang.io.TextReader
Create a new text reader, reading a maximum of 10 million characters at a time when TextReader.readText() is called.
TextReader(Reader, int) - Constructor for class com.norconex.commons.lang.io.TextReader
Constructor.
TextReader(Reader, int, boolean) - Constructor for class com.norconex.commons.lang.io.TextReader
Constructor.
TimeIdGenerator - Class in com.norconex.commons.lang
Generates a unique ID made out of the current time in milliseconds, combined with a thread-safe atomic sequence value that guarantees order and uniqueness within the same JVM.
toAbsolute(String, String) - Static method in class com.norconex.commons.lang.url.HttpURL
Converts a relative URL to an absolute one, based on the supplied base URL.
toBaseType() - Method in class com.norconex.commons.lang.file.ContentType
Returns a content-type without any parameters (removes ";" and any values afterwards).
toBaseTypeString() - Method in class com.norconex.commons.lang.file.ContentType
Returns the raw content-type representation without any parameters (removes ";" and any values afterwards).
toBufferedInputStream(InputStream) - Static method in class com.norconex.commons.lang.io.ByteArrayOutputStream
Fetches entire contents of an InputStream and represent same data as result InputStream.
toBufferedInputStream(InputStream) - Static method in class com.norconex.commons.lang.io.IOUtil
Wraps the input stream in a BufferedInputStream if not a subclass already.
toBufferedReader(Reader) - Static method in class com.norconex.commons.lang.io.IOUtil
Wraps the reader in a BufferedReader if not a subclass already.
toByteArray() - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
Gets the current contents of this byte stream as a byte array.
toBytes(long) - Method in enum com.norconex.commons.lang.unit.DataUnit
 
toCalendar() - Method in class com.norconex.commons.lang.time.YearMonthDay
Converts this YearMonthDay to a Calendar at midnight.
toDate() - Method in class com.norconex.commons.lang.time.YearMonthDay
Converts this YearMonthDay to a Date at midnight.
toEndOfDayDate() - Method in class com.norconex.commons.lang.time.YearMonthDay
Gets the date as midnight the day after to represent the end of the day.
toGigabytes(long) - Method in enum com.norconex.commons.lang.unit.DataUnit
 
toKilobytes(long) - Method in enum com.norconex.commons.lang.unit.DataUnit
 
toMegabytes(long) - Method in enum com.norconex.commons.lang.unit.DataUnit
 
toMillis() - Method in class com.norconex.commons.lang.time.YearMonthDay
Converts this YearMonthDay to the current time as UTC milliseconds from the epoch.
toPetabytes(long) - Method in enum com.norconex.commons.lang.unit.DataUnit
 
toSafeFileName(String) - Static method in class com.norconex.commons.lang.file.FileUtil
Converts any String to a valid file-system file name representation.
toString() - Method in class com.norconex.commons.lang.CircularRange
Gets the range as a String.
toString(String) - Method in class com.norconex.commons.lang.CircularRange
Formats the receiver using the given format.
toString() - Method in class com.norconex.commons.lang.encrypt.EncryptionKey
 
toString() - Method in class com.norconex.commons.lang.exec.SystemCommand
Returns the command to be executed.
toString() - Method in class com.norconex.commons.lang.file.ContentFamily
 
toString() - Method in class com.norconex.commons.lang.file.ContentType
Returns the raw content-type representation.
toString() - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
Gets the current contents of this byte stream as a string.
toString(String) - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
Gets the current contents of this byte stream as a string using the specified encoding.
toString() - Method in class com.norconex.commons.lang.jar.JarFile
 
toString() - Method in class com.norconex.commons.lang.log.CountingConsoleAppender
 
toString() - Method in class com.norconex.commons.lang.map.MapChangeEvent
 
toString() - Method in class com.norconex.commons.lang.map.ObservableMap
 
toString() - Method in class com.norconex.commons.lang.map.PropertyMatcher
 
toString() - Method in class com.norconex.commons.lang.net.ProxySettings
 
toString() - Method in class com.norconex.commons.lang.time.YearMonthDay
Converts the YearMonthDay to a string of this format: yyyy-MM-dd.
toString(String) - Method in class com.norconex.commons.lang.time.YearMonthDay
 
toString() - Method in class com.norconex.commons.lang.time.YearMonthDayInterval
Gets the interval as a string of this format: yyyy-MM-dd - yyyy-MM-dd;
toString() - Method in class com.norconex.commons.lang.unit.DataUnitFormatter
 
toString() - Method in class com.norconex.commons.lang.url.HttpURL
Returns a string representation of this URL, properly encoded.
toString() - Method in class com.norconex.commons.lang.url.QueryString
Convert this QueryString to a URL-encoded string representation that can be appended as is to a URL with no query string.
toString() - Method in class com.norconex.commons.lang.url.URLNormalizer
Returns the normalized URL as string.
toTerabytes(long) - Method in enum com.norconex.commons.lang.unit.DataUnit
 
toURI() - Method in class com.norconex.commons.lang.url.HttpURL
Converts this HttpURL to a URI, making sure appropriate characters are escaped properly.
toURI(String) - Static method in class com.norconex.commons.lang.url.HttpURL
Converts the supplied URL to a URI, making sure appropriate characters are encoded properly using UTF-8.
toURI() - Method in class com.norconex.commons.lang.url.URLNormalizer
Returns the normalized URL as URI.
toURL() - Method in class com.norconex.commons.lang.url.HttpURL
Converts this HttpURL to a regular URL, making sure appropriate characters are escaped properly.
toURL(String) - Static method in class com.norconex.commons.lang.url.HttpURL
Converts the supplied URL to a URL, making sure appropriate characters are encoded properly using UTF-8.
toURL() - Method in class com.norconex.commons.lang.url.URLNormalizer
Returns the normalized URL as URL.
TRUNCATE_HASH_LENGTH - Static variable in class com.norconex.commons.lang.StringUtil
 
truncateBytesWithHash(String, Charset, int) - Static method in class com.norconex.commons.lang.StringUtil
Truncates text with size in bytes larger than the given max byte length and appends a hash value from the truncated text.
truncateBytesWithHash(String, Charset, int, String) - Static method in class com.norconex.commons.lang.StringUtil
Truncates text with size in bytes larger than the given max byte length and appends a hash value from the truncated text, with an optional separator in-between.
truncateBytesWithHash(byte[], Charset, int) - Static method in class com.norconex.commons.lang.StringUtil
Truncates character byte array text larger than the given max byte length and appends a hash value from the truncated text.
truncateBytesWithHash(byte[], Charset, int, String) - Static method in class com.norconex.commons.lang.StringUtil
Truncates character byte array text larger than the given max byte length and appends a hash value from the truncated text, with an optional separator in-between.
truncateWithHash(String, int) - Static method in class com.norconex.commons.lang.StringUtil
Truncate text larger than the given max length and appends a hash value from the truncated text.
truncateWithHash(String, int, String) - Static method in class com.norconex.commons.lang.StringUtil
Truncate text larger than the given max length and appends a hash value from the truncated text, with an optional separator in-between.
TSV - Static variable in class com.norconex.commons.lang.file.ContentType
 

U

unsecureScheme() - Method in class com.norconex.commons.lang.url.URLNormalizer
Converts https scheme to http.
upperCaseEscapeSequence() - Method in class com.norconex.commons.lang.url.URLNormalizer
Converts letters in URL-encoded escape sequences to upper case.
URLException - Exception in com.norconex.commons.lang.url
Runtime exception thrown when dealing with URL failures.
URLException() - Constructor for exception com.norconex.commons.lang.url.URLException
Constructor.
URLException(String) - Constructor for exception com.norconex.commons.lang.url.URLException
Constructor.
URLException(Throwable) - Constructor for exception com.norconex.commons.lang.url.URLException
Constructor.
URLException(String, Throwable) - Constructor for exception com.norconex.commons.lang.url.URLException
Constructor.
URLNormalizer - Class in com.norconex.commons.lang.url
The general idea behind URL normalization is to make different URLs "equivalent" (i.e.
URLNormalizer(URL) - Constructor for class com.norconex.commons.lang.url.URLNormalizer
Create a new URLNormalizer instance.
URLNormalizer(String) - Constructor for class com.norconex.commons.lang.url.URLNormalizer
Create a new URLNormalizer instance.
URLStreamer - Class in com.norconex.commons.lang.url
Provides a quick and easy way to stream a URL.
URLStreamer.Credentials - Class in com.norconex.commons.lang.url
 
URLStreamer.HttpHost - Class in com.norconex.commons.lang.url
 

V

validate(Class<?>, HierarchicalConfiguration) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
For classes implementing IXMLConfigurable, validates XML against a class XSD schema and logs any error/warnings.
validate(Class<?>, Reader) - Static method in class com.norconex.commons.lang.config.XMLConfigurationUtil
For classes implementing IXMLConfigurable, validates XML against a class XSD schema and logs any error/warnings.
valueOf(String) - Static method in enum com.norconex.commons.lang.encrypt.EncryptionKey.Source
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class com.norconex.commons.lang.file.ContentFamily
 
valueOf(String) - Static method in class com.norconex.commons.lang.file.ContentType
Creates a new content type.
valueOf(String) - Static method in enum com.norconex.commons.lang.unit.DataUnit
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.norconex.commons.lang.encrypt.EncryptionKey.Source
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class com.norconex.commons.lang.map.ObservableMap
 
values() - Static method in enum com.norconex.commons.lang.unit.DataUnit
Returns an array containing the constants of this enum type, in the order they are declared.
valuesOf(String...) - Static method in class com.norconex.commons.lang.file.ContentType
Creates a null-safe array of content types.
visit(File) - Method in interface com.norconex.commons.lang.file.IFileVisitor
Visits a file or directory.
visitAllDirs(File, IFileVisitor) - Static method in class com.norconex.commons.lang.file.FileUtil
Visits only directories under a directory.
visitAllDirs(File, IFileVisitor, FileFilter) - Static method in class com.norconex.commons.lang.file.FileUtil
Visits only directories under a directory.
visitAllDirsAndFiles(File, IFileVisitor) - Static method in class com.norconex.commons.lang.file.FileUtil
Visits all files and directories under a directory.
visitAllDirsAndFiles(File, IFileVisitor, FileFilter) - Static method in class com.norconex.commons.lang.file.FileUtil
Visits all files and directories under a directory.
visitAllFiles(File, IFileVisitor) - Static method in class com.norconex.commons.lang.file.FileUtil
Visits all files (and only files) under a directory, including sub-directories.
visitAllFiles(File, IFileVisitor, FileFilter) - Static method in class com.norconex.commons.lang.file.FileUtil
Visits all files (and only files) under a directory, including sub-directories.
visitEmptyDirs(File, IFileVisitor) - Static method in class com.norconex.commons.lang.file.FileUtil
Visits only empty directories under a directory.
visitEmptyDirs(File, IFileVisitor, FileFilter) - Static method in class com.norconex.commons.lang.file.FileUtil
Visits only empty directories under a directory.

W

W3C_XML_SCHEMA_NS_URI_1_1 - Static variable in class com.norconex.commons.lang.config.XMLConfigurationUtil
 
warning(SAXParseException) - Method in class com.norconex.commons.lang.xml.ListErrorHandler
 
watchProcess(Process) - Static method in class com.norconex.commons.lang.exec.ExecUtil
Watches a running process.
watchProcess(Process, IInputStreamListener) - Static method in class com.norconex.commons.lang.exec.ExecUtil
Watches a running process.
watchProcess(Process, IInputStreamListener[]) - Static method in class com.norconex.commons.lang.exec.ExecUtil
Watches a running process.
watchProcess(Process, IInputStreamListener, IInputStreamListener) - Static method in class com.norconex.commons.lang.exec.ExecUtil
Watches a running process.
watchProcess(Process, IInputStreamListener[], IInputStreamListener[]) - Static method in class com.norconex.commons.lang.exec.ExecUtil
Watches a running process.
watchProcess(Process, InputStream, IInputStreamListener[], IInputStreamListener[]) - Static method in class com.norconex.commons.lang.exec.ExecUtil
Watches a running process while sending data to its STDIN.
watchProcessAsync(Process, IInputStreamListener, IInputStreamListener) - Static method in class com.norconex.commons.lang.exec.ExecUtil
Watches process output.
watchProcessAsync(Process, IInputStreamListener[], IInputStreamListener[]) - Static method in class com.norconex.commons.lang.exec.ExecUtil
Watches process output.
watchProcessAsync(Process, InputStream, IInputStreamListener[], IInputStreamListener[]) - Static method in class com.norconex.commons.lang.exec.ExecUtil
Watches process output while sending data to its STDIN.
withCircularBoundaries(T, T) - Method in class com.norconex.commons.lang.CircularRange
Obtains a new range with the specified circular start and end values (both inclusive).
withRange(T, T) - Method in class com.norconex.commons.lang.CircularRange
Obtains a new range with the specified minimum and maximum range values (both inclusive).
write(byte[], int, int) - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
Write the bytes to byte array.
write(int) - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
Write a byte to byte array.
write(InputStream) - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
Writes the entire contents of the specified input stream to this byte stream.
write(int) - Method in class com.norconex.commons.lang.io.CachedOutputStream
 
write(byte[], int, int) - Method in class com.norconex.commons.lang.io.CachedOutputStream
 
writeAttribute(String, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeAttribute(String, String, String, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeAttribute(String, String, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeAttributeBoolean(String, Boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeAttributeBoolean(String, Boolean, boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
Writes a Boolean attribute.
writeAttributeClass(String, Class<?>) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeAttributeClass(String, Class<?>, boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
Writes an attribute containing a class name, getting it by invoking Class.getCanonicalName().
writeAttributeDouble(String, Double) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeAttributeDouble(String, Double, boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
Writes a Double attribute.
writeAttributeFloat(String, Float) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeAttributeFloat(String, Float, boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
Writes a Float attribute.
writeAttributeInteger(String, Integer) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeAttributeInteger(String, Integer, boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
Writes a Integer attribute.
writeAttributeLong(String, Long) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeAttributeLong(String, Long, boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
Writes a Long attribute.
writeAttributeObject(String, Object) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
Writes an attribute object by first converting it to string using its "toString()" method.
writeAttributeObject(String, Object, boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
Writes an attribute object by first converting it to string using its "toString()" method.
writeAttributeString(String, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeAttributeString(String, String, boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
Writes a String attribute.
writeCData(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeCharacters(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeCharacters(char[], int, int) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeComment(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeDefaultNamespace(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeDTD(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeElementBoolean(String, Boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeElementBoolean(String, Boolean, boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
Writes a simple Boolean element.
writeElementClass(String, Class<?>) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeElementClass(String, Class<?>, boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
Writes a simple element containing a class name, getting it by invoking Class.getCanonicalName().
writeElementDimension(String, Dimension) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
Writes a simple element containing a Dimension.
writeElementDimension(String, Dimension, boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
Writes a simple element containing a Dimension.
writeElementDouble(String, Double) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeElementDouble(String, Double, boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
Writes a simple Double element.
writeElementFloat(String, Float) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeElementFloat(String, Float, boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
Writes a simple Float element.
writeElementInteger(String, Integer) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeElementInteger(String, Integer, boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
Writes a simple Integer element.
writeElementLong(String, Long) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeElementLong(String, Long, boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
Writes a simple Long element.
writeElementObject(String, Object) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
Writes a simple element object by first converting it to string using its "toString()" method.
writeElementObject(String, Object, boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
Writes a simple element object by first converting it to string using its "toString()" method.
writeElementString(String, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeElementString(String, String, boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
Writes a simple string element.
writeEmptyElement(String, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeEmptyElement(String, String, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeEmptyElement(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeEndDocument() - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeEndElement() - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeEntityRef(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeNamespace(String, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeProcessingInstruction(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeProcessingInstruction(String, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeStartDocument() - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeStartDocument(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeStartDocument(String, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeStartElement(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeStartElement(String, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeStartElement(String, String, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeTo(OutputStream) - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
Writes the entire contents of this byte stream to the specified output stream.

X

XML - Static variable in class com.norconex.commons.lang.file.ContentType
 
XMLConfigurationUtil - Class in com.norconex.commons.lang.config
Utility methods when dealing with XML configuration files.

Y

YearMonthDay - Class in com.norconex.commons.lang.time
Immutable class holding a specific date made only of the year, month, and day.
YearMonthDay() - Constructor for class com.norconex.commons.lang.time.YearMonthDay
Constructs a YearMonthDay with the current date.
YearMonthDay(int, int, int) - Constructor for class com.norconex.commons.lang.time.YearMonthDay
Constructs a YearMonthDay with the specified values.
YearMonthDay(int, int) - Constructor for class com.norconex.commons.lang.time.YearMonthDay
Constructs a YearMonthDay with the specified year and month.
YearMonthDay(int) - Constructor for class com.norconex.commons.lang.time.YearMonthDay
Constructs a YearMonthDay with the specified year.
YearMonthDay(Date) - Constructor for class com.norconex.commons.lang.time.YearMonthDay
Constructs a YearMonthDay from a Date.
YearMonthDay(Calendar) - Constructor for class com.norconex.commons.lang.time.YearMonthDay
Constructs a YearMonthDay from a Calendar.
YearMonthDay(String) - Constructor for class com.norconex.commons.lang.time.YearMonthDay
Constructs a YearMonthDay from a string of this format: yyyy-MM-dd.
YearMonthDayInterval - Class in com.norconex.commons.lang.time
An immutable date interval where both the start and end are inclusive, unless stated otherwise.
YearMonthDayInterval(YearMonthDay, YearMonthDay) - Constructor for class com.norconex.commons.lang.time.YearMonthDayInterval
 
YearMonthDayInterval(String) - Constructor for class com.norconex.commons.lang.time.YearMonthDayInterval
Constructs a YearMonthDayInterval out of a string.
YearMonthDayInterval(Date, Date) - Constructor for class com.norconex.commons.lang.time.YearMonthDayInterval
 
YearMonthDayInterval(Calendar, Calendar) - Constructor for class com.norconex.commons.lang.time.YearMonthDayInterval
 

Z

ZIP - Static variable in class com.norconex.commons.lang.file.ContentType
 
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 
Skip navigation links

Copyright © 2008–2021 Norconex Inc.. All rights reserved.