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
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ABBREVIATED - Static variable in class com.norconex.commons.lang.time.RBDurationUnitFormatter
- abort() - Method in class com.norconex.commons.lang.exec.SystemCommand
-
Aborts the running command.
- AbstractConverter - Class in com.norconex.commons.lang.convert
-
Adds default behaviors common to most converters, including checking for
null
values and wrapping exceptions inConverterException
. - AbstractConverter() - Constructor for class com.norconex.commons.lang.convert.AbstractConverter
- AbstractInlineTaglet - Class in com.norconex.commons.lang.javadoc
-
Base inline taglet class.
- AbstractInlineTaglet(String) - Constructor for class com.norconex.commons.lang.javadoc.AbstractInlineTaglet
- AbstractInlineTaglet(String, Function<TagContent, String>) - Constructor for class com.norconex.commons.lang.javadoc.AbstractInlineTaglet
- 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
- accept(T) - Method in class com.norconex.commons.lang.function.Consumers
- accept(T) - Method in class com.norconex.commons.lang.function.PredicatedConsumer
- ACCESS_EXTERNAL_DTD - Static variable in class com.norconex.commons.lang.xml.XMLUtil
- ACCESS_EXTERNAL_SCHEMA - Static variable in class com.norconex.commons.lang.xml.XMLUtil
- ACCESS_EXTERNAL_STYLESHEET - Static variable in class com.norconex.commons.lang.xml.XMLUtil
- adaptedList(Object) - Static method in class com.norconex.commons.lang.collection.CollectionUtil
-
Adapts any object to a new non-null mutable List, regardless of the nature of the object.
- adaptedSet(Object) - Static method in class com.norconex.commons.lang.collection.CollectionUtil
-
Adapts any object to a new non-null mutable Set, regardless of the nature of the object.
- add(String, T...) - Method in class com.norconex.commons.lang.map.Properties
-
Adds one or multiple string values.
- addAll(PropertyMatcher...) - Method in class com.norconex.commons.lang.map.PropertyMatchers
-
Adds one or more property matchers.
- addBigDecimal(String, BigDecimal...) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
Properties.add(String, Object...)
- addBoolean(String, boolean...) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
Properties.add(String, Object...)
- addClass(String, Class<?>...) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
Properties.add(String, Object...)
- addDate(String, Date...) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
Properties.add(String, Object...)
- addDays(int) - Method in class com.norconex.commons.lang.time.YearMonthDay
-
Adds a number of days to a new created YearMonthDay.
- addDelimitedElementList(String, String, List<?>) - Method in class com.norconex.commons.lang.xml.XML
-
Adds a list of values as a new element after joining them with the given delimiter.
- addDelimitedElementList(String, List<?>) - Method in class com.norconex.commons.lang.xml.XML
-
Adds a list of values as a new element after joining them with a comma (CSV).
- 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
-
Deprecated.Since 2.0.0, use
Properties.add(String, Object...)
- addElement(String) - Method in class com.norconex.commons.lang.xml.XML
-
Adds an empty child element to this XML root element.
- addElement(String, Object) - Method in class com.norconex.commons.lang.xml.XML
-
Adds a child element to this XML root element.
- addElementList(String, String, List<?>) - Method in class com.norconex.commons.lang.xml.XML
- addElementList(String, List<?>) - Method in class com.norconex.commons.lang.xml.XML
- addElementMap(String, String, String, Map<?, ?>) - Method in class com.norconex.commons.lang.xml.XML
-
Adds a
Map
as a series of elements with a parent element wrapping that group. - addElementMap(String, String, Map<?, ?>) - Method in class com.norconex.commons.lang.xml.XML
-
Adds a
Map
as a series of elements without a parent element wrapping that group. - 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
-
Deprecated.Since 2.0.0, use
Properties.add(String, Object...)
- addFileChangeListener(IFileChangeListener, File, long) - Method in class com.norconex.commons.lang.file.FileMonitor
-
Adds a monitored file with a FileChangeListener.
- addFileChangeListener(IFileChangeListener, String, long) - Method in class com.norconex.commons.lang.file.FileMonitor
-
Adds a monitored file with a
IFileChangeListener
. - addFloat(String, float...) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
Properties.add(String, Object...)
- addInt(String, int...) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
Properties.add(String, Object...)
- addList(String, List<T>) - Method in class com.norconex.commons.lang.map.Properties
-
Adds one or multiple values as strings.
- addListener(IEventListener<Event>) - Method in class com.norconex.commons.lang.event.EventManager
- addListeners(Collection<IEventListener<Event>>) - Method in class com.norconex.commons.lang.event.EventManager
- addListenersFromScan(Object) - Method in class com.norconex.commons.lang.event.EventManager
- addLocale(String, Locale...) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
Properties.add(String, Object...)
- addLong(String, long...) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
Properties.add(String, Object...)
- 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.
- addString(String, String...) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
Properties.add(String, Object...)
- addTrailingSlash() - Method in class com.norconex.commons.lang.url.URLNormalizer
-
Deprecated.Since 1.11.0, use
URLNormalizer.addDirectoryTrailingSlash()
- addWWW() - Method in class com.norconex.commons.lang.url.URLNormalizer
-
Adds "www." domain name prefix.
- addXML(XML) - Method in class com.norconex.commons.lang.xml.XML
- addXML(Reader) - Method in class com.norconex.commons.lang.xml.XML
- addXML(String) - Method in class com.norconex.commons.lang.xml.XML
- 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.
- ALL - com.norconex.commons.lang.xml.XMLFormatter.Builder.AttributeWrap
-
Wrap ALL attributes (one per line).
- allConsumers(Collection<Consumer<T>>) - Static method in class com.norconex.commons.lang.function.FunctionUtil
- allConsumers(Consumer<T>...) - Static method in class com.norconex.commons.lang.function.FunctionUtil
- allPredicates(Collection<Predicate<T>>) - Static method in class com.norconex.commons.lang.function.FunctionUtil
- allPredicates(Predicate<T>...) - Static method in class com.norconex.commons.lang.function.FunctionUtil
- anyPredicates(Collection<Predicate<T>>) - Static method in class com.norconex.commons.lang.function.FunctionUtil
- anyPredicates(Predicate<T>...) - Static method in class com.norconex.commons.lang.function.FunctionUtil
- APPEND - com.norconex.commons.lang.map.PropertySetter
- apply(Properties, String, Object) - Method in enum com.norconex.commons.lang.map.PropertySetter
- apply(String, String) - Method in class com.norconex.commons.lang.text.TextMatcher
-
Replaces this class matching text with replacement value.
- 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.
- asListOrEmpty(T...) - Static method in class com.norconex.commons.lang.collection.CollectionUtil
-
Returns a fixed-size list backed by the specified array or an empty list if the array is
null
. - asListOrNull(T...) - Static method in class com.norconex.commons.lang.collection.CollectionUtil
-
Returns a fixed-size list backed by the specified array or
null
if the array isnull
. - assertWriteRead(IXMLConfigurable, String) - Static method in class com.norconex.commons.lang.xml.XML
-
Convenience class for testing that a
IXMLConfigurable
instance can be written, and read into an new instance that is equal as perObject.equals(Object)
. - AT_MAX - com.norconex.commons.lang.xml.XMLFormatter.Builder.AttributeWrap
-
Wrap attributes only when
XMLFormatter.Builder.maxLineLength(int)
is reached (respectingXMLFormatter.Builder.minTextLength(int)
), keeping as many attributes as possible on each line. - AT_MAX_ALL - com.norconex.commons.lang.xml.XMLFormatter.Builder.AttributeWrap
-
Wrap attributes only when
XMLFormatter.Builder.maxLineLength(int)
is reached, but putting them all on their own line. - attributeIndent(String) - Method in class com.norconex.commons.lang.xml.XMLFormatter.Builder
-
String to use for indenting attributed, when wrapped.
- attributeWrapping(XMLFormatter.Builder.AttributeWrap) - Method in class com.norconex.commons.lang.xml.XMLFormatter.Builder
-
Attribute wrapping strategy.
- AUTO - com.norconex.commons.lang.img.MutableImage.Quality
- available() - Method in class com.norconex.commons.lang.io.CachedInputStream
B
- B - com.norconex.commons.lang.unit.DataUnit
-
A single byte (8 bits).
- basic(String) - Static method in class com.norconex.commons.lang.text.TextMatcher
-
Creates a new text matcher initialized with basic matching.
- BASIC - com.norconex.commons.lang.text.TextMatcher.Method
- BeanException - Exception in com.norconex.commons.lang.bean
-
Runtime exception indicating a bean-operation error.
- BeanException() - Constructor for exception com.norconex.commons.lang.bean.BeanException
- BeanException(String) - Constructor for exception com.norconex.commons.lang.bean.BeanException
- BeanException(String, Throwable) - Constructor for exception com.norconex.commons.lang.bean.BeanException
- BeanException(String, Throwable, boolean, boolean) - Constructor for exception com.norconex.commons.lang.bean.BeanException
- BeanException(Throwable) - Constructor for exception com.norconex.commons.lang.bean.BeanException
- BeanUtil - Class in com.norconex.commons.lang.bean
- beforeStreaming() - Method in class com.norconex.commons.lang.io.InputStreamConsumer
-
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).
- BINARY_BIT_UNITS - Static variable in enum com.norconex.commons.lang.unit.DataUnit
- BINARY_BYTE_UNITS - Static variable in enum com.norconex.commons.lang.unit.DataUnit
- bindParent(EventManager) - Method in class com.norconex.commons.lang.event.EventManager
- BIT - com.norconex.commons.lang.unit.DataUnit
-
A single bit.
- bits() - Method in enum com.norconex.commons.lang.unit.DataUnit
- blankLineAfterComment() - Method in class com.norconex.commons.lang.xml.XMLFormatter.Builder
-
Inserts a blank line after a comment.
- blankLineBeforeComment() - Method in class com.norconex.commons.lang.xml.XMLFormatter.Builder
-
Inserts a blank line before a comment.
- blanksToNulls(Collection<String>) - Static method in class com.norconex.commons.lang.collection.CollectionUtil
-
Convert blank string entries to
null
. - BlockTaglet - Class in com.norconex.commons.lang.javadoc
-
{@nx.block} A wrapper around any JavaDoc text for inclusion in other classes.
- BlockTaglet() - Constructor for class com.norconex.commons.lang.javadoc.BlockTaglet
- BMP - Static variable in class com.norconex.commons.lang.file.ContentType
- BooleanConverter - Class in com.norconex.commons.lang.convert
-
Boolean
converter. - BooleanConverter() - Constructor for class com.norconex.commons.lang.convert.BooleanConverter
- 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.
- borrowCharacters(Reader, int) - Static method in class com.norconex.commons.lang.io.IOUtil
-
Gets and resets the specified number of characters from the reader.
- build() - Method in class com.norconex.commons.lang.event.Event.Builder
- build() - Method in class com.norconex.commons.lang.xml.XMLFormatter.Builder
-
Creates an immutable, thread-safe XML formatter instance using this builder.
- builder() - Static method in class com.norconex.commons.lang.xml.XMLFormatter
-
Gets an XML formatter builder.
- Builder(String, Object) - Constructor for class com.norconex.commons.lang.event.Event.Builder
-
New event builder.
- 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 anInputStream
. - ByteBufferInputStream(ByteBuffer) - Constructor for class com.norconex.commons.lang.io.ByteBufferInputStream
- bytes() - Method in enum com.norconex.commons.lang.unit.DataUnit
C
- cache(InputStream) - Static method in class com.norconex.commons.lang.io.CachedInputStream
-
Casts to
CachedInputSteam
if argument is already of that type, else create a newCachedInputStream
from the input stream argument using defaultCachedStreamFactory
settings. - cache(InputStream, CachedStreamFactory) - Static method in class com.norconex.commons.lang.io.CachedInputStream
-
Casts to
CachedInputSteam
if argument is already of that type, else create a newCachedInputStream
from the input stream argument using the given stream factory (or defaults ifnull
). - 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 aCachedInputStream
. - CachedStreamFactory - Class in com.norconex.commons.lang.io
-
Factory for input/output streams caching values for repeat usage.
- CachedStreamFactory() - Constructor for class com.norconex.commons.lang.io.CachedStreamFactory
-
Creates a new instance with default values (see class documentation)
- CachedStreamFactory(int, int) - Constructor for class com.norconex.commons.lang.io.CachedStreamFactory
-
Constructor.
- CachedStreamFactory(int, int, Path) - Constructor for class com.norconex.commons.lang.io.CachedStreamFactory
-
Constructor.
- CachedStreamFactory(Path) - Constructor for class com.norconex.commons.lang.io.CachedStreamFactory
-
Creates a new instance with default memory values (see class documentation).
- CachedStreamFactory.MemoryTracker - Class in com.norconex.commons.lang.io
- callWithProperty(String, String, Callable<T>) - Static method in class com.norconex.commons.lang.SystemUtil
-
Executes the supplied
Callable
after setting the system property and then resets that system property. - canonEq() - Method in class com.norconex.commons.lang.text.Regex
- CertificateUtil - Class in com.norconex.commons.lang.security
-
Certificate-related (e.g., SSL) utility methods.
- CharacterConverter - Class in com.norconex.commons.lang.convert
-
Character
converter. - CharacterConverter() - Constructor for class com.norconex.commons.lang.convert.CharacterConverter
- CharsetConverter - Class in com.norconex.commons.lang.convert
-
Charset
converter. - CharsetConverter() - Constructor for class com.norconex.commons.lang.convert.CharsetConverter
- checkDeprecated(String, boolean) - Method in class com.norconex.commons.lang.xml.XML
-
Checks whether a deprecated configuration entry (without replacement) was specified and log a warning or throw an
XMLException
. - checkDeprecated(String, String, boolean) - Method in class com.norconex.commons.lang.xml.XML
-
Checks whether a deprecated configuration entry was specified and log a warning or throw an
XMLException
. - CircularRange<T> - Class in com.norconex.commons.lang
-
A range from a possible set of values that rolls over when defined circular start or end is reached.
- ClassConverter - Class in com.norconex.commons.lang.convert
-
Class
converter. - ClassConverter() - Constructor for class com.norconex.commons.lang.convert.ClassConverter
- 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.
- ClassUtil - Class in com.norconex.commons.lang
-
Class-related utility methods.
- clear() - Method in class com.norconex.commons.lang.map.ObservableMap
- clear() - Method in class com.norconex.commons.lang.xml.ErrorHandlerCapturer
- clear() - Method in class com.norconex.commons.lang.xml.XML
-
Clears this XML by removing all its attributes and elements (i.e., making it an empty tag).
- clearListeners() - Method in class com.norconex.commons.lang.event.EventManager
- clearStages() - Method in class com.norconex.commons.lang.pipeline.Pipeline
- clone(T) - Static method in class com.norconex.commons.lang.bean.BeanUtil
- 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
- closeQuietly(Closeable...) - Static method in class com.norconex.commons.lang.io.IOUtil
-
Given Apache has deprecated its
IOUtils#closeQuietly(java.io.Closeable)
method, this one offers an alternate one. - closeWrappingTagOnOwnLine() - Method in class com.norconex.commons.lang.xml.XMLFormatter.Builder
-
Put the closing angle bracket of tags with wrapping attributes on its own line, aligned with opening angle bracket.
- CollectionUtil - Class in com.norconex.commons.lang.collection
-
Collection-related utility methods.
- com.norconex.commons.lang - package com.norconex.commons.lang
-
Miscellaneous classes.
- com.norconex.commons.lang.bean - package com.norconex.commons.lang.bean
-
Extends the abilities of Apache Commons BeanUtils.
- com.norconex.commons.lang.collection - package com.norconex.commons.lang.collection
-
Utility classes related to Java Collections.
- com.norconex.commons.lang.config - package com.norconex.commons.lang.config
-
Classes making it easier to deal with configuration files.
- com.norconex.commons.lang.convert - package com.norconex.commons.lang.convert
-
Conversion-related utility classes.
- com.norconex.commons.lang.encrypt - package com.norconex.commons.lang.encrypt
-
Encryption-related classes.
- com.norconex.commons.lang.event - package com.norconex.commons.lang.event
-
Event-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.function - package com.norconex.commons.lang.function
-
Utility classes enhancing classic Java functions.
- com.norconex.commons.lang.img - package com.norconex.commons.lang.img
-
Image-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.javadoc - package com.norconex.commons.lang.javadoc
-
Collection of useful Taglets.
- com.norconex.commons.lang.map - package com.norconex.commons.lang.map
-
Enhanced and/or useful features related to 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.security - package com.norconex.commons.lang.security
- com.norconex.commons.lang.text - package com.norconex.commons.lang.text
-
Utility classes related to text.
- 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.
- com.norconex.commons.lang.xml.flow - package com.norconex.commons.lang.xml.flow
-
Classes offering basic flow-processing to XML.
- com.norconex.commons.lang.xml.flow.impl - package com.norconex.commons.lang.xml.flow.impl
-
Various XML flow element implementations.
- comments() - Method in class com.norconex.commons.lang.text.Regex
- COMPACT - Static variable in class com.norconex.commons.lang.time.DurationFormatter
-
Example: 5D18h1m23s
- COMPACT - Static variable in class com.norconex.commons.lang.time.RBDurationUnitFormatter
- compareTo(JarFile) - Method in class com.norconex.commons.lang.jar.JarFile
- compareTo(YearMonthDay) - Method in class com.norconex.commons.lang.time.YearMonthDay
- compareTo(Path) - Method in class com.norconex.commons.lang.file.WebFile
- compile() - Method in class com.norconex.commons.lang.text.Regex
-
Compiles a previously set pattern.
- compile(String) - Method in class com.norconex.commons.lang.text.Regex
-
Compiles the given pattern without assigning it to this object.
- compileDotAll(String, boolean) - Static method in class com.norconex.commons.lang.text.Regex
-
Compiles a "dotall" pattern (dots match all, including new lines) with optional case sensitivity.
- 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(String, Throwable) - Constructor for exception com.norconex.commons.lang.config.ConfigurationException
-
Constructor.
- ConfigurationException(Throwable) - Constructor for exception com.norconex.commons.lang.config.ConfigurationException
-
Constructor.
- ConfigurationLoader - Class in com.norconex.commons.lang.config
-
Configuration file parser using Velocity template engine (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.
- consume(InputStream) - Static method in class com.norconex.commons.lang.io.InputStreamConsumer
-
Convenience method for creasing a consumer instance and starting it.
- consume(InputStream) - Static method in class com.norconex.commons.lang.io.IOUtil
-
Fully consumes an input stream.
- 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.
- 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(Reader) - Static method in class com.norconex.commons.lang.io.IOUtil
-
Fully consumes an input stream.
- 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, 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, String, IInputStreamListener...) - Static method in class com.norconex.commons.lang.io.InputStreamConsumer
-
Convenience method for creasing a consumer instance and starting it.
- Consumers<T> - Class in com.norconex.commons.lang.function
-
A list of
Consumer
instances, each triggered sequentially when this one is. - Consumers() - Constructor for class com.norconex.commons.lang.function.Consumers
- Consumers(int) - Constructor for class com.norconex.commons.lang.function.Consumers
- Consumers(Collection<? extends Consumer<T>>) - Constructor for class com.norconex.commons.lang.function.Consumers
- consumeUntil(Reader, String, Appendable) - Static method in class com.norconex.commons.lang.io.IOUtil
-
Consumes reader characters until after encountering the supplied string (the matching string is also consumed) or the end of stream is reached.
- consumeUntil(Reader, IntPredicate) - Static method in class com.norconex.commons.lang.io.IOUtil
-
Consumes markable reader characters until the predicate returns
true
for a character or the end of stream is reached. - consumeUntil(Reader, IntPredicate, Appendable) - Static method in class com.norconex.commons.lang.io.IOUtil
-
Consumes markable reader characters until the predicate returns
true
for a character or the end of stream is reached. - consumeWhile(Reader, IntPredicate) - Static method in class com.norconex.commons.lang.io.IOUtil
-
Consumes markable reader characters while the predicate returns
true
for a character or the end of stream is reached. - consumeWhile(Reader, IntPredicate, Appendable) - Static method in class com.norconex.commons.lang.io.IOUtil
-
Consumes markable reader characters while the predicate returns
true
for a character or the end of stream is reached. - contains(ContentType) - Method in class com.norconex.commons.lang.file.ContentFamily
- contains(YearMonthDay) - Method in class com.norconex.commons.lang.time.YearMonthDayInterval
-
Whether the YearMonthDay falls between this interval (inclusive endpoints).
- contains(File) - Method in class com.norconex.commons.lang.jar.JarDuplicates
-
Gets whether this duplicate batch contains the given jar file.
- contains(String) - Method in class com.norconex.commons.lang.file.ContentFamily
- contains(String) - Method in class com.norconex.commons.lang.xml.XML
- contains(Date) - Method in class com.norconex.commons.lang.time.YearMonthDay
-
Whether this YearmMonthDay contains the given
Date
(i.e. same year, month, and day). - contains(Date) - Method in class com.norconex.commons.lang.time.YearMonthDayInterval
-
Whether the date falls between this interval (inclusive endpoints).
- contains(T) - Method in class com.norconex.commons.lang.CircularRange
-
Checks whether the specified element occurs within this range.
- 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).
- ContentTypeConverter - Class in com.norconex.commons.lang.convert
-
ContentType
converter. - ContentTypeConverter() - Constructor for class com.norconex.commons.lang.convert.ContentTypeConverter
- convert(long, DataUnit) - Method in enum com.norconex.commons.lang.unit.DataUnit
-
Deprecated.Since 2.0.0, use
DataUnit.from(BigDecimal, DataUnit)
- convert(Object) - Static method in class com.norconex.commons.lang.convert.Converter
- convert(Object, String) - Static method in class com.norconex.commons.lang.convert.Converter
- convert(String, Class<T>) - Static method in class com.norconex.commons.lang.convert.Converter
- convert(String, Class<T>, T) - Static method in class com.norconex.commons.lang.convert.Converter
- convert(List<Object>) - Static method in class com.norconex.commons.lang.convert.Converter
- convert(List<String>, Class<T>) - Static method in class com.norconex.commons.lang.convert.Converter
- Converter - Class in com.norconex.commons.lang.convert
-
Converts strings to objects and objects to strings.
- Converter(Map<Class<?>, IConverter>) - Constructor for class com.norconex.commons.lang.convert.Converter
- ConverterException - Exception in com.norconex.commons.lang.convert
-
Runtime exception indicating a conversion error.
- ConverterException() - Constructor for exception com.norconex.commons.lang.convert.ConverterException
- ConverterException(String) - Constructor for exception com.norconex.commons.lang.convert.ConverterException
- ConverterException(String, Throwable) - Constructor for exception com.norconex.commons.lang.convert.ConverterException
- ConverterException(String, Throwable, boolean, boolean) - Constructor for exception com.norconex.commons.lang.convert.ConverterException
- ConverterException(Throwable) - Constructor for exception com.norconex.commons.lang.convert.ConverterException
- copyFrom(ProxySettings) - Method in class com.norconex.commons.lang.net.ProxySettings
- copyFrom(Credentials) - Method in class com.norconex.commons.lang.security.Credentials
- copyFrom(TextMatcher) - Method in class com.norconex.commons.lang.text.TextMatcher
- 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.
- 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.
- 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.
- 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.
- copyProperties(T, T) - Static method in class com.norconex.commons.lang.bean.BeanUtil
- copyPropertiesOverNulls(T, T) - Static method in class com.norconex.commons.lang.bean.BeanUtil
- copyTo(ProxySettings) - Method in class com.norconex.commons.lang.net.ProxySettings
- copyTo(Credentials) - Method in class com.norconex.commons.lang.security.Credentials
- copyTo(TextMatcher) - Method in class com.norconex.commons.lang.text.TextMatcher
- CountingIterator<T> - Class in com.norconex.commons.lang.collection
-
Counts the number of time
CountingIterator.next()
was invoked. - CountingIterator(Iterator<T>) - Constructor for class com.norconex.commons.lang.collection.CountingIterator
- countMatchesEnd(String, String) - Static method in class com.norconex.commons.lang.text.StringUtil
-
Counts the number of consecutive matches at end of a a string.
- countMatchesStart(String, String) - Static method in class com.norconex.commons.lang.text.StringUtil
-
Counts the number of consecutive matches from the beginning of a string.
- create() - Method in class com.norconex.commons.lang.security.KeyStoreBuilder
-
Creates the key store.
- create() - Method in class com.norconex.commons.lang.xml.XML.Builder
- create(String, String) - Static method in class com.norconex.commons.lang.file.WebFile
-
Creates a web file using the OS temp directory + "webfiles" as the local download location, and the given name as the local file name.
- create(String, Path) - Static method in class com.norconex.commons.lang.file.WebFile
-
Creates a web file using the given directory as the local download location, and the URL "file" name as the local file name.
- create(String, Path, String) - Static method in class com.norconex.commons.lang.file.WebFile
-
Creates a web file using the given directory as the local download location, and the given name as the local file name.
- create(URL, String) - Static method in class com.norconex.commons.lang.file.WebFile
-
Creates a web file using the OS temp directory + "webfiles" as the local download location, and the given name as the local file name.
- create(URL, Path) - Static method in class com.norconex.commons.lang.file.WebFile
-
Creates a web file using the given directory as the local download location, and the URL "file" name as the local file name.
- create(URL, Path, String) - Static method in class com.norconex.commons.lang.file.WebFile
-
Creates a web file using the given directory as the local download location, and the given name as the local file name.
- 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.
- createDateFormattedDirs(File, Date, String) - Static method in class com.norconex.commons.lang.file.FileUtil
-
Creates (if not already existing) a series of directories reflecting the specified date format (from
SimpleDateFormat
), 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.
- createDefaultContext() - Method in class com.norconex.commons.lang.config.ConfigurationLoader
- createDirsForFile(File) - Static method in class com.norconex.commons.lang.file.FileUtil
-
Create all parent directories for a file if they do not exists.
- createDocumentBuilderFactory() - Static method in class com.norconex.commons.lang.xml.XMLUtil
- createKeyValueExtractor() - Method in class com.norconex.commons.lang.text.Regex
- createKeyValueExtractor(int, int) - Method in class com.norconex.commons.lang.text.Regex
- createKeyValueExtractor(String) - Method in class com.norconex.commons.lang.text.Regex
- createKeyValueExtractor(String, int) - Method in class com.norconex.commons.lang.text.Regex
- createSaxParserFactory() - Static method in class com.norconex.commons.lang.xml.XMLUtil
- createSchemaFactory() - Static method in class com.norconex.commons.lang.xml.XMLUtil
- createSchemaValidator(Schema) - Static method in class com.norconex.commons.lang.xml.XMLUtil
- 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, 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.
- 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, 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.
- createVelocityEngine() - Method in class com.norconex.commons.lang.config.ConfigurationLoader
- createXMLEventReader(Object) - Static method in class com.norconex.commons.lang.xml.XMLUtil
-
Creates an
XMLEventReader
from the supplied object representing XML. - createXMLInputFactory() - Static method in class com.norconex.commons.lang.xml.XMLUtil
- createXMLReader() - Static method in class com.norconex.commons.lang.xml.XMLUtil
- Credentials - Class in com.norconex.commons.lang.security
-
User credentials with an optionally encrypted password.
- Credentials() - Constructor for class com.norconex.commons.lang.security.Credentials
- Credentials(Credentials) - Constructor for class com.norconex.commons.lang.security.Credentials
- crop(Rectangle) - Method in class com.norconex.commons.lang.img.MutableImage
- csv(String) - Static method in class com.norconex.commons.lang.text.TextMatcher
-
Creates a new text matcher initialized with comma-separated-value matching.
- CSV - com.norconex.commons.lang.text.TextMatcher.Method
- CSV - Static variable in class com.norconex.commons.lang.file.ContentType
D
- DataUnit - Enum in com.norconex.commons.lang.unit
-
A
DataUnit
offers representation and conversion of various quantity of bytes/bits. - DataUnitFormatter - Class in com.norconex.commons.lang.unit
-
Formats a data unit to a human-readable string.
- DataUnitFormatter() - Constructor for class com.norconex.commons.lang.unit.DataUnitFormatter
-
Creates a new DataUnit formatter using decimal notation, with default system locale, and without decimals.
- DataUnitFormatter(int) - Constructor for class com.norconex.commons.lang.unit.DataUnitFormatter
-
Deprecated.Since 2.0.0 use setter methods.
- DataUnitFormatter(DataUnitFormatter) - Constructor for class com.norconex.commons.lang.unit.DataUnitFormatter
-
Copy constructor.
- DataUnitFormatter(Locale) - Constructor for class com.norconex.commons.lang.unit.DataUnitFormatter
-
Deprecated.Since 2.0.0 use setter methods.
- DataUnitFormatter(Locale, int) - Constructor for class com.norconex.commons.lang.unit.DataUnitFormatter
-
Deprecated.Since 2.0.0 use setter methods.
- DataUnitFormatter(Locale, int, boolean) - Constructor for class com.norconex.commons.lang.unit.DataUnitFormatter
-
Deprecated.Since 2.0.0 use setter methods.
- DataUnitParser - Class in com.norconex.commons.lang.unit
-
Parse a textual representation of a data unit and converts it into a
BigDecimal
representing the quantity for a given unit (e.g., bytes). - DataUnitParserException - Exception in com.norconex.commons.lang.unit
-
Runtime exception when a
DataUnitParser
could not parse a string value. - DataUnitParserException() - Constructor for exception com.norconex.commons.lang.unit.DataUnitParserException
-
Constructor.
- DataUnitParserException(String) - Constructor for exception com.norconex.commons.lang.unit.DataUnitParserException
-
Constructor.
- DataUnitParserException(String, Throwable) - Constructor for exception com.norconex.commons.lang.unit.DataUnitParserException
-
Constructor.
- DataUnitParserException(Throwable) - Constructor for exception com.norconex.commons.lang.unit.DataUnitParserException
-
Constructor.
- DateConverter - Class in com.norconex.commons.lang.convert
-
Date
converter using EPOCH representation for strings. - DateConverter() - Constructor for class com.norconex.commons.lang.convert.DateConverter
- DateUtil - Class in com.norconex.commons.lang.time
-
Date-related utility methods.
- DAY - com.norconex.commons.lang.time.DurationUnit
- DECIMAL_BIT_UNITS - Static variable in enum com.norconex.commons.lang.unit.DataUnit
- DECIMAL_BYTE_UNITS - Static variable in enum com.norconex.commons.lang.unit.DataUnit
- 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.
- decryptPassword(Credentials) - Static method in class com.norconex.commons.lang.encrypt.EncryptionUtil
-
Decrypts the given credentials password.
- DEFAULT_CHUNK_SIZE - Static variable in class com.norconex.commons.lang.io.InputStreamConsumer
- DEFAULT_CONSUMERS_WRITE_TAG_NAME - Static variable in class com.norconex.commons.lang.xml.flow.XMLFlow
- 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_JAVA_PROPERTIES_DELIMITER - Static variable in class com.norconex.commons.lang.map.Properties
- DEFAULT_KEY_SIZE - Static variable in class com.norconex.commons.lang.encrypt.EncryptionKey
- DEFAULT_MAX_CAUSES_KEPT - Static variable in class com.norconex.commons.lang.exec.Retrier
-
Default maximum number of exception causes kept.
- DEFAULT_MAX_MEM_INSTANCE - Static variable in class com.norconex.commons.lang.io.CachedStreamFactory
- DEFAULT_MAX_MEM_POOL - Static variable in class com.norconex.commons.lang.io.CachedStreamFactory
- 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_RETRY_DELAY - Static variable in class com.norconex.commons.lang.exec.Retrier
-
Default wait time (milliseconds) before making a new attempt.
- defaultInstance() - Static method in class com.norconex.commons.lang.convert.Converter
- 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.
- diff(T, T) - Static method in class com.norconex.commons.lang.bean.BeanUtil
- DimensionConverter - Class in com.norconex.commons.lang.convert
-
Dimension
converter. - DimensionConverter() - Constructor for class com.norconex.commons.lang.convert.DimensionConverter
- dirEmpty(File) - Static method in class com.norconex.commons.lang.file.FileUtil
-
Gets whether a directory is empty of files or directories in an efficient way which does not load all files.
- dirHasFile(File, FileFilter) - Static method in class com.norconex.commons.lang.file.FileUtil
-
Recursively gets whether a directory contains at least one file matching the given file filter.
- dispose() - Method in class com.norconex.commons.lang.io.CachedInputStream
- dotAll() - Method in class com.norconex.commons.lang.text.Regex
- download(URL, Path) - Method in class com.norconex.commons.lang.file.WebFile
- DurationConverter - Class in com.norconex.commons.lang.convert
-
Duration
converter using milliseconds for string representation, but can also parse back plain-English durations. - DurationConverter() - Constructor for class com.norconex.commons.lang.convert.DurationConverter
- DurationFormatter - Class in com.norconex.commons.lang.time
-
Formats a duration to a string.
- DurationFormatter() - Constructor for class com.norconex.commons.lang.time.DurationFormatter
-
Creates a duration with the default locale and full words for duration units.
- DurationParser - Class in com.norconex.commons.lang.time
-
Parse a textual 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(String, Throwable) - Constructor for exception com.norconex.commons.lang.time.DurationParserException
-
Constructor.
- DurationParserException(Throwable) - Constructor for exception com.norconex.commons.lang.time.DurationParserException
-
Constructor.
- DurationUnit - Enum in com.norconex.commons.lang.time
-
Duration Unit.
- DurationUtil - Class in com.norconex.commons.lang.time
-
Deprecated.Since 2.0.0, use
DurationFormatter
.
E
- EB - com.norconex.commons.lang.unit.DataUnit
- EBIT - com.norconex.commons.lang.unit.DataUnit
- EIB - com.norconex.commons.lang.unit.DataUnit
- EIBIT - com.norconex.commons.lang.unit.DataUnit
- elementIndent(String) - Method in class com.norconex.commons.lang.xml.XMLFormatter.Builder
-
String to use for indenting elements.
- emptiesToNulls(Collection<String>) - Static method in class com.norconex.commons.lang.collection.CollectionUtil
-
Convert empty string entries to
null
. - empty() - Static method in class com.norconex.commons.lang.security.KeyStoreBuilder
-
A builder for an empty key store.
- EMPTY_ARRAY - Static variable in class com.norconex.commons.lang.text.RegexFieldValueExtractor
- 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) - Constructor for exception com.norconex.commons.lang.encrypt.EncryptionException
- EncryptionException(String, Throwable) - 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) - Constructor for class com.norconex.commons.lang.encrypt.EncryptionKey
-
Creates a new encryption key where the value is the actual 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, EncryptionKey.Source) - Constructor for class com.norconex.commons.lang.encrypt.EncryptionKey
-
Creates a new reference to an encryption key.
- EncryptionKey(String, EncryptionKey.Source, int) - Constructor for class com.norconex.commons.lang.encrypt.EncryptionKey
-
Creates a new reference to an encryption 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
-
Deprecated.Since 2.0.0, use
EncryptionKey
save/load methods. - endsWith(String) - Method in class com.norconex.commons.lang.file.WebFile
- endsWith(Path) - Method in class com.norconex.commons.lang.file.WebFile
- 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.
- entrySet() - Method in class com.norconex.commons.lang.map.ObservableMap
- EnumConverter - Class in com.norconex.commons.lang.convert
-
Enum
converter. - EnumConverter() - Constructor for class com.norconex.commons.lang.convert.EnumConverter
- ENVIRONMENT - com.norconex.commons.lang.encrypt.EncryptionKey.Source
-
Value is the name of an environment variable containing the key.
- equals(Object) - Method in class com.norconex.commons.lang.bean.FluentPropertyDescriptor
- 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.convert.AbstractConverter
- equals(Object) - Method in class com.norconex.commons.lang.encrypt.EncryptionKey
- equals(Object) - Method in class com.norconex.commons.lang.event.Event
- equals(Object) - Method in class com.norconex.commons.lang.exec.Retrier
- 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.file.WebFile
- equals(Object) - Method in class com.norconex.commons.lang.function.Consumers
- equals(Object) - Method in class com.norconex.commons.lang.function.PredicatedConsumer
- equals(Object) - Method in class com.norconex.commons.lang.function.Predicates
- equals(Object) - Method in class com.norconex.commons.lang.img.MutableImage
- 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.MapChangeSupport
- equals(Object) - Method in class com.norconex.commons.lang.map.Properties
- equals(Object) - Method in class com.norconex.commons.lang.map.PropertyMatcher
- equals(Object) - Method in class com.norconex.commons.lang.net.Host
- equals(Object) - Method in class com.norconex.commons.lang.net.ProxySettings
- equals(Object) - Method in class com.norconex.commons.lang.security.Credentials
- equals(Object) - Method in class com.norconex.commons.lang.text.Regex
- equals(Object) - Method in class com.norconex.commons.lang.text.RegexFieldValueExtractor
- equals(Object) - Method in class com.norconex.commons.lang.text.TextMatcher
- equals(Object) - Method in class com.norconex.commons.lang.time.DurationFormatter
- equals(Object) - Method in class com.norconex.commons.lang.time.DurationParser
- equals(Object) - Method in class com.norconex.commons.lang.time.RBDurationUnitFormatter
- 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
- equals(Object) - Method in class com.norconex.commons.lang.xml.flow.impl.PropertyMatcherCondition
- equals(Object) - Method in class com.norconex.commons.lang.xml.flow.XMLFlow
- equals(Object) - Method in class com.norconex.commons.lang.xml.XMLValidationError
- EQUALS - com.norconex.commons.lang.Operator
- equalsAll(Object, Object...) - Static method in class com.norconex.commons.lang.EqualsUtil
-
Whether a source object equals ALL of the target objects
- equalsAllIgnoreCase(CharSequence, CharSequence...) - 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(CharSequence, CharSequence...) - 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.ErrorHandlerCapturer
- error(SAXParseException) - Method in class com.norconex.commons.lang.xml.ErrorHandlerFailer
- error(SAXParseException) - Method in class com.norconex.commons.lang.xml.ErrorHandlerLogger
- ERROR - com.norconex.commons.lang.xml.XMLValidationError.Severity
- ErrorHandlerCapturer - Class in com.norconex.commons.lang.xml
-
Collects XML validation errors.
- ErrorHandlerCapturer() - Constructor for class com.norconex.commons.lang.xml.ErrorHandlerCapturer
- ErrorHandlerCapturer(Class<?>) - Constructor for class com.norconex.commons.lang.xml.ErrorHandlerCapturer
- ErrorHandlerCapturer(Class<?>, List<XMLValidationError>) - Constructor for class com.norconex.commons.lang.xml.ErrorHandlerCapturer
- ErrorHandlerCapturer(List<XMLValidationError>) - Constructor for class com.norconex.commons.lang.xml.ErrorHandlerCapturer
- ErrorHandlerFailer - Class in com.norconex.commons.lang.xml
-
Fails upon encountering first XML validation errors by throwing an
XMLValidationException
. - ErrorHandlerFailer(Class<?>) - Constructor for class com.norconex.commons.lang.xml.ErrorHandlerFailer
- ErrorHandlerLogger - Class in com.norconex.commons.lang.xml
-
Logs XML validation warnings and errors.
- ErrorHandlerLogger(Class<?>) - Constructor for class com.norconex.commons.lang.xml.ErrorHandlerLogger
- escape(String) - Static method in class com.norconex.commons.lang.text.Regex
-
Escape special characters with a backslash (\) in a regular expression.
- 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.
- 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.
- evaluate(T, T) - Method in enum com.norconex.commons.lang.Operator
- Event - Class in com.norconex.commons.lang.event
-
An immutable event.
- Event(Event.Builder<?>) - Constructor for class com.norconex.commons.lang.event.Event
- Event.Builder<B extends Event.Builder<B>> - Class in com.norconex.commons.lang.event
- EventManager - Class in com.norconex.commons.lang.event
-
Manages event listeners and logs events.
- EventManager() - Constructor for class com.norconex.commons.lang.event.EventManager
- EventManager(EventManager) - Constructor for class com.norconex.commons.lang.event.EventManager
-
Wraps a parent event manager.
- exception(Throwable) - Method in class com.norconex.commons.lang.event.Event.Builder
- ExceptionUtil - Class in com.norconex.commons.lang
-
Exception-related utility methods.
- 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(String, Throwable) - Constructor for exception com.norconex.commons.lang.exec.ExecException
- ExecException(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() - 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(IRetriable<T>) - Method in class com.norconex.commons.lang.exec.Retrier
-
Runs the
IRetriable
instance. - 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.
- ExtendedReferenceInsertionEventHandler - Class in com.norconex.commons.lang.config
-
Velocity reference insertion event handler that when triggered, will try to resolve the reference against system properties or environment variables (in that order) if it could not resolved the normal way (before returning default value, if one was specified in the reference).
- ExtendedReferenceInsertionEventHandler() - Constructor for class com.norconex.commons.lang.config.ExtendedReferenceInsertionEventHandler
- extractFieldValues(Properties, CharSequence) - Method in class com.norconex.commons.lang.text.RegexFieldValueExtractor
- extractFieldValues(Properties, CharSequence, RegexFieldValueExtractor...) - Static method in class com.norconex.commons.lang.text.RegexFieldValueExtractor
- extractFieldValues(Properties, CharSequence, List<RegexFieldValueExtractor>) - Static method in class com.norconex.commons.lang.text.RegexFieldValueExtractor
- extractFieldValues(CharSequence) - Method in class com.norconex.commons.lang.text.RegexFieldValueExtractor
- extractFieldValues(CharSequence, RegexFieldValueExtractor...) - Static method in class com.norconex.commons.lang.text.RegexFieldValueExtractor
- extractFieldValues(CharSequence, List<RegexFieldValueExtractor>) - Static method in class com.norconex.commons.lang.text.RegexFieldValueExtractor
F
- FATAL - com.norconex.commons.lang.xml.XMLValidationError.Severity
- fatalError(SAXParseException) - Method in class com.norconex.commons.lang.xml.ErrorHandlerCapturer
- fatalError(SAXParseException) - Method in class com.norconex.commons.lang.xml.ErrorHandlerFailer
- fatalError(SAXParseException) - Method in class com.norconex.commons.lang.xml.ErrorHandlerLogger
- fetchCertificates(String) - Static method in class com.norconex.commons.lang.security.CertificateUtil
-
Fetches certificates associated with the URL host.
- fetchCertificates(String, int) - Static method in class com.norconex.commons.lang.security.CertificateUtil
-
Fetches certificates associated with the given host and port.
- FifoMap<K,V> - Class in com.norconex.commons.lang.map
-
Simple FIFO Map base on
LinkedHashMap
. - FifoMap(int) - Constructor for class com.norconex.commons.lang.map.FifoMap
- FILE - com.norconex.commons.lang.encrypt.EncryptionKey.Source
-
Value is the path to a file containing the key.
- FileAlreadyLockedException - Exception in com.norconex.commons.lang.file
-
Checked exception thrown by
FileLocker
when trying to create a lock on an on an already locked file. - FileAlreadyLockedException() - Constructor for exception com.norconex.commons.lang.file.FileAlreadyLockedException
- FileAlreadyLockedException(String) - Constructor for exception com.norconex.commons.lang.file.FileAlreadyLockedException
- FileAlreadyLockedException(String, Throwable) - Constructor for exception com.norconex.commons.lang.file.FileAlreadyLockedException
- FileAlreadyLockedException(Throwable) - Constructor for exception com.norconex.commons.lang.file.FileAlreadyLockedException
- fileChanged(File) - Method in interface com.norconex.commons.lang.file.IFileChangeListener
-
Invoked when a file changes.
- FileConverter - Class in com.norconex.commons.lang.convert
- FileConverter() - Constructor for class com.norconex.commons.lang.convert.FileConverter
- FileLocker - Class in com.norconex.commons.lang.file
-
Simple
FileLock
wrapper to use operating-system file-locking ability to help with multi-processes management. - FileLocker(Path) - Constructor for class com.norconex.commons.lang.file.FileLocker
- FileMonitor - Class in com.norconex.commons.lang.file
-
Class monitoring a
File
for changes and notifying all registeredIFileChangeListener
. - 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, String) - Constructor for class com.norconex.commons.lang.io.FilteredInputStream
-
Constructor.
- FilteredInputStream(InputStream, IInputStreamFilter, Charset) - 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
- find(Object, Class<T>) - Static method in class com.norconex.commons.lang.bean.BeanUtil
- findJarDuplicates(File...) - Static method in class com.norconex.commons.lang.jar.JarDuplicateFinder
-
Finds all jar duplicates.
- findJarDuplicates(String...) - Static method in class com.norconex.commons.lang.jar.JarDuplicateFinder
-
Finds all jar duplicates.
- findSubTypes(File, Class<T>) - Static method in class com.norconex.commons.lang.ClassFinder
-
Finds the names of all subtypes of the super class for the supplied
File
. - findSubTypes(File, Class<T>, Predicate<String>) - Static method in class com.norconex.commons.lang.ClassFinder
-
Finds the names of all subtypes of the super class for the supplied
File
. - findSubTypes(Class<T>) - 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(Class<T>, Predicate<String>) - 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<T>) - 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(List<File>, Class<T>, Predicate<String>) - Static method in class com.norconex.commons.lang.ClassFinder
-
Finds the names of all subtypes of the super class in list of
File
supplied. - fire(Event) - Method in class com.norconex.commons.lang.event.EventManager
- fire(Event, Level) - Method in class com.norconex.commons.lang.event.EventManager
- 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. - flipHorizontal() - Method in class com.norconex.commons.lang.img.MutableImage
- flipVertical() - Method in class com.norconex.commons.lang.img.MutableImage
- FluentPropertyDescriptor - Class in com.norconex.commons.lang.bean
-
A property descriptor that that will return write methods for fluent APIs (returning self).
- FluentPropertyDescriptor(PropertyDescriptor) - Constructor for class com.norconex.commons.lang.bean.FluentPropertyDescriptor
- FluentPropertyDescriptor(String, Class<?>) - Constructor for class com.norconex.commons.lang.bean.FluentPropertyDescriptor
- FluentPropertyDescriptor(String, Class<?>, String, String) - Constructor for class com.norconex.commons.lang.bean.FluentPropertyDescriptor
- FluentPropertyDescriptor(String, Method, Method) - Constructor for class com.norconex.commons.lang.bean.FluentPropertyDescriptor
- 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
- forEach(String, Consumer<XML>) - Method in class com.norconex.commons.lang.xml.XML
-
If the given expression matches one or more elements, consume those element one by one.
- format(double) - Method in class com.norconex.commons.lang.PercentFormatter
-
Formats a fraction as percentage string.
- format(double, double) - Method in class com.norconex.commons.lang.PercentFormatter
-
Formats fraction values 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(double, DataUnit) - Method in class com.norconex.commons.lang.unit.DataUnitFormatter
-
Formats a data amount of the given unit to a human-readable representation.
- format(long) - Method in class com.norconex.commons.lang.time.DurationFormatter
-
Formats the given duration (in milliseconds) to a string.
- format(DurationUnit, Locale, boolean) - Method in interface com.norconex.commons.lang.time.IDurationUnitFormatter
-
Format a duration unit
- format(DurationUnit, Locale, boolean) - Method in class com.norconex.commons.lang.time.RBDurationUnitFormatter
- format(XML) - Method in class com.norconex.commons.lang.xml.XMLFormatter
- format(Reader, Writer) - Method in class com.norconex.commons.lang.xml.XMLFormatter
- format(String) - Method in class com.norconex.commons.lang.xml.XMLFormatter
- format(BigDecimal, DataUnit) - Method in class com.norconex.commons.lang.unit.DataUnitFormatter
-
Formats a data amount of the given unit to a human-readable representation.
- format(Duration) - Method in class com.norconex.commons.lang.time.DurationFormatter
-
Formats the given duration to a string.
- formatLong(Locale, long) - Static method in class com.norconex.commons.lang.time.DurationUtil
-
Deprecated.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
-
Deprecated.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
-
Deprecated.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
-
Deprecated.Formats a duration using time units abbreviations according to supplied locale.
- FORMATTER - Static variable in class com.norconex.commons.lang.javadoc.HTMLTaglet
- FORMATTER - Static variable in class com.norconex.commons.lang.javadoc.XMLTaglet
- from(double, DataUnit) - Method in enum com.norconex.commons.lang.unit.DataUnit
-
Converts an amount of a specific unit to this unit.
- from(long) - Static method in enum com.norconex.commons.lang.time.DurationUnit
-
Gets the largest unit fitting in the provided duration.
- from(String) - Static method in enum com.norconex.commons.lang.map.PropertySetter
- from(String) - Static method in enum com.norconex.commons.lang.time.DurationUnit
-
Gets the DurationUnit matching the provided string (case insensitive) or
null
if there are no units matching. - from(String) - Static method in enum com.norconex.commons.lang.unit.DataUnit
-
Gets the unit value representing the given text.
- from(String, PropertySetter) - Static method in enum com.norconex.commons.lang.map.PropertySetter
- from(BigDecimal, DataUnit) - Method in enum com.norconex.commons.lang.unit.DataUnit
-
Converts an amount of a specific unit to this unit.
- from(Duration) - Static method in enum com.norconex.commons.lang.time.DurationUnit
-
Gets the largest unit fitting in the provided duration.
- from(TemporalUnit) - Static method in enum com.norconex.commons.lang.time.DurationUnit
- fromBits(double) - Method in enum com.norconex.commons.lang.unit.DataUnit
- fromBits(BigDecimal) - Method in enum com.norconex.commons.lang.unit.DataUnit
- fromBytes(double) - Method in enum com.norconex.commons.lang.unit.DataUnit
- fromBytes(BigDecimal) - Method in enum com.norconex.commons.lang.unit.DataUnit
- fromFile(Path) - Static method in class com.norconex.commons.lang.security.KeyStoreBuilder
-
A builder for a key store initialized from a key store file.
- fromJavaHome() - Static method in class com.norconex.commons.lang.security.KeyStoreBuilder
-
A builder for a key store initialized from
{JAVA_HOME}/lib/security/cacerts
. - fromJavaLevel(Level) - Static method in class com.norconex.commons.lang.SLF4JUtil
- 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. - fromString(String) - Method in class com.norconex.commons.lang.map.Properties
-
Reads a property list (key and element pairs) from the input string.
- fromXML(XML, PropertySetter) - Static method in enum com.norconex.commons.lang.map.PropertySetter
- FULL - Static variable in class com.norconex.commons.lang.time.DurationFormatter
-
Example: 5 days 18 hours 1 minute 23 seconds
- FULL - Static variable in class com.norconex.commons.lang.time.RBDurationUnitFormatter
- FunctionUtil - Class in com.norconex.commons.lang.function
-
Function-related utility methods
G
- GB - com.norconex.commons.lang.unit.DataUnit
- GBIT - com.norconex.commons.lang.unit.DataUnit
- get() - Method in class com.norconex.commons.lang.OSResource
- get(Object) - Method in class com.norconex.commons.lang.map.ObservableMap
- get(Object) - Method in class com.norconex.commons.lang.map.Properties
- get(String, Class<T>) - Method in class com.norconex.commons.lang.map.Properties
-
Gets a single value, converted to the given type.
- get(String, Class<T>) - Method in class com.norconex.commons.lang.xml.XML
-
Gets the matching element/attribute, converted from string to the given type.
- get(String, Class<T>, T) - Method in class com.norconex.commons.lang.map.Properties
-
Gets a single value, converted to the given type.
- get(String, Class<T>, T) - Method in class com.norconex.commons.lang.xml.XML
-
Gets the matching element/attribute, converted from string to the given type.
- getAllCauses() - Method in exception com.norconex.commons.lang.exec.RetriableException
- getAllowedLocations() - Method in class com.norconex.commons.lang.javadoc.AbstractInlineTaglet
- getAllowedLocations() - Method in class com.norconex.commons.lang.javadoc.IncludeTaglet
- getAnnotation(Class<?>, Class<A>) - Static method in class com.norconex.commons.lang.ClassUtil
-
Gets a type annotation, considering super classes.
- getArea() - Method in class com.norconex.commons.lang.img.MutableImage
- getAttributes() - Method in class com.norconex.commons.lang.xml.XMLCursor
- getBaseName() - Method in class com.norconex.commons.lang.jar.JarFile
- getBaseName() - Method in class com.norconex.commons.lang.time.RBDurationUnitFormatter
- 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) - Method in class com.norconex.commons.lang.xml.XML
- getBoolean(String, Boolean) - Method in class com.norconex.commons.lang.map.Properties
-
Gets value as a boolean.
- getBoolean(String, Boolean) - Method in class com.norconex.commons.lang.xml.XML
- 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
- getCharset(String) - Method in class com.norconex.commons.lang.xml.XML
- getCharset(String, Charset) - Method in class com.norconex.commons.lang.xml.XML
- getChildren(Object) - Static method in class com.norconex.commons.lang.bean.BeanUtil
- 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) - Method in class com.norconex.commons.lang.xml.XML
- 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.
- getClass(String, Class<T>) - Method in class com.norconex.commons.lang.xml.XML
- getClasses(String) - Method in class com.norconex.commons.lang.map.Properties
-
Gets values as a list of initialized classes.
- getClassList(String) - Method in class com.norconex.commons.lang.xml.XML
-
Gets values as a list of files.
- getClassList(String, List<Class<? extends T>>) - Method in class com.norconex.commons.lang.xml.XML
-
Gets values as a list of files.
- getClassLoader() - Method in class com.norconex.commons.lang.time.RBDurationUnitFormatter
- 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.
- getConsumer() - Method in class com.norconex.commons.lang.function.PredicatedConsumer
- getConsumerAdapter() - Method in class com.norconex.commons.lang.xml.flow.XMLFlow
- getContent() - Method in class com.norconex.commons.lang.javadoc.TagContent
- getContentFamily() - Method in class com.norconex.commons.lang.file.ContentType
- getConverter(Class<?>) - Method in class com.norconex.commons.lang.convert.Converter
- getConverters() - Method in class com.norconex.commons.lang.convert.Converter
- getCount() - Method in class com.norconex.commons.lang.collection.CountingIterator
- getCredentials() - Method in class com.norconex.commons.lang.net.ProxySettings
-
Gets the proxy credentials.
- getDataSize(String) - Method in class com.norconex.commons.lang.xml.XML
-
Gets the size of a data expression, in bytes (e.g., 2KB, 1GiB, 3 megabytes, etc).
- getDataSize(String, DataUnit, Long) - Method in class com.norconex.commons.lang.xml.XML
-
Gets the size of a data expression, in the specified target unit (e.g., 2KB, 1GiB, 3 megabytes, etc).
- getDataSize(String, Long) - Method in class com.norconex.commons.lang.xml.XML
-
Gets the size of a data expression, in bytes (e.g., 2KB, 1GiB, 3 megabytes, etc).
- 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.
- getDecimalPrecision() - Method in class com.norconex.commons.lang.unit.DataUnitFormatter
- getDelimitedEnumList(String, Class<E>, String, List<E>) - Method in class com.norconex.commons.lang.xml.XML
-
Gets a list of enum constants after splitting the matching node value(s) with the given delimiter regular expression.
- getDelimitedEnumList(String, Class<E>, List<E>) - Method in class com.norconex.commons.lang.xml.XML
-
Gets a list of enum constants after splitting the matching node value(s) on commas (CSV).
- getDelimitedList(String, Class<T>) - Method in class com.norconex.commons.lang.xml.XML
-
Gets a list of the given type after splitting the matching node value(s) on commas (CSV).
- getDelimitedList(String, Class<T>, String) - Method in class com.norconex.commons.lang.xml.XML
-
Gets a list of given type after splitting the matching node value(s) with the given delimiter regular expression.
- getDelimitedList(String, Class<T>, String, List<? extends T>) - Method in class com.norconex.commons.lang.xml.XML
-
Gets a list of given type after splitting the matching node value(s) with the given delimiter regular expression.
- getDelimitedList(String, Class<T>, List<T>) - Method in class com.norconex.commons.lang.xml.XML
-
Gets a list of given type after splitting the matching node value(s) on commas (CSV).
- getDelimitedStringList(String) - Method in class com.norconex.commons.lang.xml.XML
-
Gets a list of strings after splitting the matching node value(s) on commas (CSV).
- getDelimitedStringList(String, String) - Method in class com.norconex.commons.lang.xml.XML
-
Gets a list of strings after splitting the matching node value(s) with the given delimiter regular expression.
- getDelimitedStringList(String, String, List<String>) - Method in class com.norconex.commons.lang.xml.XML
-
Gets a list of strings after splitting the matching node value(s) with the given delimiter regular expression.
- getDelimitedStringList(String, List<String>) - Method in class com.norconex.commons.lang.xml.XML
-
Gets a list of strings after splitting the matching node value(s) on commas (CSV).
- getDetailedVersion(Class<?>) - Static method in class com.norconex.commons.lang.VersionUtil
-
Gets the detailed version from the project or library the provided class belongs to.
- getDetailedVersion(Class<?>, String) - Static method in class com.norconex.commons.lang.VersionUtil
-
Gets the detailed version from the project or library the provided class belongs to.
- getDimension() - Method in class com.norconex.commons.lang.img.MutableImage
- getDimension(String) - Method in class com.norconex.commons.lang.xml.XML
- getDimension(String, Dimension) - Method in class com.norconex.commons.lang.xml.XML
- getDisplayName() - 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.ContentFamily
- getDisplayName(Locale) - Method in class com.norconex.commons.lang.file.ContentType
-
Gets a name for the content type suitable for display to a user.
- getDocumentBuilderFactory() - Method in class com.norconex.commons.lang.xml.XML
- getDouble(String) - Method in class com.norconex.commons.lang.map.Properties
-
Gets value as a double.
- getDouble(String) - Method in class com.norconex.commons.lang.xml.XML
- getDouble(String, Double) - Method in class com.norconex.commons.lang.map.Properties
-
Gets value as a double.
- getDouble(String, Double) - Method in class com.norconex.commons.lang.xml.XML
- getDoubles(String) - Method in class com.norconex.commons.lang.map.Properties
-
Gets values as a list of doubles.
- getDuration(String) - Method in class com.norconex.commons.lang.xml.XML
-
Gets a duration which can exists as a numerical value or a textual representation of a duration as per
DurationParser
. - getDuration(String, Duration) - Method in class com.norconex.commons.lang.xml.XML
-
Gets a duration which can exists as a numerical value or a textual representation of a duration as per
DurationParser
. - getDurationMillis(String) - Method in class com.norconex.commons.lang.xml.XML
-
Gets a duration in milliseconds which can exists as a numerical value or a textual representation of a duration as per
DurationParser
. - getDurationMillis(String, Long) - Method in class com.norconex.commons.lang.xml.XML
-
Gets a duration in milliseconds which can exists as a numerical value or a textual representation of a duration as per
DurationParser
. - getElement() - Method in class com.norconex.commons.lang.xml.XMLCursor
- 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.
- getEnum(String, Class<E>) - Method in class com.norconex.commons.lang.xml.XML
-
Gets an Enum constant matching one of the constants in the provided Enum class, ignoring case.
- getEnum(String, Class<E>, E) - Method in class com.norconex.commons.lang.xml.XML
-
Gets an Enum constant matching one of the constants in the provided Enum class, ignoring case.
- getEnumList(String, Class<E>, List<E>) - Method in class com.norconex.commons.lang.xml.XML
-
Gets a list of enum constants.
- getEnvironment(String) - Static method in class com.norconex.commons.lang.SystemUtil
-
Gets the value of the specified environment variable matching the exact name, or a supported variant.
- getEnvironmentOrProperty(String) - Static method in class com.norconex.commons.lang.SystemUtil
-
Gets the environment variable or system property matching the exact name, or a supported variant.
- getEnvironmentVariables() - Method in class com.norconex.commons.lang.exec.SystemCommand
-
Gets environment variables.
- getErrorHandler() - Method in class com.norconex.commons.lang.xml.XML
- getErrors() - Method in class com.norconex.commons.lang.xml.ErrorHandlerCapturer
- getErrors() - Method in exception com.norconex.commons.lang.xml.XMLValidationException
- getException() - Method in class com.norconex.commons.lang.event.Event
-
Gets the exception, if any.
- 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.
- getFieldGroup() - Method in class com.norconex.commons.lang.text.RegexFieldValueExtractor
- getFieldMatcher() - Method in class com.norconex.commons.lang.map.PropertyMatcher
-
Gets the field matcher (copy).
- getFile(String) - Method in class com.norconex.commons.lang.map.Properties
-
Gets a file, assuming key value is a file system path.
- getFile(String) - Method in class com.norconex.commons.lang.xml.XML
-
Gets a file, assuming the node 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.
- getFile(String, File) - Method in class com.norconex.commons.lang.xml.XML
-
Gets a file, assuming the node value is a file system path.
- getFileList(String) - Method in class com.norconex.commons.lang.xml.XML
-
Gets values as a list of files.
- getFileList(String, List<File>) - Method in class com.norconex.commons.lang.xml.XML
-
Gets values as a list of files.
- getFileName() - Method in class com.norconex.commons.lang.file.WebFile
- getFiles(String) - Method in class com.norconex.commons.lang.map.Properties
-
Gets values as a list of files.
- getFileSystem() - Method in class com.norconex.commons.lang.file.WebFile
- getFlags() - Method in class com.norconex.commons.lang.text.Regex
- getFloat(String) - Method in class com.norconex.commons.lang.map.Properties
-
Gets value as a float.
- getFloat(String) - Method in class com.norconex.commons.lang.xml.XML
- getFloat(String, Float) - Method in class com.norconex.commons.lang.map.Properties
-
Gets value as a float.
- getFloat(String, Float) - Method in class com.norconex.commons.lang.xml.XML
- getFloats(String) - Method in class com.norconex.commons.lang.map.Properties
-
Gets values as a list of floats.
- getFormattedMessages(Throwable) - Static method in class com.norconex.commons.lang.ExceptionUtil
-
Gets a formatted string made of short messages summarizing all exceptions objects in the exception chain, starting with and including the supplied exception.
- 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.
- getFullName() - Method in class com.norconex.commons.lang.jar.JarFile
- getGroupIndex() - Method in enum com.norconex.commons.lang.unit.DataUnit
- getHeadingProvider() - Method in class com.norconex.commons.lang.javadoc.AbstractInlineTaglet
- getHeight() - Method in class com.norconex.commons.lang.img.MutableImage
- getHighestUnit() - Method in class com.norconex.commons.lang.time.DurationFormatter
- getHost() - Method in class com.norconex.commons.lang.net.ProxySettings
-
Gets the proxy host.
- 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
- getInnerSeparator() - Method in class com.norconex.commons.lang.time.DurationFormatter
- 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.
- getInstant(String) - Method in class com.norconex.commons.lang.map.Properties
-
Gets value as a UTC date-time
Instant
. - getInstant(String, Instant) - Method in class com.norconex.commons.lang.map.Properties
-
Gets value as a UTC date-time
Instant
. - getInstants(String) - Method in class com.norconex.commons.lang.map.Properties
-
Gets values as a list of UTC date-time
Instant
s. - getInteger(String) - Method in class com.norconex.commons.lang.map.Properties
-
Gets value as an integer.
- getInteger(String) - Method in class com.norconex.commons.lang.xml.XML
- getInteger(String, Integer) - Method in class com.norconex.commons.lang.map.Properties
-
Gets value as an integer.
- getInteger(String, Integer) - Method in class com.norconex.commons.lang.xml.XML
- getIntegers(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.
- getJsonReader(Class<?>) - Static method in class com.norconex.commons.lang.ResourceLoader
-
Gets a UTF-8 reader from resource matching class name with ".json" suffix.
- getJsonStream(Class<?>) - Static method in class com.norconex.commons.lang.ResourceLoader
-
Gets a stream from a resource matching class name with ".json" suffix.
- getJsonString(Class<?>) - Static method in class com.norconex.commons.lang.ResourceLoader
-
Gets a UTF-8 string from resource matching class name with ".json" suffix.
- 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
-
Deprecated.Since 2.0.0 use
PropertyMatcher.getFieldMatcher()
. - 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.
- getLength() - Method in class com.norconex.commons.lang.xml.NodeArrayList
- getLevel(Logger) - Static method in class com.norconex.commons.lang.SLF4JUtil
-
Gets the finest log level supported by the supplied logger.
- getList(String, Class<T>) - Method in class com.norconex.commons.lang.map.Properties
-
Gets a list of values, with its elements converted to the given type.
- getList(String, Class<T>) - Method in class com.norconex.commons.lang.xml.XML
-
Gets the matching list of elements/attributes, converted from string to the given type.
- getList(String, Class<T>, List<? extends T>) - Method in class com.norconex.commons.lang.xml.XML
-
Gets the matching list of elements/attributes, converted from string to the given type.
- getList(String, Class<T>, List<T>) - Method in class com.norconex.commons.lang.map.Properties
-
Gets a list of values, with its elements converted to the given type.
- getListenerCount() - Method in class com.norconex.commons.lang.event.EventManager
- getListeners() - Method in class com.norconex.commons.lang.event.EventManager
- getLocalAttributes() - Method in class com.norconex.commons.lang.xml.XMLCursor
- getLocalDateTime(String) - Method in class com.norconex.commons.lang.map.Properties
-
Gets value as a local date-time.
- getLocalDateTime(String, LocalDateTime) - Method in class com.norconex.commons.lang.map.Properties
-
Gets value as a local date-time.
- getLocalDateTimes(String) - Method in class com.norconex.commons.lang.map.Properties
-
Gets values as a list of local date-times.
- getLocale() - Method in class com.norconex.commons.lang.time.DurationFormatter
- getLocale() - Method in class com.norconex.commons.lang.time.DurationParser
- getLocale() - Method in class com.norconex.commons.lang.unit.DataUnitFormatter
- getLocale(String) - Method in class com.norconex.commons.lang.map.Properties
-
Gets value as a locale.
- getLocale(String) - Method in class com.norconex.commons.lang.xml.XML
- getLocale(String, Locale) - Method in class com.norconex.commons.lang.map.Properties
-
Gets value as a locale.
- getLocale(String, Locale) - Method in class com.norconex.commons.lang.xml.XML
- getLocales(String) - Method in class com.norconex.commons.lang.map.Properties
-
Gets values as a list of locales.
- getLocalName() - Method in class com.norconex.commons.lang.xml.XMLCursor
- getLocalPath() - Method in class com.norconex.commons.lang.xml.XMLCursor
- getLong(String) - Method in class com.norconex.commons.lang.map.Properties
-
Gets value as a long.
- getLong(String) - Method in class com.norconex.commons.lang.xml.XML
- getLong(String, Long) - Method in class com.norconex.commons.lang.map.Properties
-
Gets value as a long.
- getLong(String, Long) - Method in class com.norconex.commons.lang.xml.XML
- getLongs(String) - Method in class com.norconex.commons.lang.map.Properties
-
Gets values as a list of longs.
- getLowestUnit() - Method in class com.norconex.commons.lang.time.DurationFormatter
- 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.
- getMaxMemoryInstance() - Method in class com.norconex.commons.lang.io.CachedStreamFactory
- getMaxMemoryPool() - Method in class com.norconex.commons.lang.io.CachedStreamFactory
- 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).
- getMaxSize() - Method in class com.norconex.commons.lang.map.FifoMap
- 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
- getMessage() - Method in class com.norconex.commons.lang.event.Event
-
Gets a message describing the event or giving precision.
- getMessage() - Method in class com.norconex.commons.lang.xml.XMLValidationError
- getMessageList(Throwable) - Static method in class com.norconex.commons.lang.ExceptionUtil
-
Gets a list of short messages summarizing all exceptions objects in the exception chain, starting with and including the supplied exception.
- getMethod() - Method in class com.norconex.commons.lang.text.TextMatcher
- 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.
- getName() - Method in class com.norconex.commons.lang.event.Event
-
Gets the event name.
- getName() - Method in class com.norconex.commons.lang.javadoc.AbstractInlineTaglet
- getName() - Method in class com.norconex.commons.lang.javadoc.IncludeTaglet
- getName() - Method in class com.norconex.commons.lang.javadoc.TagContent
- getName() - Method in class com.norconex.commons.lang.net.Host
- getName() - Method in enum com.norconex.commons.lang.unit.DataUnit
- getName() - Method in class com.norconex.commons.lang.xml.XML
- getName() - Method in class com.norconex.commons.lang.xml.XMLCursor
- getName(int) - Method in class com.norconex.commons.lang.file.WebFile
- getNameCount() - Method in class com.norconex.commons.lang.file.WebFile
- getNamespaceContext() - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
- getNewValue() - Method in class com.norconex.commons.lang.map.MapChangeEvent
-
Gets the new value.
- getNode() - Method in class com.norconex.commons.lang.xml.XML
- getNode(String) - Method in class com.norconex.commons.lang.xml.XML
- getNumberFormat() - Method in class com.norconex.commons.lang.time.DurationFormatter
- getObject(String) - Method in class com.norconex.commons.lang.xml.XML
-
Creates a new instance of the class represented by the "class" attribute on the node matching the expression.
- getObject(String, T) - Method in class com.norconex.commons.lang.xml.XML
-
Creates a new instance of the class represented by the "class" attribute on the node matching the expression.
- getObjectImpl(Class<?>, String) - Method in class com.norconex.commons.lang.xml.XML
-
Creates a new instance of the class represented by the "class" attribute on the node matching the expression.
- getObjectImpl(Class<?>, String, T) - Method in class com.norconex.commons.lang.xml.XML
-
Creates a new instance of the class represented by the "class" attribute on the node matching the expression.
- getObjectList(String) - Method in class com.norconex.commons.lang.xml.XML
-
Creates an instance list from classes represented by the "class" attribute on the nodes matching the expression.
- getObjectList(String, List<T>) - Method in class com.norconex.commons.lang.xml.XML
-
Creates an instance list from classes represented by the "class" attribute on the nodes matching the expression.
- getObjectListImpl(Class<?>, String) - Method in class com.norconex.commons.lang.xml.XML
-
Creates an instance list from classes represented by the "class" attribute on the nodes matching the expression.
- getObjectListImpl(Class<?>, String, List<T>) - Method in class com.norconex.commons.lang.xml.XML
-
Creates an instance list from classes represented by the "class" attribute on the nodes matching the expression.
- getOldValue() - Method in class com.norconex.commons.lang.map.MapChangeEvent
-
Gets the old value.
- getOnSet() - Method in class com.norconex.commons.lang.text.RegexFieldValueExtractor
-
Gets the property setter to use when a value is set.
- getOuterLastSeparator() - Method in class com.norconex.commons.lang.time.DurationFormatter
- getOuterSeparator() - Method in class com.norconex.commons.lang.time.DurationFormatter
- getParent() - Method in class com.norconex.commons.lang.file.WebFile
- getPassword() - Method in class com.norconex.commons.lang.security.Credentials
- getPasswordKey() - Method in class com.norconex.commons.lang.security.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.
- getPath() - Method in class com.norconex.commons.lang.xml.XMLCursor
- getPath(String) - Method in class com.norconex.commons.lang.xml.XML
-
Gets a path, assuming the node value is a file system path.
- getPath(String, Path) - Method in class com.norconex.commons.lang.xml.XML
-
Gets a path, assuming the node value is a file system path.
- getPathList(String) - Method in class com.norconex.commons.lang.xml.XML
-
Gets values as a list of paths.
- getPathList(String, List<Path>) - Method in class com.norconex.commons.lang.xml.XML
-
Gets values as a list of paths.
- getPattern() - Method in class com.norconex.commons.lang.text.Regex
- getPattern() - Method in class com.norconex.commons.lang.text.TextMatcher
- getPort() - Method in class com.norconex.commons.lang.net.Host
- 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
- getPredicate() - Method in class com.norconex.commons.lang.function.PredicatedConsumer
- getPredicateAdapter() - Method in class com.norconex.commons.lang.xml.flow.XMLFlow
- getPrefix() - Method in enum com.norconex.commons.lang.unit.DataUnit
- getPrefix(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
- getProperty(String) - Static method in class com.norconex.commons.lang.SystemUtil
-
Gets the value of the system property matching the exact name, or a supported variant.
- getProperty(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
- getPropertyDescriptors(Object) - Static method in class com.norconex.commons.lang.bean.BeanUtil
- getPropertyGenericType(Class<?>, String) - Static method in class com.norconex.commons.lang.bean.BeanUtil
- getPropertyOrEnvironment(String) - Static method in class com.norconex.commons.lang.SystemUtil
-
Gets the system property or environment variable matching the exact name, or a supported variant.
- getPropertyType(Object, String) - Static method in class com.norconex.commons.lang.bean.BeanUtil
- getProtocol() - Method in class com.norconex.commons.lang.url.HttpURL
-
Gets the protocol portion of the URL (e.g. http, https);
- getProxyHost() - Method in class com.norconex.commons.lang.net.ProxySettings
-
Deprecated.Since 2.0.0, use
ProxySettings.getHost()
. - getProxyPassword() - Method in class com.norconex.commons.lang.net.ProxySettings
-
Deprecated.Since 2.0.0, use
ProxySettings.getCredentials()
. - getProxyPasswordKey() - Method in class com.norconex.commons.lang.net.ProxySettings
-
Deprecated.Since 2.0.0, use
ProxySettings.getCredentials()
. - getProxyPort() - Method in class com.norconex.commons.lang.net.ProxySettings
-
Deprecated.Since 2.0.0, use
ProxySettings.getHost()
. - getProxyRealm() - Method in class com.norconex.commons.lang.net.ProxySettings
-
Deprecated.Since 2.0.0, use
ProxySettings.getRealm()
. - getProxyScheme() - Method in class com.norconex.commons.lang.net.ProxySettings
-
Deprecated.Since 2.0.0, use
ProxySettings.getScheme()
. - getProxyUsername() - Method in class com.norconex.commons.lang.net.ProxySettings
-
Deprecated.Since 2.0.0, use
ProxySettings.getCredentials()
. - 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.
- getRealm() - Method in class com.norconex.commons.lang.net.ProxySettings
-
Gets the proxy realm.
- getReference() - Method in class com.norconex.commons.lang.javadoc.TagContent
- getRegex() - Method in class com.norconex.commons.lang.map.PropertyMatcher
-
Deprecated.Since 2.0.0 use
PropertyMatcher.getValueMatcher()
. - getRegex() - Method in class com.norconex.commons.lang.text.RegexFieldValueExtractor
- getResizeQuality() - Method in class com.norconex.commons.lang.img.MutableImage
- getResourceBundle(Locale) - Method in class com.norconex.commons.lang.time.RBDurationUnitFormatter
- 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.file.WebFile
- 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.
- getRoundingMode() - Method in class com.norconex.commons.lang.unit.DataUnitFormatter
- getScaleMethod() - Method in enum com.norconex.commons.lang.img.MutableImage.Quality
- getScheme() - Method in class com.norconex.commons.lang.net.ProxySettings
-
Gets the proxy scheme.
- getSeverity() - Method in class com.norconex.commons.lang.xml.XMLValidationError
- 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.event.Event
-
Gets the object representing the source of this event.
- 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.
- getString(Class<?>, String) - Static method in class com.norconex.commons.lang.ResourceLoader
-
Gets a UTF-8 a resource from class loader as a string.
- getString(String) - Method in class com.norconex.commons.lang.map.Properties
-
Gets value as string.
- getString(String) - Method in class com.norconex.commons.lang.xml.XML
- getString(String, String) - Method in class com.norconex.commons.lang.map.Properties
-
Gets value as string.
- getString(String, String) - Method in class com.norconex.commons.lang.xml.XML
- getStringData() - Method in class com.norconex.commons.lang.xml.ClasspathInput
- getStringList(String) - Method in class com.norconex.commons.lang.xml.XML
-
Gets the matching list of elements/attributes as strings.
- getStringList(String, List<String>) - Method in class com.norconex.commons.lang.xml.XML
-
Gets the matching list of elements/attributes as strings.
- getStringMap(String, String, String) - Method in class com.norconex.commons.lang.xml.XML
-
Gets the matching map of elements/attributes as strings.
- getStringMap(String, String, String, Map<String, String>) - Method in class com.norconex.commons.lang.xml.XML
-
Gets the matching map of elements/attributes as strings.
- getStrings(String) - Method in class com.norconex.commons.lang.map.Properties
-
Gets values as a list of strings.
- getSymbol() - Method in enum com.norconex.commons.lang.unit.DataUnit
- getSystemId() - Method in class com.norconex.commons.lang.xml.ClasspathInput
- getToField() - Method in class com.norconex.commons.lang.text.RegexFieldValueExtractor
- 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. - getUnitFormatter() - Method in class com.norconex.commons.lang.time.DurationFormatter
- getUnitPrecision() - Method in class com.norconex.commons.lang.time.DurationFormatter
- getUrl() - Method in class com.norconex.commons.lang.file.WebFile
- getURL(String) - Method in class com.norconex.commons.lang.xml.XML
- getURL(String, URL) - Method in class com.norconex.commons.lang.xml.XML
- getURLList(String) - Method in class com.norconex.commons.lang.xml.XML
- getURLList(String, List<URL>) - Method in class com.norconex.commons.lang.xml.XML
- getUsername() - Method in class com.norconex.commons.lang.security.Credentials
- getValue() - Method in class com.norconex.commons.lang.encrypt.EncryptionKey
- getValue(Object, PropertyDescriptor) - Static method in class com.norconex.commons.lang.bean.BeanUtil
- getValue(Object, String) - Static method in class com.norconex.commons.lang.bean.BeanUtil
- getValueGroup() - Method in class com.norconex.commons.lang.text.RegexFieldValueExtractor
- getValueMatcher() - Method in class com.norconex.commons.lang.map.PropertyMatcher
-
Gets the value matcher (copy).
- getVersion() - Method in class com.norconex.commons.lang.jar.JarFile
- getVersion(Class<?>) - Static method in class com.norconex.commons.lang.VersionUtil
-
Gets the version from the project or library the provided class belongs to.
- getVersion(Class<?>, String) - Static method in class com.norconex.commons.lang.VersionUtil
-
Gets the version from the project or library the provided class belongs to.
- getWidth() - Method in class com.norconex.commons.lang.img.MutableImage
- getWorkdir() - Method in class com.norconex.commons.lang.exec.SystemCommand
-
Gets the command working directory.
- getWriteMethod() - Method in class com.norconex.commons.lang.bean.FluentPropertyDescriptor
- getWriteMethod(Object, String) - Static method in class com.norconex.commons.lang.bean.BeanUtil
-
Gets a bean write method, with supports for fluent API (returning self).
- getWriter() - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
-
Gets the underlying writer, after flushing this XML stream writer.
- getXml() - Method in exception com.norconex.commons.lang.xml.XMLValidationException
- getXML(String) - Method in class com.norconex.commons.lang.xml.XML
-
Gets the xml subset matching the xpath expression.
- getXMLList(String) - Method in class com.norconex.commons.lang.xml.XML
-
Gets the XML subsets matching the xpath expression.
- 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.
- getXMLStreamWriter() - Method in class com.norconex.commons.lang.xml.XML
- getXmlString(Class<?>) - Static method in class com.norconex.commons.lang.ResourceLoader
-
Gets a UTF-8 string from resource matching class name with ".xml" suffix.
- getXMLWriter() - Method in class com.norconex.commons.lang.xml.XML
- 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.
- GIB - com.norconex.commons.lang.unit.DataUnit
- GIBIT - com.norconex.commons.lang.unit.DataUnit
- GIF - Static variable in class com.norconex.commons.lang.file.ContentType
- GREATER_EQUAL - com.norconex.commons.lang.Operator
- GREATER_THAN - com.norconex.commons.lang.Operator
H
- hasChildren(Object) - Static method in class com.norconex.commons.lang.bean.BeanUtil
- hasEnoughAvailableMemory(ByteArrayOutputStream, int) - Method in class com.norconex.commons.lang.io.CachedStreamFactory.MemoryTracker
- hashCode() - Method in class com.norconex.commons.lang.bean.FluentPropertyDescriptor
- 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.convert.AbstractConverter
- hashCode() - Method in class com.norconex.commons.lang.encrypt.EncryptionKey
- hashCode() - Method in class com.norconex.commons.lang.event.Event
- hashCode() - Method in class com.norconex.commons.lang.exec.Retrier
- 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.file.WebFile
- hashCode() - Method in class com.norconex.commons.lang.function.Consumers
- hashCode() - Method in class com.norconex.commons.lang.function.PredicatedConsumer
- hashCode() - Method in class com.norconex.commons.lang.function.Predicates
- hashCode() - Method in class com.norconex.commons.lang.img.MutableImage
- 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.MapChangeSupport
- hashCode() - Method in class com.norconex.commons.lang.map.Properties
- hashCode() - Method in class com.norconex.commons.lang.map.PropertyMatcher
- hashCode() - Method in class com.norconex.commons.lang.net.Host
- hashCode() - Method in class com.norconex.commons.lang.net.ProxySettings
- hashCode() - Method in class com.norconex.commons.lang.security.Credentials
- hashCode() - Method in class com.norconex.commons.lang.text.Regex
- hashCode() - Method in class com.norconex.commons.lang.text.RegexFieldValueExtractor
- hashCode() - Method in class com.norconex.commons.lang.text.TextMatcher
- hashCode() - Method in class com.norconex.commons.lang.time.DurationFormatter
- hashCode() - Method in class com.norconex.commons.lang.time.DurationParser
- hashCode() - Method in class com.norconex.commons.lang.time.RBDurationUnitFormatter
- 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
- hashCode() - Method in class com.norconex.commons.lang.xml.flow.impl.PropertyMatcherCondition
- hashCode() - Method in class com.norconex.commons.lang.xml.flow.XMLFlow
- hashCode() - Method in class com.norconex.commons.lang.xml.XMLValidationError
- 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.
- HIGH - com.norconex.commons.lang.img.MutableImage.Quality
- Host - Class in com.norconex.commons.lang.net
-
Holds a host name and port.
- Host(String, int) - Constructor for class com.norconex.commons.lang.net.Host
- HOUR - com.norconex.commons.lang.time.DurationUnit
- HTML - Static variable in class com.norconex.commons.lang.file.ContentType
- HTML - Static variable in class com.norconex.commons.lang.ResourceLoader
- HTMLTaglet - Class in com.norconex.commons.lang.javadoc
-
{@nx.html} HTML beautifier with enhanced functionality.
- HTMLTaglet() - Constructor for class com.norconex.commons.lang.javadoc.HTMLTaglet
- 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(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(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.
- 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(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.
I
- ICachedStream - Interface in com.norconex.commons.lang.io
- IConverter - Interface in com.norconex.commons.lang.convert
- IDurationUnitFormatter - Interface in com.norconex.commons.lang.time
-
Formats a single duration unit according to supplied locale and plurality flag.
- IEventListener<T extends Event> - Interface in com.norconex.commons.lang.event
-
Version of
EventListener
that can be used as a lambda consumer. - 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. - ifXML(String, Consumer<XML>) - Method in class com.norconex.commons.lang.xml.XML
-
If the given expression matches an element, consume that element.
- ignoreCase() - Method in class com.norconex.commons.lang.text.Regex
- ignoreCase() - Method in class com.norconex.commons.lang.text.TextMatcher
- ignoreDiacritic() - Method in class com.norconex.commons.lang.text.Regex
-
Ignores diacritical marks when matching or replacing (e.g. accents).
- ignoreDiacritic() - Method in class com.norconex.commons.lang.text.TextMatcher
- 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(Context, String, String, String) - Method in class com.norconex.commons.lang.config.RelativeIncludeEventHandler
- IncludeTaglet - Class in com.norconex.commons.lang.javadoc
-
{@nx.include} Include text from other JavaDoc documentation found in source files.
- IncludeTaglet() - Constructor for class com.norconex.commons.lang.javadoc.IncludeTaglet
- init(DocletEnvironment, Doclet) - Method in class com.norconex.commons.lang.javadoc.AbstractInlineTaglet
- init(DocletEnvironment, Doclet) - Method in class com.norconex.commons.lang.javadoc.IncludeTaglet
- 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, int, String, IInputStreamListener...) - Constructor for class com.norconex.commons.lang.io.InputStreamConsumer
-
Constructor.
- InputStreamConsumer(InputStream, 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(String) - Constructor for class com.norconex.commons.lang.io.InputStreamLineListener
-
Creates a line listener with supplied character encoding (defaults to UTF-8 if null).
- 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).
- insertAfter(XML) - Method in class com.norconex.commons.lang.xml.XML
-
Inserts a new XML node after this one, as a sibling of a shared parent.
- insertBefore(XML) - Method in class com.norconex.commons.lang.xml.XML
-
Inserts a new XML node before this one, as a sibling of a shared parent.
- InstantConverter - Class in com.norconex.commons.lang.convert
-
Instant
converter. - InstantConverter() - Constructor for class com.norconex.commons.lang.convert.InstantConverter
- 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
- is(Event) - Method in class com.norconex.commons.lang.event.Event
- is(String...) - Method in class com.norconex.commons.lang.event.Event
- 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.
- isAbsolute() - Method in class com.norconex.commons.lang.file.WebFile
- 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.
- isAny() - Method in class com.norconex.commons.lang.function.Predicates
- 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.
- isBinary() - Method in enum com.norconex.commons.lang.unit.DataUnit
- isBinaryNotation() - Method in class com.norconex.commons.lang.unit.DataUnitFormatter
- isBitUnit() - Method in enum com.norconex.commons.lang.unit.DataUnit
- isByteUnit() - Method in enum com.norconex.commons.lang.unit.DataUnit
- 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. - isCanonEq() - Method in class com.norconex.commons.lang.text.Regex
- 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
-
Deprecated.Since 2.0.0 use
PropertyMatcher.getValueMatcher()
. - isComments() - Method in class com.norconex.commons.lang.text.Regex
- isConvertible(Class<?>) - Method in class com.norconex.commons.lang.convert.Converter
- isDecimal() - Method in enum com.norconex.commons.lang.unit.DataUnit
- isDisabled() - Method in class com.norconex.commons.lang.xml.XML
- isDisposed() - Method in class com.norconex.commons.lang.io.CachedInputStream
- isDotAll() - Method in class com.norconex.commons.lang.text.Regex
- isEmpty() - Method in class com.norconex.commons.lang.io.CachedInputStream
-
Returns
true
if this input stream is empty (zero-lenght content). - 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.security.Credentials
- isEmpty(InputStream) - Static method in class com.norconex.commons.lang.io.IOUtil
-
Gets whether the given input stream is
null
or empty. - isEmpty(Reader) - Static method in class com.norconex.commons.lang.io.IOUtil
-
Gets whether the given Reader is
null
or empty. - isEnabled() - Method in class com.norconex.commons.lang.xml.XML
- isEnabled(Logger, Level) - Static method in class com.norconex.commons.lang.SLF4JUtil
-
Gets whether the supplied log level is enabled for the given logger.
- isEndedBy(T) - Method in class com.norconex.commons.lang.CircularRange
-
Checks whether this range ends with the specified element.
- isFixedUnit() - Method in class com.norconex.commons.lang.unit.DataUnitFormatter
- isGettable(Object, String) - Static method in class com.norconex.commons.lang.bean.BeanUtil
- isIgnoreCase() - Method in class com.norconex.commons.lang.text.Regex
- isIgnoreCase() - Method in class com.norconex.commons.lang.text.TextMatcher
- isIgnoreDiacritic() - Method in class com.norconex.commons.lang.text.Regex
- isIgnoreDiacritic() - Method in class com.norconex.commons.lang.text.TextMatcher
- isInlineTag() - Method in class com.norconex.commons.lang.javadoc.AbstractInlineTaglet
- isInlineTag() - Method in class com.norconex.commons.lang.javadoc.IncludeTaglet
- 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.
- isJAXB(Object) - Static method in class com.norconex.commons.lang.xml.XML
- isLiteral() - Method in class com.norconex.commons.lang.text.Regex
- isLocked() - Method in class com.norconex.commons.lang.file.FileLocker
-
Gets whether the file is locked.
- isMultiline() - Method in class com.norconex.commons.lang.text.Regex
- 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.
- isPartial() - Method in class com.norconex.commons.lang.text.TextMatcher
- isPortDefault() - Method in class com.norconex.commons.lang.url.HttpURL
-
Whether this URL uses the default port for the protocol.
- isReplaceAll() - Method in class com.norconex.commons.lang.text.TextMatcher
- 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. https).
- isSet() - Method in class com.norconex.commons.lang.net.Host
- isSet() - Method in class com.norconex.commons.lang.net.ProxySettings
- isSet() - Method in class com.norconex.commons.lang.security.Credentials
- isSettable(Object, String) - Static method in class com.norconex.commons.lang.bean.BeanUtil
- isStacktraceLoggingDisabled() - Method in class com.norconex.commons.lang.event.EventManager
- isStartedBy(T) - Method in class com.norconex.commons.lang.CircularRange
-
Checks whether this range starts with the specified element.
- isTrusted(String, int, KeyStore) - Static method in class com.norconex.commons.lang.security.CertificateUtil
-
Gets whether a host is trusted by the given key store.
- isUnicodeCase() - Method in class com.norconex.commons.lang.text.Regex
- isUnicodeCharacterClass() - Method in class com.norconex.commons.lang.text.Regex
- isUnixLines() - Method in class com.norconex.commons.lang.text.Regex
- isVersionGreaterThan(JarFile) - Method in class com.norconex.commons.lang.jar.JarFile
- isXMLConfigurable(Object) - Static method in class com.norconex.commons.lang.xml.XML
- item(int) - Method in class com.norconex.commons.lang.xml.NodeArrayList
- iterator() - Method in class com.norconex.commons.lang.file.WebFile
- iterator() - Method in class com.norconex.commons.lang.xml.XML
- iterator(Object) - Static method in class com.norconex.commons.lang.xml.XML
- IXMLConfigurable - Interface in com.norconex.commons.lang.config
-
Deprecated.Since 2.0.0, use
IXMLConfigurable
. - IXMLConfigurable - Interface in com.norconex.commons.lang.xml
-
Provides indications that a class is configurable via XML.
- IXMLFlowConsumerAdapter<T> - Interface in com.norconex.commons.lang.xml.flow
-
Adapts flow consuming elements so they can be treated as
Consumer
. - IXMLFlowPredicateAdapter<T> - Interface in com.norconex.commons.lang.xml.flow
-
Adapts flow <condition> elements so they can be treated as
Predicate
.
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
- join(String, List<?>) - Method in class com.norconex.commons.lang.xml.XML
- JPEG - Static variable in class com.norconex.commons.lang.file.ContentType
- JSON - Static variable in class com.norconex.commons.lang.ResourceLoader
- JSONTaglet - Class in com.norconex.commons.lang.javadoc
-
{@nx.json} JSON beautifier with enhanced functionality making it easy to integrate into JavaDoc.
- JSONTaglet() - Constructor for class com.norconex.commons.lang.javadoc.JSONTaglet
K
- KB - com.norconex.commons.lang.unit.DataUnit
- KBIT - com.norconex.commons.lang.unit.DataUnit
- KEY - com.norconex.commons.lang.encrypt.EncryptionKey.Source
-
Value is the actual key.
- keySet() - Method in class com.norconex.commons.lang.map.ObservableMap
- KeyStoreBuilder - Class in com.norconex.commons.lang.security
-
Builder for creating a KeyStore.
- KIB - com.norconex.commons.lang.unit.DataUnit
- KIBIT - com.norconex.commons.lang.unit.DataUnit
L
- largerThan(int, int) - Method in class com.norconex.commons.lang.img.MutableImage
- largerThan(MutableImage) - Method in class com.norconex.commons.lang.img.MutableImage
- largerThan(Dimension) - Method in class com.norconex.commons.lang.img.MutableImage
- largest(MutableImage) - Method in class com.norconex.commons.lang.img.MutableImage
- 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.
- linux(T) - Method in class com.norconex.commons.lang.OSResource
- literal() - Method in class com.norconex.commons.lang.text.Regex
- load(InputStream) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
loadFromProperties(...)
- load(InputStream, String) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
loadFromProperties(...)
- load(InputStream, String, String) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
loadFromProperties(...)
- load(Reader) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
loadFromProperties(...)
- load(Reader, String) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
loadFromProperties(...)
- loadFromBean(Object) - Method in class com.norconex.commons.lang.map.Properties
-
Converts all the bean properties into entries in this instance.
- 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.
- loadFromMap(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
. - loadFromProperties(InputStream) - Method in class com.norconex.commons.lang.map.Properties
-
Loads this
Map
from an input of a format compatible withProperties.load(InputStream)
. - loadFromProperties(InputStream, String) - Method in class com.norconex.commons.lang.map.Properties
-
Loads this
Map
from an input of a format compatible withProperties.load(InputStream)
. - loadFromProperties(Reader) - Method in class com.norconex.commons.lang.map.Properties
-
Loads this
Map
from an input of a format compatible withProperties.load(Reader)
. - loadFromProperties(Reader, String) - Method in class com.norconex.commons.lang.map.Properties
-
Loads this
Map
from an input of a format compatible withProperties.load(Reader)
. - loadFromXML(XML) - Method in interface com.norconex.commons.lang.config.IXMLConfigurable
-
Deprecated.Load XML configuration values and initialized this object with them.
- loadFromXML(XML) - Static method in class com.norconex.commons.lang.map.PropertyMatcher
- loadFromXML(XML) - Method in class com.norconex.commons.lang.net.ProxySettings
- loadFromXML(XML) - Method in class com.norconex.commons.lang.security.Credentials
- loadFromXML(XML) - Method in class com.norconex.commons.lang.text.Regex
- loadFromXML(XML) - Method in class com.norconex.commons.lang.text.RegexFieldValueExtractor
- loadFromXML(XML) - Method in class com.norconex.commons.lang.text.TextMatcher
- loadFromXML(XML) - Method in class com.norconex.commons.lang.xml.flow.impl.PropertyMatcherCondition
- loadFromXML(XML) - Method in interface com.norconex.commons.lang.xml.IXMLConfigurable
-
Load XML configuration values and initialized this object with them.
- loadFromXML(XML, EncryptionKey) - Static method in class com.norconex.commons.lang.encrypt.EncryptionKey
-
Gets an encryption key from an existing XML.
- loadFromXML(XML, Host) - Static method in class com.norconex.commons.lang.net.Host
-
Gets a host from an existing XML.
- loadFromXML(XML, String, EncryptionKey) - Static method in class com.norconex.commons.lang.encrypt.EncryptionXMLUtil
-
Deprecated.Convenience method for loading an encryption key from an
XML
. - loadFromXML(InputStream) - Method in class com.norconex.commons.lang.map.Properties
-
Loads this
Map
from an input of a format compatible withProperties.loadFromXML(InputStream)
. - loadFromXML(InputStream, String) - Method in class com.norconex.commons.lang.map.Properties
-
Loads this
Map
from an input of a format compatible withProperties.load(InputStream)
. - loadFromXML(Reader) - Method in interface com.norconex.commons.lang.config.IXMLConfigurable
-
Deprecated.
- loadFromXML(Reader) - Method in class com.norconex.commons.lang.map.Properties
-
Loads this
Map
from an input of a format compatible withProperties.loadFromXML(InputStream)
. - loadFromXML(Reader, String) - Method in class com.norconex.commons.lang.map.Properties
-
Loads this
Map
from an input of a format compatible withProperties.load(InputStream)
. - loadFromXML(Reader, String, EncryptionKey) - Static method in class com.norconex.commons.lang.encrypt.EncryptionXMLUtil
-
Deprecated.Convenience method for loading an encryption key from an XML reader.
- loadFromXML(Path) - Method in class com.norconex.commons.lang.config.ConfigurationLoader
-
Loads an XML configuration file and populates a new object represented by the given "class" attribute found on XML root element.
- loadFromXML(Path, Class<T>) - Method in class com.norconex.commons.lang.config.ConfigurationLoader
-
Loads an XML configuration file and populates a new object represented by the given class.
- loadFromXML(Path, Class<T>, ErrorHandler) - Method in class com.norconex.commons.lang.config.ConfigurationLoader
-
Loads an XML configuration file and populates a new object represented by the given class.
- loadFromXML(Path, Object) - Method in class com.norconex.commons.lang.config.ConfigurationLoader
-
Loads an XML configuration file and populates a given object.
- loadFromXML(Path, Object, ErrorHandler) - Method in class com.norconex.commons.lang.config.ConfigurationLoader
-
Loads an XML configuration file and populates a given object.
- loadFromXML(Path, ErrorHandler) - Method in class com.norconex.commons.lang.config.ConfigurationLoader
-
Loads an XML configuration file and populates a new object represented by the given "class" attribute found on XML root element.
- loadString(Path) - Method in class com.norconex.commons.lang.config.ConfigurationLoader
-
Loads a configuration file as a string.
- loadXML(Path) - Method in class com.norconex.commons.lang.config.ConfigurationLoader
-
Loads an XML configuration file.
- loadXML(Path, ErrorHandler) - Method in class com.norconex.commons.lang.config.ConfigurationLoader
-
Loads an XML configuration file.
- LocalDateTimeConverter - Class in com.norconex.commons.lang.convert
-
LocalDateTime
converter. - LocalDateTimeConverter() - Constructor for class com.norconex.commons.lang.convert.LocalDateTimeConverter
- LocaleConverter - Class in com.norconex.commons.lang.convert
-
Locale
converter. - LocaleConverter() - Constructor for class com.norconex.commons.lang.convert.LocaleConverter
- lock() - Method in class com.norconex.commons.lang.file.FileLocker
-
Locks the unlocked file.
- lock(boolean) - Method in class com.norconex.commons.lang.file.FileLocker
-
Locks the unlocked file.
- log(Event, Level) - Method in class com.norconex.commons.lang.event.EventManager
- log(Logger, String, String, Object...) - Static method in class com.norconex.commons.lang.SLF4JUtil
-
Logs a message with a dynamically set SLF4J log
Level
. - log(Logger, Level, String, Object...) - Static method in class com.norconex.commons.lang.SLF4JUtil
-
Logs a message with a dynamically set SLF4J log
Level
. - LOW - com.norconex.commons.lang.img.MutableImage.Quality
- LOWER_EQUAL - com.norconex.commons.lang.Operator
- LOWER_THAN - com.norconex.commons.lang.Operator
- 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
- mac(T) - Method in class com.norconex.commons.lang.OSResource
- 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
- MapUtil - Class in com.norconex.commons.lang.map
-
Map-related utility methods.
- 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. - match(Properties) - Method in class com.norconex.commons.lang.map.PropertyMatcher
-
Returns matching field/values in the given
Properties
. - match(Properties) - Method in class com.norconex.commons.lang.map.PropertyMatchers
-
Returns a new instance that is a subset of the given properties, containing only keys and matching values.
- match(PropertyMatcher) - Method in class com.norconex.commons.lang.map.Properties
-
Gets a properties subset for keys and values matched by the property matcher.
- match(TextMatcher, TextMatcher) - Method in class com.norconex.commons.lang.map.Properties
-
Gets a properties subset for matching keys and values.
- matcher(CharSequence) - Method in class com.norconex.commons.lang.text.Regex
-
Matches the previously set pattern against the given text.
- matcher(String, CharSequence) - Method in class com.norconex.commons.lang.text.Regex
-
Matches the the given pattern against the given text without assigning the pattern to this object.
- matches(Properties) - Method in class com.norconex.commons.lang.map.PropertyMatcher
-
Tests whether this property valueMatcher matches at least one value for the key in the given
Properties
. - matches(Properties) - Method in class com.norconex.commons.lang.map.PropertyMatchers
-
Returns
true
if any of the properties key and values match any of the property matchers. - matches(CharSequence) - Method in class com.norconex.commons.lang.text.TextMatcher
-
Matches this class pattern against its text.
- matches(String) - Method in class com.norconex.commons.lang.file.ContentType
-
Whether the given string matches this content type.
- matchKeys(TextMatcher) - Method in class com.norconex.commons.lang.map.Properties
-
Gets a properties subset for keys matched by the key matcher.
- matchValues(TextMatcher) - Method in class com.norconex.commons.lang.map.Properties
-
Gets a properties subset for values matched by the value matcher.
- MAX - com.norconex.commons.lang.img.MutableImage.Quality
- maxLineLength(int) - Method in class com.norconex.commons.lang.xml.XMLFormatter.Builder
-
Maximum length a line can have before wrapping is performed.
- MB - com.norconex.commons.lang.unit.DataUnit
- MBIT - com.norconex.commons.lang.unit.DataUnit
- MEDIUM - com.norconex.commons.lang.img.MutableImage.Quality
- MemoryTracker() - Constructor for class com.norconex.commons.lang.io.CachedStreamFactory.MemoryTracker
- MemoryUtil - Class in com.norconex.commons.lang
-
Memory-related utility methods.
- message(String) - Method in class com.norconex.commons.lang.event.Event.Builder
- MIB - com.norconex.commons.lang.unit.DataUnit
- MIBIT - com.norconex.commons.lang.unit.DataUnit
- MILLISECOND - com.norconex.commons.lang.time.DurationUnit
- minTextLength(int) - Method in class com.norconex.commons.lang.xml.XMLFormatter.Builder
-
Minimum length for text on any line before text can be wrapped.
- MINUTE - com.norconex.commons.lang.time.DurationUnit
- MONTH - com.norconex.commons.lang.time.DurationUnit
- 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.
- multiline() - Method in class com.norconex.commons.lang.text.Regex
- MutableImage - Class in com.norconex.commons.lang.img
-
Holds an image in memory and offers simple ways to do common operations.
- MutableImage(Image) - Constructor for class com.norconex.commons.lang.img.MutableImage
- MutableImage(InputStream) - Constructor for class com.norconex.commons.lang.img.MutableImage
- MutableImage(Path) - Constructor for class com.norconex.commons.lang.img.MutableImage
- MutableImage.Quality - Enum in com.norconex.commons.lang.img
N
- NAME - Static variable in class com.norconex.commons.lang.javadoc.BlockTaglet
- NAME - Static variable in class com.norconex.commons.lang.javadoc.HTMLTaglet
- NAME - Static variable in class com.norconex.commons.lang.javadoc.IncludeTaglet
- NAME - Static variable in class com.norconex.commons.lang.javadoc.JSONTaglet
- NAME - Static variable in class com.norconex.commons.lang.javadoc.XMLExampleTaglet
- NAME - Static variable in class com.norconex.commons.lang.javadoc.XMLTaglet
- NAME - Static variable in class com.norconex.commons.lang.javadoc.XMLUsageTaglet
- newInputStream() - Method in class com.norconex.commons.lang.io.CachedStreamFactory
-
Creates an empty input stream.
- newInputStream(File) - Method in class com.norconex.commons.lang.io.CachedStreamFactory
- 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(InputStream) - Method in class com.norconex.commons.lang.io.CachedStreamFactory
- newInputStream(String) - Method in class com.norconex.commons.lang.io.CachedStreamFactory
-
Creates a new input stream, assuming UTF-8 content.
- newInputStream(Path) - 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(Path) - Method in class com.norconex.commons.lang.io.CachedStreamFactory
-
Creates a new cached input stream.
- newOuputStream() - Method in class com.norconex.commons.lang.io.CachedOutputStream
- newOuputStream() - Method in class com.norconex.commons.lang.io.CachedStreamFactory
- newOuputStream(OutputStream) - Method in class com.norconex.commons.lang.io.CachedOutputStream
- newOuputStream(OutputStream) - Method in class com.norconex.commons.lang.io.CachedStreamFactory
- newXPath() - Static method in class com.norconex.commons.lang.xml.XML
- newXPathExpression(String) - Static method in class com.norconex.commons.lang.xml.XML
- next() - Method in class com.norconex.commons.lang.collection.CountingIterator
- next() - Static method in class com.norconex.commons.lang.TimeIdGenerator
-
Generates a new number unique within this JVM.
- NodeArrayList - Class in com.norconex.commons.lang.xml
- NodeArrayList(Node) - Constructor for class com.norconex.commons.lang.xml.NodeArrayList
-
Creates a node ArrayList from the given Node children.
- NodeArrayList(NodeList) - Constructor for class com.norconex.commons.lang.xml.NodeArrayList
-
Creates a node ArrayList from the given NodeList.
- NONE - com.norconex.commons.lang.xml.XMLFormatter.Builder.AttributeWrap
-
Never wrap attributes (ignoring
XMLFormatter.Builder.maxLineLength(int)
). - normalize() - Method in class com.norconex.commons.lang.file.WebFile
- nullSafeToString(Object) - Method in class com.norconex.commons.lang.convert.AbstractConverter
- nullSafeToString(Object) - Method in class com.norconex.commons.lang.convert.BooleanConverter
- nullSafeToString(Object) - Method in class com.norconex.commons.lang.convert.CharacterConverter
- nullSafeToString(Object) - Method in class com.norconex.commons.lang.convert.CharsetConverter
- nullSafeToString(Object) - Method in class com.norconex.commons.lang.convert.ClassConverter
- nullSafeToString(Object) - Method in class com.norconex.commons.lang.convert.ContentTypeConverter
- nullSafeToString(Object) - Method in class com.norconex.commons.lang.convert.DateConverter
- nullSafeToString(Object) - Method in class com.norconex.commons.lang.convert.DimensionConverter
- nullSafeToString(Object) - Method in class com.norconex.commons.lang.convert.DurationConverter
- nullSafeToString(Object) - Method in class com.norconex.commons.lang.convert.EnumConverter
- nullSafeToString(Object) - Method in class com.norconex.commons.lang.convert.FileConverter
- nullSafeToString(Object) - Method in class com.norconex.commons.lang.convert.InstantConverter
- nullSafeToString(Object) - Method in class com.norconex.commons.lang.convert.LocalDateTimeConverter
- nullSafeToString(Object) - Method in class com.norconex.commons.lang.convert.LocaleConverter
- nullSafeToString(Object) - Method in class com.norconex.commons.lang.convert.NumberConverter
- nullSafeToString(Object) - Method in class com.norconex.commons.lang.convert.StringConverter
- nullSafeToString(Object) - Method in class com.norconex.commons.lang.convert.URLConverter
- nullSafeToString(Object) - Method in class com.norconex.commons.lang.convert.ZonedDateTimeConverter
- nullSafeToType(String, Class<T>) - Method in class com.norconex.commons.lang.convert.AbstractConverter
- nullSafeToType(String, Class<T>) - Method in class com.norconex.commons.lang.convert.BooleanConverter
- nullSafeToType(String, Class<T>) - Method in class com.norconex.commons.lang.convert.CharacterConverter
- nullSafeToType(String, Class<T>) - Method in class com.norconex.commons.lang.convert.CharsetConverter
- nullSafeToType(String, Class<T>) - Method in class com.norconex.commons.lang.convert.ClassConverter
- nullSafeToType(String, Class<T>) - Method in class com.norconex.commons.lang.convert.ContentTypeConverter
- nullSafeToType(String, Class<T>) - Method in class com.norconex.commons.lang.convert.DateConverter
- nullSafeToType(String, Class<T>) - Method in class com.norconex.commons.lang.convert.DimensionConverter
- nullSafeToType(String, Class<T>) - Method in class com.norconex.commons.lang.convert.DurationConverter
- nullSafeToType(String, Class<T>) - Method in class com.norconex.commons.lang.convert.EnumConverter
- nullSafeToType(String, Class<T>) - Method in class com.norconex.commons.lang.convert.FileConverter
- nullSafeToType(String, Class<T>) - Method in class com.norconex.commons.lang.convert.InstantConverter
- nullSafeToType(String, Class<T>) - Method in class com.norconex.commons.lang.convert.LocalDateTimeConverter
- nullSafeToType(String, Class<T>) - Method in class com.norconex.commons.lang.convert.LocaleConverter
- nullSafeToType(String, Class<T>) - Method in class com.norconex.commons.lang.convert.NumberConverter
- nullSafeToType(String, Class<T>) - Method in class com.norconex.commons.lang.convert.StringConverter
- nullSafeToType(String, Class<T>) - Method in class com.norconex.commons.lang.convert.URLConverter
- nullSafeToType(String, Class<T>) - Method in class com.norconex.commons.lang.convert.ZonedDateTimeConverter
- nullsToEmpties(Collection<String>) - Static method in class com.norconex.commons.lang.collection.CollectionUtil
-
Convert
null
entries to empty strings. - NumberConverter - Class in com.norconex.commons.lang.convert
-
Number conversion.
- NumberConverter() - Constructor for class com.norconex.commons.lang.convert.NumberConverter
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
. - of(DocTree) - Static method in class com.norconex.commons.lang.javadoc.TagContent
- of(File) - Static method in class com.norconex.commons.lang.xml.XML
- of(InputStream) - Static method in class com.norconex.commons.lang.xml.XML
- of(Reader) - Static method in class com.norconex.commons.lang.xml.XML
- of(String) - Static method in enum com.norconex.commons.lang.Operator
- of(String) - Static method in class com.norconex.commons.lang.xml.XML
- of(String, Object) - Static method in class com.norconex.commons.lang.xml.XML
- of(Path) - Static method in class com.norconex.commons.lang.xml.XML
- of(List<? extends DocTree>) - Static method in class com.norconex.commons.lang.javadoc.TagContent
- of(Node) - Static method in class com.norconex.commons.lang.xml.XML
- 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.
- Operator - Enum in com.norconex.commons.lang
-
Operators used by a few conditions based on comparable values (e.g., numbers, dates, etc.).
- OPTIONAL - com.norconex.commons.lang.map.PropertySetter
- orAppend(PropertySetter) - Static method in enum com.norconex.commons.lang.map.PropertySetter
- orOptional(PropertySetter) - Static method in enum com.norconex.commons.lang.map.PropertySetter
- orPrepend(PropertySetter) - Static method in enum com.norconex.commons.lang.map.PropertySetter
- orReplace(PropertySetter) - Static method in enum com.norconex.commons.lang.map.PropertySetter
- OSResource<T> - Class in com.norconex.commons.lang
-
Provides an abstraction over operating-system specific resources (e.g. paths).
- OSResource() - Constructor for class com.norconex.commons.lang.OSResource
P
- parse(XML) - Method in class com.norconex.commons.lang.xml.flow.XMLFlow
- parse(String) - Method in class com.norconex.commons.lang.time.DurationParser
-
Parses a text representation of a duration.
- parse(String) - Static method in class com.norconex.commons.lang.unit.DataUnitParser
-
Parses a text representation of a data measurement and returns the number of bytes it represents.
- parse(String, DataUnit) - Static method in class com.norconex.commons.lang.unit.DataUnitParser
-
Parses a text representation of a data measurement.
- parse(String, DataUnit, BigDecimal) - Static method in class com.norconex.commons.lang.unit.DataUnitParser
-
Parses a text representation of a data measurement.
- parse(String, BigDecimal) - Static method in class com.norconex.commons.lang.unit.DataUnitParser
-
Parses a text representation of a data measurement.
- parse(String, Duration) - Method in class com.norconex.commons.lang.time.DurationParser
-
Parses a text representation of a duration.
- parseToMillis(String) - Method in class com.norconex.commons.lang.time.DurationParser
-
Parses a text representation of a duration.
- parseToMillis(String, long) - Method in class com.norconex.commons.lang.time.DurationParser
-
Parses a text representation of a duration.
- parseXML(String, Function<XML, T>) - Method in class com.norconex.commons.lang.xml.XML
- parseXML(String, Function<XML, T>, T) - Method in class com.norconex.commons.lang.xml.XML
- parseXMLList(String, Function<XML, T>) - Method in class com.norconex.commons.lang.xml.XML
- parseXMLList(String, Function<XML, T>, List<T>) - Method in class com.norconex.commons.lang.xml.XML
- parseXMLMap(String, Function<XML, Map.Entry<K, V>>) - Method in class com.norconex.commons.lang.xml.XML
- parseXMLMap(String, Function<XML, Map.Entry<K, V>>, Map<K, V>) - Method in class com.norconex.commons.lang.xml.XML
- partial() - Method in class com.norconex.commons.lang.text.TextMatcher
- PB - com.norconex.commons.lang.unit.DataUnit
- PBIT - com.norconex.commons.lang.unit.DataUnit
- 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.
- PIB - com.norconex.commons.lang.unit.DataUnit
- PIBIT - com.norconex.commons.lang.unit.DataUnit
- 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(String, Throwable) - Constructor for exception com.norconex.commons.lang.pipeline.PipelineException
- PipelineException(Throwable) - Constructor for exception com.norconex.commons.lang.pipeline.PipelineException
- PNG - Static variable in class com.norconex.commons.lang.file.ContentType
- populate(Object) - Method in class com.norconex.commons.lang.xml.XML
-
Populates supplied object with this XML.
- populate(Object, String) - Method in class com.norconex.commons.lang.xml.XML
-
Populates supplied object with the XML matching the given expression.
- predicatedConsumer(Predicate<T>, Consumer<T>) - Static method in class com.norconex.commons.lang.function.FunctionUtil
- PredicatedConsumer<T> - Class in com.norconex.commons.lang.function
-
A
Consumer
that only gets triggered if a given predicate istrue
. - PredicatedConsumer(Predicate<T>, Consumer<T>) - Constructor for class com.norconex.commons.lang.function.PredicatedConsumer
- PredicatedConsumer(Predicate<T>, Consumer<T>, boolean) - Constructor for class com.norconex.commons.lang.function.PredicatedConsumer
- Predicates<T> - Class in com.norconex.commons.lang.function
-
A list of
Predicate
instances, matched as a group. - Predicates() - Constructor for class com.norconex.commons.lang.function.Predicates
- Predicates(boolean) - Constructor for class com.norconex.commons.lang.function.Predicates
- Predicates(int) - Constructor for class com.norconex.commons.lang.function.Predicates
- Predicates(int, boolean) - Constructor for class com.norconex.commons.lang.function.Predicates
- Predicates(Collection<Predicate<T>>) - Constructor for class com.norconex.commons.lang.function.Predicates
- Predicates(Collection<Predicate<T>>, boolean) - Constructor for class com.norconex.commons.lang.function.Predicates
- PREPEND - com.norconex.commons.lang.map.PropertySetter
- preserveTextIndent() - Method in class com.norconex.commons.lang.xml.XMLFormatter.Builder
-
Preserves indentation found in element or comment text.
- 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 aProperties
. - Properties(Map<String, List<String>>, boolean) - Constructor for class com.norconex.commons.lang.map.Properties
-
Decorates a
Map
argument as aProperties
. - PropertiesException - Exception in com.norconex.commons.lang.map
-
Properties
exception. - PropertiesException(String) - Constructor for exception com.norconex.commons.lang.map.PropertiesException
- PropertiesException(String, Throwable) - Constructor for exception com.norconex.commons.lang.map.PropertiesException
- PropertiesException(Throwable) - Constructor for exception com.norconex.commons.lang.map.PropertiesException
- PROPERTY - com.norconex.commons.lang.encrypt.EncryptionKey.Source
-
Value is the name of a JVM system property containing the key.
- PropertyMatcher - Class in com.norconex.commons.lang.map
-
Convenient way of matching values and/or fields (key) in a given
Properties
. - PropertyMatcher(TextMatcher) - Constructor for class com.norconex.commons.lang.map.PropertyMatcher
-
A property matcher matching empty or
null
elements. - PropertyMatcher(TextMatcher, TextMatcher) - Constructor for class com.norconex.commons.lang.map.PropertyMatcher
-
Constructor.
- PropertyMatcher(String) - Constructor for class com.norconex.commons.lang.map.PropertyMatcher
-
Deprecated.Since 2.0.0 use
PropertyMatcher(TextMatcher, TextMatcher)
. - PropertyMatcher(String, String, boolean) - Constructor for class com.norconex.commons.lang.map.PropertyMatcher
-
Deprecated.Since 2.0.0 use
PropertyMatcher(TextMatcher, TextMatcher)
. - PropertyMatcherCondition - Class in com.norconex.commons.lang.xml.flow.impl
-
A simple XML condition matching
Properties
keys and values. - PropertyMatcherCondition() - Constructor for class com.norconex.commons.lang.xml.flow.impl.PropertyMatcherCondition
- PropertyMatchers - Class in com.norconex.commons.lang.map
-
Holds a collection of
PropertyMatcher
to perform tests/replace on all of them at once. - PropertyMatchers() - Constructor for class com.norconex.commons.lang.map.PropertyMatchers
- PropertySetter - Enum in com.norconex.commons.lang.map
-
Convenient way of handling the different ways a value (or values) can be set on a
Properties
instance. - 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(Host) - Constructor for class com.norconex.commons.lang.net.ProxySettings
- ProxySettings(String, int) - Constructor for class com.norconex.commons.lang.net.ProxySettings
- put(String, List<String>) - Method in class com.norconex.commons.lang.map.Properties
- put(K, 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
- putAll(Map<? extends K, ? extends V>) - Method in class com.norconex.commons.lang.map.ObservableMap
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(String) - Constructor for class com.norconex.commons.lang.url.QueryString
-
Constructor.
- QueryString(String, String) - 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.
R
- RBDurationUnitFormatter - Class in com.norconex.commons.lang.time
-
Use localized properties files (
ResourceBundle
) to get the string representation of duration unit. - RBDurationUnitFormatter(String) - Constructor for class com.norconex.commons.lang.time.RBDurationUnitFormatter
- RBDurationUnitFormatter(String, ClassLoader) - Constructor for class com.norconex.commons.lang.time.RBDurationUnitFormatter
- read() - Method in class com.norconex.commons.lang.io.ByteBufferInputStream
- read() - 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(byte[], int, int) - Method in class com.norconex.commons.lang.io.ByteBufferInputStream
- read(byte[], int, int) - Method in class com.norconex.commons.lang.io.CachedInputStream
- read(char[], int, int) - Method in class com.norconex.commons.lang.io.TextReader
- readAsDOM() - Method in class com.norconex.commons.lang.xml.XMLCursor
- readAsXML() - Method in class com.norconex.commons.lang.xml.XMLCursor
- readText() - Method in class com.norconex.commons.lang.io.TextReader
-
Reads the next chunk of text, up to the maximum read size specified.
- readText() - Method in class com.norconex.commons.lang.xml.XMLCursor
- referenceInsert(Context, String, Object) - Method in class com.norconex.commons.lang.config.ExtendedReferenceInsertionEventHandler
- regex(String) - Static method in class com.norconex.commons.lang.text.TextMatcher
-
Creates a new text matcher initialized with regular expression matching.
- Regex - Class in com.norconex.commons.lang.text
-
Builder and utility methods making it easier to construct and use regular expressions.
- Regex() - Constructor for class com.norconex.commons.lang.text.Regex
- Regex(String) - Constructor for class com.norconex.commons.lang.text.Regex
- Regex(String, int...) - Constructor for class com.norconex.commons.lang.text.Regex
- REGEX - com.norconex.commons.lang.text.TextMatcher.Method
- RegexFieldValueExtractor - Class in com.norconex.commons.lang.text
-
Simplify extraction of field/value pairs (or "key/value") from text using regular expression.
- RegexFieldValueExtractor() - Constructor for class com.norconex.commons.lang.text.RegexFieldValueExtractor
- RegexFieldValueExtractor(Regex) - Constructor for class com.norconex.commons.lang.text.RegexFieldValueExtractor
- RegexFieldValueExtractor(Regex, int, int) - Constructor for class com.norconex.commons.lang.text.RegexFieldValueExtractor
- RegexFieldValueExtractor(Regex, String) - Constructor for class com.norconex.commons.lang.text.RegexFieldValueExtractor
- RegexFieldValueExtractor(Regex, String, int) - Constructor for class com.norconex.commons.lang.text.RegexFieldValueExtractor
- RegexFieldValueExtractor(String) - Constructor for class com.norconex.commons.lang.text.RegexFieldValueExtractor
- RegexFieldValueExtractor(String, int, int) - Constructor for class com.norconex.commons.lang.text.RegexFieldValueExtractor
- RegexFieldValueExtractor(String, String) - Constructor for class com.norconex.commons.lang.text.RegexFieldValueExtractor
- RegexFieldValueExtractor(String, String, int) - Constructor for class com.norconex.commons.lang.text.RegexFieldValueExtractor
- 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.
- register(WatchService, WatchEvent.Kind<?>...) - Method in class com.norconex.commons.lang.file.WebFile
- register(WatchService, WatchEvent.Kind<?>[], WatchEvent.Modifier...) - Method in class com.norconex.commons.lang.file.WebFile
- 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
- relativize(Path) - Method in class com.norconex.commons.lang.file.WebFile
- remove() - Method in class com.norconex.commons.lang.xml.XML
-
Removes itself from its XML parent (if any).
- remove(Object) - Method in class com.norconex.commons.lang.map.ObservableMap
- remove(Object) - Method in class com.norconex.commons.lang.map.Properties
- remove(String) - Method in class com.norconex.commons.lang.map.PropertyMatchers
-
Removes all matchers for a given field.
- removeAttribute(String) - Method in class com.norconex.commons.lang.xml.XML
-
Removes an attribute on this XML element.
- removeBlanks(Collection<String>) - Static method in class com.norconex.commons.lang.collection.CollectionUtil
-
Removes blank strings in the given collection.
- 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.
- removeEldestEntry(Map.Entry<K, V>) - Method in class com.norconex.commons.lang.map.FifoMap
- removeElement(String) - Method in class com.norconex.commons.lang.xml.XML
-
Removes an element from this XML.
- removeEmpties(Collection<String>) - Static method in class com.norconex.commons.lang.collection.CollectionUtil
-
Removes empty strings in the given collection.
- 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, File) - Method in class com.norconex.commons.lang.file.FileMonitor
-
Remove the listener from the notification list.
- removeFileChangeListener(IFileChangeListener, String) - 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 first "#" character encountered to the end of the URL).
- removeListener(IEventListener<Event>) - Method in class com.norconex.commons.lang.event.EventManager
- removeListeners(Collection<IEventListener<Event>>) - Method in class com.norconex.commons.lang.event.EventManager
- 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.
- removeNulls(Collection<?>) - Static method in class com.norconex.commons.lang.collection.CollectionUtil
-
Removes
null
entries in the given collection. - 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 "?"
- removeSessionIds() - Method in class com.norconex.commons.lang.url.URLNormalizer
-
Removes a URL-based session id.
- removeTrailingFragment() - Method in class com.norconex.commons.lang.url.URLNormalizer
-
Removes the URL fragment like
URLNormalizer.removeFragment()
, but only if it is found after the last URL segment (/...). - 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.
- rename(String) - Method in class com.norconex.commons.lang.xml.XML
-
Rename this XML (element tag name).
- replace(Properties, String) - Method in class com.norconex.commons.lang.map.PropertyMatcher
-
Replaces all matching values for the key in the given
Properties
with the given replacement. - replace(Properties, String) - Method in class com.norconex.commons.lang.map.PropertyMatchers
-
Returns properties that were replaced (or empty).
- replace(XML) - Method in class com.norconex.commons.lang.xml.XML
-
Replaces the current XML with the provided one.
- replace(String, String) - Method in class com.norconex.commons.lang.text.TextMatcher
-
Replaces this class matching text with replacement value.
- REPLACE - com.norconex.commons.lang.map.PropertySetter
- replaceAll() - Method in class com.norconex.commons.lang.text.TextMatcher
- replaceAll(Collection<T>, T, T) - Static method in class com.norconex.commons.lang.collection.CollectionUtil
-
Replaces all elements matching the source value with the target value.
- 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.
- resolve() - Method in class com.norconex.commons.lang.encrypt.EncryptionKey
-
Locate the key according to its value type and return it.
- resolve(String) - Method in class com.norconex.commons.lang.file.WebFile
- resolve(Path) - Method in class com.norconex.commons.lang.file.WebFile
- resolveResource(String, String, String, String, String) - Method in class com.norconex.commons.lang.xml.ClasspathResourceResolver
- resolveSibling(String) - Method in class com.norconex.commons.lang.file.WebFile
- resolveSibling(Path) - Method in class com.norconex.commons.lang.file.WebFile
- 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 aIRetriable
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 tomaxRetries
). - 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 tomaxRetries
). - 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. - reverseOrdinal() - Method in enum com.norconex.commons.lang.time.DurationUnit
-
Gets ordinal value in reverse order.
- reverseValues() - Static method in enum com.norconex.commons.lang.time.DurationUnit
-
Returns all units from the highest (year), to the smallest (milliseconds).
- rewind() - Method in class com.norconex.commons.lang.io.CachedInputStream
-
Rewinds this stream so it can be read again from the beginning.
- rotate(double) - Method in class com.norconex.commons.lang.img.MutableImage
- rotateLeft() - Method in class com.norconex.commons.lang.img.MutableImage
- rotateRight() - Method in class com.norconex.commons.lang.img.MutableImage
- run() - Method in class com.norconex.commons.lang.io.InputStreamConsumer
- runWithProperty(String, String, Runnable) - Static method in class com.norconex.commons.lang.SystemUtil
-
Executes the supplied
Runnable
after setting the system property and then resets that system property.
S
- saveToXML(EnhancedXMLStreamWriter, String, EncryptionKey) - Static method in class com.norconex.commons.lang.encrypt.EncryptionXMLUtil
-
Deprecated.Convenience method for saving an encryption key to an
XMLStreamWriter
. - saveToXML(XML) - Method in interface com.norconex.commons.lang.config.IXMLConfigurable
-
Deprecated.Saves this object as XML.
- saveToXML(XML) - Method in class com.norconex.commons.lang.net.ProxySettings
- saveToXML(XML) - Method in class com.norconex.commons.lang.security.Credentials
- saveToXML(XML) - Method in class com.norconex.commons.lang.text.Regex
- saveToXML(XML) - Method in class com.norconex.commons.lang.text.RegexFieldValueExtractor
- saveToXML(XML) - Method in class com.norconex.commons.lang.text.TextMatcher
- saveToXML(XML) - Method in class com.norconex.commons.lang.xml.flow.impl.PropertyMatcherCondition
- saveToXML(XML) - Method in interface com.norconex.commons.lang.xml.IXMLConfigurable
-
Saves this object as XML.
- saveToXML(XML, EncryptionKey) - Static method in class com.norconex.commons.lang.encrypt.EncryptionKey
-
Adds an encryption key to an existing XML.
- saveToXML(XML, PropertyMatcher) - Static method in class com.norconex.commons.lang.map.PropertyMatcher
- saveToXML(XML, Host) - Static method in class com.norconex.commons.lang.net.Host
-
Adds a host to an existing XML.
- saveToXML(Writer) - Method in interface com.norconex.commons.lang.config.IXMLConfigurable
-
Deprecated.
- saveToXML(Writer, String, EncryptionKey) - Static method in class com.norconex.commons.lang.encrypt.EncryptionXMLUtil
-
Deprecated.Convenience method for saving an encryption key to an XML writer.
- scale(int) - Method in class com.norconex.commons.lang.img.MutableImage
- scale(int, int) - Method in class com.norconex.commons.lang.img.MutableImage
- scale(Dimension) - Method in class com.norconex.commons.lang.img.MutableImage
- scaleFactor(double) - Method in class com.norconex.commons.lang.img.MutableImage
- scaleHeight(int) - Method in class com.norconex.commons.lang.img.MutableImage
- scaleHeightFactor(double) - Method in class com.norconex.commons.lang.img.MutableImage
- scaleWidth(int) - Method in class com.norconex.commons.lang.img.MutableImage
- scaleWidthFactor(double) - Method in class com.norconex.commons.lang.img.MutableImage
- SECOND - com.norconex.commons.lang.time.DurationUnit
- secureScheme() - Method in class com.norconex.commons.lang.url.URLNormalizer
-
Converts
http
scheme tohttps
. - selfCloseEmptyElements() - Method in class com.norconex.commons.lang.xml.XMLFormatter.Builder
-
Self-close elements with no or blank values.
- set(String, T...) - Method in class com.norconex.commons.lang.map.Properties
-
Sets one or multiple values as strings replacing existing ones.
- setAll(Collection<T>, Collection<T>) - Static method in class com.norconex.commons.lang.collection.CollectionUtil
-
Sets all values of the source collection into the target one.
- setAll(Collection<T>, T...) - Static method in class com.norconex.commons.lang.collection.CollectionUtil
-
Sets all values of the source array into the target collection.
- setAll(Map<K, V>, Map<K, V>) - Static method in class com.norconex.commons.lang.collection.CollectionUtil
-
Sets all values of the source map into the target one.
- setAttribute(String, Object) - Method in class com.norconex.commons.lang.xml.XML
-
Sets an attribute on this XML element, converting the supplied object to a string (enums are also converted to lowercase).
- setAttributes(Map<String, ?>) - Method in class com.norconex.commons.lang.xml.XML
-
Sets attributes on this XML element.
- setBaseURI(String) - Method in class com.norconex.commons.lang.xml.ClasspathInput
- setBigDecimal(String, BigDecimal...) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
Properties.set(String, Object...)
- setBinaryNotation(boolean) - Method in class com.norconex.commons.lang.unit.DataUnitFormatter
- setBoolean(String, boolean...) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
Properties.set(String, Object...)
- setByteStream(InputStream) - Method in class com.norconex.commons.lang.xml.ClasspathInput
- setCanonEq(boolean) - Method in class com.norconex.commons.lang.text.Regex
- 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
-
Deprecated.Since 2.0.0, use
Properties.set(String, Object...)
- setComments(boolean) - Method in class com.norconex.commons.lang.text.Regex
- setCredentials(Credentials) - Method in class com.norconex.commons.lang.net.ProxySettings
-
Sets the proxy credentials.
- setDate(String, Date...) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
Properties.set(String, Object...)
- setDecimalPrecision(int) - Method in class com.norconex.commons.lang.unit.DataUnitFormatter
- setDefaultNamespace(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
- setDelimitedAttributeList(String, String, List<?>) - Method in class com.norconex.commons.lang.xml.XML
-
Sets a list of values as an attribute after joining them with the given delimiter.
- setDelimitedAttributeList(String, List<?>) - Method in class com.norconex.commons.lang.xml.XML
-
Sets a list of values as an attribute after joining them with a comma (CSV).
- setDocumentBuilderFactory(DocumentBuilderFactory) - Method in class com.norconex.commons.lang.xml.XML.Builder
- setDotAll(boolean) - Method in class com.norconex.commons.lang.text.Regex
- setDouble(String, double...) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
Properties.set(String, Object...)
- 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.
- setErrorHandler(ErrorHandler) - Method in class com.norconex.commons.lang.xml.XML.Builder
- setExceptionFilter(IExceptionFilter) - Method in class com.norconex.commons.lang.exec.Retrier
-
Sets an exception filter that limits the exceptions eligible for retry.
- setFieldGroup(int) - Method in class com.norconex.commons.lang.text.RegexFieldValueExtractor
- setFile(String, File...) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
Properties.set(String, Object...)
- setFixedUnit(boolean) - Method in class com.norconex.commons.lang.unit.DataUnitFormatter
- setFlags(int...) - Method in class com.norconex.commons.lang.text.Regex
- setFloat(String, float...) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
Properties.set(String, Object...)
- setFragment(String) - Method in class com.norconex.commons.lang.url.HttpURL
-
Sets the URL fragment.
- setHost(Host) - Method in class com.norconex.commons.lang.net.ProxySettings
-
Sets the proxy host.
- setHost(String) - Method in class com.norconex.commons.lang.url.HttpURL
-
Sets the host portion of the URL.
- setIgnoreCase(boolean) - Method in class com.norconex.commons.lang.text.Regex
- setIgnoreCase(boolean) - Method in class com.norconex.commons.lang.text.TextMatcher
- setIgnoreDiacritic(boolean) - Method in class com.norconex.commons.lang.text.Regex
- setIgnoreDiacritic(boolean) - Method in class com.norconex.commons.lang.text.TextMatcher
- setInputStream(BufferedInputStream) - Method in class com.norconex.commons.lang.xml.ClasspathInput
- setInt(String, int...) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
Properties.set(String, Object...)
- setList(String, List<T>) - Method in class com.norconex.commons.lang.map.Properties
-
Sets one or multiple values as strings replacing existing ones.
- setLiteral(boolean) - Method in class com.norconex.commons.lang.text.Regex
- setLocale(String, Locale...) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
Properties.set(String, Object...)
- setLocale(Locale) - Method in class com.norconex.commons.lang.unit.DataUnitFormatter
- setLong(String, long...) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
Properties.set(String, Object...)
- 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).
- setMethod(TextMatcher.Method) - Method in class com.norconex.commons.lang.text.TextMatcher
- setMultiline(boolean) - Method in class com.norconex.commons.lang.text.Regex
- setNamespaceContext(NamespaceContext) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
- setOnSet(PropertySetter) - Method in class com.norconex.commons.lang.text.RegexFieldValueExtractor
-
Sets the property setter to use when a value is set.
- setPartial(boolean) - Method in class com.norconex.commons.lang.text.TextMatcher
- setPassword(String) - Method in class com.norconex.commons.lang.security.Credentials
- setPassword(String) - Method in class com.norconex.commons.lang.security.KeyStoreBuilder
-
Sets the key store password.
- setPasswordKey(EncryptionKey) - Method in class com.norconex.commons.lang.security.Credentials
- setPasswordKey(EncryptionKey) - Method in class com.norconex.commons.lang.security.KeyStoreBuilder
-
Sets the password encryption key.
- setPath(String) - Method in class com.norconex.commons.lang.url.HttpURL
-
Sets the URL path.
- setPattern(String) - Method in class com.norconex.commons.lang.text.Regex
- setPattern(String) - Method in class com.norconex.commons.lang.text.TextMatcher
- 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.
- setProvider(String) - Method in class com.norconex.commons.lang.security.KeyStoreBuilder
-
Sets the security provider name.
- setProxyHost(String) - Method in class com.norconex.commons.lang.net.ProxySettings
-
Deprecated.Since 2.0.0, use
ProxySettings.setHost(Host)
. - setProxyPassword(String) - Method in class com.norconex.commons.lang.net.ProxySettings
-
Deprecated.Since 2.0.0, use
ProxySettings.setCredentials(Credentials)
. - setProxyPasswordKey(EncryptionKey) - Method in class com.norconex.commons.lang.net.ProxySettings
-
Deprecated.Since 2.0.0, use
ProxySettings.setCredentials(Credentials)
. - setProxyPort(int) - Method in class com.norconex.commons.lang.net.ProxySettings
-
Deprecated.Since 2.0.0, use
ProxySettings.setHost(Host)
. - setProxyRealm(String) - Method in class com.norconex.commons.lang.net.ProxySettings
-
Deprecated.Since 2.0.0, use
ProxySettings.setRealm(String)
. - setProxyScheme(String) - Method in class com.norconex.commons.lang.net.ProxySettings
-
Deprecated.Since 2.0.0, use
ProxySettings.setScheme(String)
. - setProxyUsername(String) - Method in class com.norconex.commons.lang.net.ProxySettings
-
Deprecated.Since 2.0.0, use
ProxySettings.setCredentials(Credentials)
. - 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, replacing this URL existing query string parameters with the ones from the supplied query string (the original query string instance is kept).
- setRealm(String) - Method in class com.norconex.commons.lang.net.ProxySettings
-
Sets the proxy realm.
- setRegex(Regex) - Method in class com.norconex.commons.lang.text.RegexFieldValueExtractor
- setReplaceAll(boolean) - Method in class com.norconex.commons.lang.text.TextMatcher
- setResizeQuality(MutableImage.Quality) - Method in class com.norconex.commons.lang.img.MutableImage
- setRetryDelay(long) - Method in class com.norconex.commons.lang.exec.Retrier
-
Sets the delay in milliseconds before attempting to execute again.
- setRoundingMode(RoundingMode) - Method in class com.norconex.commons.lang.unit.DataUnitFormatter
- setScheme(String) - Method in class com.norconex.commons.lang.net.ProxySettings
-
Sets the proxy scheme.
- setStacktraceLoggingDisabled(boolean) - Method in class com.norconex.commons.lang.event.EventManager
- setString(String, String...) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
Properties.set(String, Object...)
- setStringData(String) - Method in class com.norconex.commons.lang.xml.ClasspathInput
- setSystemId(String) - Method in class com.norconex.commons.lang.xml.ClasspathInput
- setTextContent(Object) - Method in class com.norconex.commons.lang.xml.XML
-
Sets the text content of an XML element.
- setToField(String) - Method in class com.norconex.commons.lang.text.RegexFieldValueExtractor
- setType(String) - Method in class com.norconex.commons.lang.security.KeyStoreBuilder
-
Sets the key store type.
- setUnicodeCase(boolean) - Method in class com.norconex.commons.lang.text.Regex
- setUnicodeCharacterClass(boolean) - Method in class com.norconex.commons.lang.text.Regex
- setUnixLines(boolean) - Method in class com.norconex.commons.lang.text.Regex
- setUsername(String) - Method in class com.norconex.commons.lang.security.Credentials
- setValue(Object, String, Object) - Static method in class com.norconex.commons.lang.bean.BeanUtil
- setValueGroup(int) - Method in class com.norconex.commons.lang.text.RegexFieldValueExtractor
- setVariablesFile(Path) - Method in class com.norconex.commons.lang.config.ConfigurationLoader
-
Sets a variables file.
- 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
- 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 anyInterruptedException
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.
- SLF4JUtil - Class in com.norconex.commons.lang
-
Provides convenience methods complementing the SLF4J offerings.
- smallerThan(int, int) - Method in class com.norconex.commons.lang.img.MutableImage
- smallerThan(MutableImage) - Method in class com.norconex.commons.lang.img.MutableImage
- smallerThan(Dimension) - Method in class com.norconex.commons.lang.img.MutableImage
- smallest(MutableImage) - Method in class com.norconex.commons.lang.img.MutableImage
- 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.
- 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.
- startsWith(String) - Method in class com.norconex.commons.lang.file.WebFile
- startsWith(Path) - Method in class com.norconex.commons.lang.file.WebFile
- 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.
- store(OutputStream) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
storeToProperties(...)
- store(OutputStream, String) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
storeToProperties(...)
- store(OutputStream, String, String) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
storeToProperties(...)
- store(Writer) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
storeToProperties(...)
- store(Writer, String) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
storeToProperties(...)
- store(Writer, String, String) - Method in class com.norconex.commons.lang.map.Properties
-
Deprecated.Since 2.0.0, use
storeToProperties(...)
- storeToBean(Object) - Method in class com.norconex.commons.lang.map.Properties
-
Copy all properties in this map to the given bean, mapping keys to setter methods of the same name.
- 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 theProperties.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 theProperties.loadFromJSON(Reader)
method. - storeToProperties(OutputStream) - Method in class com.norconex.commons.lang.map.Properties
-
Stores this
Map
in a format compatible withProperties.store(OutputStream, String)
. - storeToProperties(OutputStream, String) - Method in class com.norconex.commons.lang.map.Properties
-
Stores this
Map
in a format compatible withProperties.store(OutputStream, String)
. - storeToProperties(Writer) - Method in class com.norconex.commons.lang.map.Properties
-
Stores this
Map
in a format compatible withProperties.store(Writer, String)
. - storeToProperties(Writer, String) - Method in class com.norconex.commons.lang.map.Properties
-
Stores this
Map
in a format compatible withProperties.store(Writer, String)
. - storeToXML(OutputStream) - Method in class com.norconex.commons.lang.map.Properties
-
Stores this
Map
in a UTF-8 format compatible withProperties.storeToXML(OutputStream, String)
. - storeToXML(OutputStream, String) - Method in class com.norconex.commons.lang.map.Properties
-
Stores this
Map
in a UTF-8 format compatible withProperties.storeToXML(OutputStream, String)
. - storeToXML(Writer) - Method in class com.norconex.commons.lang.map.Properties
-
Stores this
Map
in a UTF-8 format compatible withProperties.storeToXML(OutputStream, String)
. - storeToXML(Writer, String) - Method in class com.norconex.commons.lang.map.Properties
-
Stores this
Map
in a UTF-8 format compatible withProperties.storeToXML(OutputStream, String)
. - 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() - Method in class com.norconex.commons.lang.xml.XML
- stream(HttpURL) - Static method in class com.norconex.commons.lang.url.URLStreamer
-
Streams URL content.
- stream(HttpURL, Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
-
Streams URL content.
- stream(HttpURL, Credentials, URLStreamer.HttpHost) - Static method in class com.norconex.commons.lang.url.URLStreamer
-
Streams URL content.
- stream(HttpURL, Credentials, URLStreamer.HttpHost, Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
-
Streams URL content.
- stream(Object) - Static method in class com.norconex.commons.lang.xml.XML
- stream(String) - Static method in class com.norconex.commons.lang.url.URLStreamer
-
Streams URL content.
- stream(String, Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
-
Streams URL content.
- stream(String, Credentials, URLStreamer.HttpHost) - Static method in class com.norconex.commons.lang.url.URLStreamer
-
Streams URL content.
- stream(String, Credentials, URLStreamer.HttpHost, Credentials) - 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(URL, Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
-
Streams URL content.
- stream(URL, Credentials, URLStreamer.HttpHost) - Static method in class com.norconex.commons.lang.url.URLStreamer
-
Streams URL content.
- stream(URL, Credentials, URLStreamer.HttpHost, 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(String, Throwable) - Constructor for exception com.norconex.commons.lang.io.StreamException
-
Constructor.
- StreamException(Throwable) - Constructor for exception com.norconex.commons.lang.io.StreamException
-
Constructor.
- streamToString(HttpURL) - Static method in class com.norconex.commons.lang.url.URLStreamer
-
Streams URL content to a String.
- streamToString(HttpURL, Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
-
Streams URL content to a String.
- streamToString(HttpURL, Credentials, URLStreamer.HttpHost) - Static method in class com.norconex.commons.lang.url.URLStreamer
-
Streams URL content to a String.
- streamToString(HttpURL, Credentials, URLStreamer.HttpHost, 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(String, Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
-
Streams URL content to a String.
- streamToString(String, 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, Credentials, URLStreamer.HttpHost, Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
-
Streams URL content to a String using UTF-8 character encoding.
- streamToString(String, Credentials, URLStreamer.HttpHost, Credentials, String) - Static method in class com.norconex.commons.lang.url.URLStreamer
-
Streams URL content to a String.
- streamToString(String, Credentials, URLStreamer.HttpHost, 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(URL, Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
-
Streams URL content to a String.
- streamToString(URL, Credentials, URLStreamer.HttpHost) - Static method in class com.norconex.commons.lang.url.URLStreamer
-
Streams URL content to a String.
- streamToString(URL, Credentials, URLStreamer.HttpHost, Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
-
Streams URL content to a String.
- stretch(int) - Method in class com.norconex.commons.lang.img.MutableImage
- stretch(int, int) - Method in class com.norconex.commons.lang.img.MutableImage
- stretch(Dimension) - Method in class com.norconex.commons.lang.img.MutableImage
- stretchFactor(double, double) - Method in class com.norconex.commons.lang.img.MutableImage
- stretchHeight(int) - Method in class com.norconex.commons.lang.img.MutableImage
- stretchHeightFactor(double) - Method in class com.norconex.commons.lang.img.MutableImage
- stretchWidth(int) - Method in class com.norconex.commons.lang.img.MutableImage
- stretchWidthFactor(double) - Method in class com.norconex.commons.lang.img.MutableImage
- StringConverter - Class in com.norconex.commons.lang.convert
-
String
converter. - StringConverter() - Constructor for class com.norconex.commons.lang.convert.StringConverter
- StringUtil - Class in com.norconex.commons.lang
-
Deprecated.Since 2.0.0, use
StringUtil
- StringUtil - Class in com.norconex.commons.lang.text
-
String-related utility methods not found in popular libraries.
- subpath(int, int) - Method in class com.norconex.commons.lang.file.WebFile
- SystemCommand - Class in com.norconex.commons.lang.exec
-
Represents a program to be executed by the underlying system (on the "command line").
- SystemCommand(File, String...) - Constructor for class com.norconex.commons.lang.exec.SystemCommand
-
Creates a command.
- 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.
- 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(String, Throwable) - Constructor for exception com.norconex.commons.lang.exec.SystemCommandException
- SystemCommandException(Throwable) - Constructor for exception com.norconex.commons.lang.exec.SystemCommandException
- SystemUtil - Class in com.norconex.commons.lang
-
System-related convenience methods.
T
- TagContent - Class in com.norconex.commons.lang.javadoc
- 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.
- tallest(MutableImage) - Method in class com.norconex.commons.lang.img.MutableImage
- TB - com.norconex.commons.lang.unit.DataUnit
- TBIT - com.norconex.commons.lang.unit.DataUnit
- test(Properties) - Method in class com.norconex.commons.lang.map.PropertyMatcher
-
For compatibility with
Predicate
. - test(Properties) - Method in class com.norconex.commons.lang.map.PropertyMatchers
-
For compatibility with
Predicate
. - test(Properties) - Method in class com.norconex.commons.lang.xml.flow.impl.PropertyMatcherCondition
- test(CharSequence) - Method in class com.norconex.commons.lang.text.TextMatcher
-
Matches this class pattern against its text.
- test(T) - Method in class com.norconex.commons.lang.function.Predicates
- TEXT - Static variable in class com.norconex.commons.lang.file.ContentType
- TextMatcher - Class in com.norconex.commons.lang.text
-
A configurable class offering a few different ways to perform text matching and replacing.
- TextMatcher() - Constructor for class com.norconex.commons.lang.text.TextMatcher
-
Creates a basic matcher.
- TextMatcher(TextMatcher) - Constructor for class com.norconex.commons.lang.text.TextMatcher
-
Copy constructor.
- TextMatcher(TextMatcher.Method) - Constructor for class com.norconex.commons.lang.text.TextMatcher
-
Creates a matcher with the specified method.
- TextMatcher(String) - Constructor for class com.norconex.commons.lang.text.TextMatcher
-
Creates a basic matcher with the given pattern.
- TextMatcher(String, TextMatcher.Method) - Constructor for class com.norconex.commons.lang.text.TextMatcher
-
Creates a basic matcher with the given pattern.
- TextMatcher.Method - Enum in com.norconex.commons.lang.text
- 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.
- TIB - com.norconex.commons.lang.unit.DataUnit
- TIBIT - com.norconex.commons.lang.unit.DataUnit
- 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.
- to(double, DataUnit) - Method in enum com.norconex.commons.lang.unit.DataUnit
- to(BigDecimal, DataUnit) - Method in enum com.norconex.commons.lang.unit.DataUnit
- 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.
- toAbsolutePath() - Method in class com.norconex.commons.lang.file.WebFile
- toArray(Collection<?>, Class<?>) - Static method in class com.norconex.commons.lang.collection.CollectionUtil
-
Converts a collection to an array using the specified type.
- toBase64String(String) - Method in class com.norconex.commons.lang.img.MutableImage
- 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).
- toBits(double) - Method in enum com.norconex.commons.lang.unit.DataUnit
- toBits(BigDecimal) - Method in enum com.norconex.commons.lang.unit.DataUnit
- 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(double) - Method in enum com.norconex.commons.lang.unit.DataUnit
- toBytes(BigDecimal) - 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. - toDate(Instant) - Static method in class com.norconex.commons.lang.time.DateUtil
- toDate(Instant, ZoneId) - Static method in class com.norconex.commons.lang.time.DateUtil
- toDate(LocalDate) - Static method in class com.norconex.commons.lang.time.DateUtil
- toDate(LocalDate, ZoneId) - Static method in class com.norconex.commons.lang.time.DateUtil
- toDate(LocalDateTime) - Static method in class com.norconex.commons.lang.time.DateUtil
- toDate(LocalDateTime, ZoneId) - Static method in class com.norconex.commons.lang.time.DateUtil
- toDateFormattedDir(File, Date, String) - Static method in class com.norconex.commons.lang.file.FileUtil
-
Gets (but does not create) a series of directories reflecting the specified date format (from
SimpleDateFormat
), under a given parent directory. - toDays() - Method in enum com.norconex.commons.lang.time.DurationUnit
- toDays(long) - Method in enum com.norconex.commons.lang.time.DurationUnit
- toDuration() - Method in enum com.norconex.commons.lang.time.DurationUnit
- 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.
- toFile() - Method in class com.norconex.commons.lang.file.WebFile
- toGigabytes(long) - Method in enum com.norconex.commons.lang.unit.DataUnit
-
Deprecated.
- toHours() - Method in enum com.norconex.commons.lang.time.DurationUnit
- toHours(long) - Method in enum com.norconex.commons.lang.time.DurationUnit
- toImage() - Method in class com.norconex.commons.lang.img.MutableImage
- toInputStream(String) - Method in class com.norconex.commons.lang.img.MutableImage
- toJavaLevel(Level) - Static method in class com.norconex.commons.lang.SLF4JUtil
- toKilobytes(long) - Method in enum com.norconex.commons.lang.unit.DataUnit
-
Deprecated.
- toLocalDate(long) - Static method in class com.norconex.commons.lang.time.DateUtil
- toLocalDate(long, ZoneId) - Static method in class com.norconex.commons.lang.time.DateUtil
- toLocalDate(Date) - Static method in class com.norconex.commons.lang.time.DateUtil
- toLocalDate(Date, ZoneId) - Static method in class com.norconex.commons.lang.time.DateUtil
- toLocalDateTime(long) - Static method in class com.norconex.commons.lang.time.DateUtil
-
Converts a millisecond EPOCH date to a
LocalDateTime
using the system defaultZoneId
. - toLocalDateTime(long, ZoneId) - Static method in class com.norconex.commons.lang.time.DateUtil
-
Converts a millisecond EPOCH date to a
LocalDateTime
using the specifiedZoneId
. - toLocalDateTime(Date) - Static method in class com.norconex.commons.lang.time.DateUtil
- toLocalDateTime(Date, ZoneId) - Static method in class com.norconex.commons.lang.time.DateUtil
- toLocalName(QName) - Static method in class com.norconex.commons.lang.xml.XMLUtil
- toMap(Object) - Static method in class com.norconex.commons.lang.bean.BeanUtil
- toMap(Object...) - Static method in class com.norconex.commons.lang.map.MapUtil
-
Converts a array of values to a map, alternating between key and values.
- toMap(Map<K, V>, Object...) - Static method in class com.norconex.commons.lang.map.MapUtil
-
Populates an existing map with the array of values, alternating between key and values.
- toMegabytes(long) - Method in enum com.norconex.commons.lang.unit.DataUnit
-
Deprecated.
- toMillis() - Method in class com.norconex.commons.lang.time.YearMonthDay
-
Converts this YearMonthDay to the current time as UTC milliseconds from the epoch.
- toMilliseconds() - Method in enum com.norconex.commons.lang.time.DurationUnit
- toMilliseconds(long) - Method in enum com.norconex.commons.lang.time.DurationUnit
- toMinutes() - Method in enum com.norconex.commons.lang.time.DurationUnit
- toMinutes(long) - Method in enum com.norconex.commons.lang.time.DurationUnit
- toMonths() - Method in enum com.norconex.commons.lang.time.DurationUnit
- toMonths(long) - Method in enum com.norconex.commons.lang.time.DurationUnit
- toName(QName) - Static method in class com.norconex.commons.lang.xml.XMLUtil
- toNode() - Method in class com.norconex.commons.lang.xml.XML
- toNonNullInputStream(InputStream) - Static method in class com.norconex.commons.lang.io.IOUtil
-
Gets an "empty" input stream (zero size) when the supplied input stream is
null
. - toNonNullReader(Reader) - Static method in class com.norconex.commons.lang.io.IOUtil
-
Gets an "empty" reader (zero size) when the supplied reader is
null
. - toObject() - Method in class com.norconex.commons.lang.xml.XML
-
Creates a new instance of the class represented by the "class" attribute on this XML root node.
- toObject(T) - Method in class com.norconex.commons.lang.xml.XML
-
Creates a new instance of the class represented by the "class" attribute on the given node.
- toObjectImpl(Class<?>) - Method in class com.norconex.commons.lang.xml.XML
-
Creates a new instance of the class represented by the "class" attribute on this XML root node.
- toObjectImpl(Class<?>, T) - Method in class com.norconex.commons.lang.xml.XML
-
Creates a new instance of the class represented by the "class" attribute on the given node.
- toPetabytes(long) - Method in enum com.norconex.commons.lang.unit.DataUnit
-
Deprecated.
- toProperties() - Method in class com.norconex.commons.lang.map.Properties
-
Converts this
Map
to a new JavaProperties
instance. - toProperties(Object, String...) - Static method in class com.norconex.commons.lang.bean.BeanUtil
- toReader() - Method in class com.norconex.commons.lang.xml.XML
- toRealPath(LinkOption...) - Method in class com.norconex.commons.lang.file.WebFile
- toRegexMatcher(CharSequence) - Method in class com.norconex.commons.lang.text.TextMatcher
-
Converts this text matcher to a pattern
Matcher
. - toRegexPattern() - Method in class com.norconex.commons.lang.text.TextMatcher
-
Compiles this text matcher to create a regular expression
Pattern
. - toSafeFileName(String) - Static method in class com.norconex.commons.lang.file.FileUtil
-
Converts any String to a valid file-system file name representation.
- toSeconds() - Method in enum com.norconex.commons.lang.time.DurationUnit
- toSeconds(long) - Method in enum com.norconex.commons.lang.time.DurationUnit
- toString() - Method in class com.norconex.commons.lang.bean.FluentPropertyDescriptor
- toString() - Method in class com.norconex.commons.lang.CircularRange
-
Gets the range as a
String
. - toString() - Method in class com.norconex.commons.lang.convert.AbstractConverter
- toString() - Method in class com.norconex.commons.lang.encrypt.EncryptionKey
- toString() - Method in class com.norconex.commons.lang.event.Event
-
Returns the event message, if set, or the return value of
toString()
on source. - toString() - Method in class com.norconex.commons.lang.exec.Retrier
- 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.file.FileLocker
- toString() - Method in class com.norconex.commons.lang.file.WebFile
- toString() - Method in class com.norconex.commons.lang.function.Consumers
- toString() - Method in class com.norconex.commons.lang.function.PredicatedConsumer
- toString() - Method in class com.norconex.commons.lang.function.Predicates
- toString() - Method in class com.norconex.commons.lang.img.MutableImage
- toString() - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
-
Gets the current contents of this byte stream as a string.
- toString() - Method in class com.norconex.commons.lang.jar.JarFile
- toString() - Method in class com.norconex.commons.lang.javadoc.TagContent
- toString() - Method in class com.norconex.commons.lang.map.MapChangeEvent
- toString() - Method in class com.norconex.commons.lang.map.MapChangeSupport
- toString() - Method in class com.norconex.commons.lang.map.ObservableMap
- toString() - Method in class com.norconex.commons.lang.map.Properties
-
Returns this
Map
in a format compatible withProperties.store(Writer, String)
. - toString() - Method in class com.norconex.commons.lang.map.PropertyMatcher
- toString() - Method in class com.norconex.commons.lang.net.Host
- toString() - Method in class com.norconex.commons.lang.net.ProxySettings
- toString() - Method in enum com.norconex.commons.lang.Operator
- toString() - Method in class com.norconex.commons.lang.security.Credentials
- toString() - Method in class com.norconex.commons.lang.text.Regex
- toString() - Method in class com.norconex.commons.lang.text.RegexFieldValueExtractor
- toString() - Method in class com.norconex.commons.lang.text.TextMatcher
- toString() - Method in class com.norconex.commons.lang.time.DurationFormatter
- toString() - Method in class com.norconex.commons.lang.time.DurationParser
- toString() - Method in class com.norconex.commons.lang.time.RBDurationUnitFormatter
- toString() - Method in class com.norconex.commons.lang.time.YearMonthDay
-
Converts the YearMonthDay to a string of this format:
yyyy-MM-dd
. - 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 enum com.norconex.commons.lang.unit.DataUnit
- 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.
- toString() - Method in class com.norconex.commons.lang.xml.flow.impl.PropertyMatcherCondition
- toString() - Method in class com.norconex.commons.lang.xml.flow.XMLFlow
- toString() - Method in class com.norconex.commons.lang.xml.XML
-
Gets a string representation of this XML.
- toString() - Method in class com.norconex.commons.lang.xml.XMLValidationError
- toString(int) - Method in class com.norconex.commons.lang.xml.XML
-
Gets a string representation of this XML.
- toString(TagContent) - Method in class com.norconex.commons.lang.javadoc.AbstractInlineTaglet
- toString(TagContent) - Method in class com.norconex.commons.lang.javadoc.BlockTaglet
- toString(TagContent) - Method in class com.norconex.commons.lang.javadoc.HTMLTaglet
- toString(TagContent) - Method in class com.norconex.commons.lang.javadoc.JSONTaglet
- toString(TagContent) - Method in class com.norconex.commons.lang.javadoc.XMLExampleTaglet
- toString(TagContent) - Method in class com.norconex.commons.lang.javadoc.XMLTaglet
- toString(TagContent) - Method in class com.norconex.commons.lang.javadoc.XMLUsageTaglet
- toString(Object) - Method in class com.norconex.commons.lang.convert.AbstractConverter
- toString(Object) - Method in class com.norconex.commons.lang.convert.Converter
- toString(Object) - Method in interface com.norconex.commons.lang.convert.IConverter
- toString(Object, String) - Method in class com.norconex.commons.lang.convert.Converter
- toString(Object, String) - Method in interface com.norconex.commons.lang.convert.IConverter
- toString(String) - Method in class com.norconex.commons.lang.CircularRange
-
Formats the receiver using the given format.
- 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(String) - Method in class com.norconex.commons.lang.time.YearMonthDay
- toString(List<?>) - Method in class com.norconex.commons.lang.convert.Converter
- toString(List<? extends DocTree>, Element) - Method in class com.norconex.commons.lang.javadoc.AbstractInlineTaglet
- toString(List<? extends DocTree>, Element) - Method in class com.norconex.commons.lang.javadoc.IncludeTaglet
- toString(List<X509Certificate>) - Static method in class com.norconex.commons.lang.security.CertificateUtil
-
Returns a friendly string display of certificates.
- toStringException(Object) - Method in class com.norconex.commons.lang.convert.AbstractConverter
- toStringException(Object, Throwable) - Method in class com.norconex.commons.lang.convert.AbstractConverter
- toStringList(Object...) - Static method in class com.norconex.commons.lang.collection.CollectionUtil
-
Converts a list of objects to a list of strings using default
Converter
instance. - toStringList(Collection<?>) - Static method in class com.norconex.commons.lang.collection.CollectionUtil
-
Converts a list of objects to a list of strings using default
Converter
instance. - toTemporalUnit() - Method in enum com.norconex.commons.lang.time.DurationUnit
- toTerabytes(long) - Method in enum com.norconex.commons.lang.unit.DataUnit
-
Deprecated.
- toType(String, Class<T>) - Method in class com.norconex.commons.lang.convert.AbstractConverter
- toType(String, Class<T>) - Method in class com.norconex.commons.lang.convert.Converter
- toType(String, Class<T>) - Method in interface com.norconex.commons.lang.convert.IConverter
- toType(String, Class<T>, T) - Method in class com.norconex.commons.lang.convert.Converter
- toType(String, Class<T>, T) - Method in interface com.norconex.commons.lang.convert.IConverter
- toType(List<String>, Class<T>) - Method in class com.norconex.commons.lang.convert.Converter
- toTypeException(String, Class<?>) - Method in class com.norconex.commons.lang.convert.AbstractConverter
- toTypeException(String, Class<?>, Throwable) - Method in class com.norconex.commons.lang.convert.AbstractConverter
- toTypeList(List<String>, Class<T>) - Static method in class com.norconex.commons.lang.collection.CollectionUtil
-
Converts a list of strings to a list of objects matching the return type.
- toTypeList(List<String>, Function<String, T>) - Static method in class com.norconex.commons.lang.collection.CollectionUtil
-
Converts a list of strings to a list of objects matching the return type.
- toUnit(DurationUnit, long) - Method in enum com.norconex.commons.lang.time.DurationUnit
- toUnsupportedTypeException(Object) - Method in class com.norconex.commons.lang.convert.AbstractConverter
- toUri() - Method in class com.norconex.commons.lang.file.WebFile
- toURI() - Method in class com.norconex.commons.lang.url.HttpURL
-
Converts this HttpURL to a
URI
, making sure appropriate characters are escaped properly. - toURI() - Method in class com.norconex.commons.lang.url.URLNormalizer
-
Returns the normalized URL as
URI
. - 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. - 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() - Method in class com.norconex.commons.lang.url.URLNormalizer
-
Returns the normalized URL as
URL
. - 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. - toURLDir(File, String) - Static method in class com.norconex.commons.lang.file.FileUtil
-
Gets (but does not create) a directory matching URL segments, under a given parent directory.
- toURLDir(File, String, boolean) - Static method in class com.norconex.commons.lang.file.FileUtil
-
Gets (but does not create) a directory matching URL segments, under a given parent directory.
- toURLDir(File, URL) - Static method in class com.norconex.commons.lang.file.FileUtil
-
Gets (but does not create) a directory matching URL segments, under a given parent directory.
- toURLDir(File, URL, boolean) - Static method in class com.norconex.commons.lang.file.FileUtil
-
Gets (but does not create) a directory matching URL segments, under a given parent directory.
- toWeeks() - Method in enum com.norconex.commons.lang.time.DurationUnit
- toWeeks(long) - Method in enum com.norconex.commons.lang.time.DurationUnit
- toXML(XML, PropertySetter) - Static method in enum com.norconex.commons.lang.map.PropertySetter
- toYears() - Method in enum com.norconex.commons.lang.time.DurationUnit
- toYears(long) - Method in enum com.norconex.commons.lang.time.DurationUnit
- trimEnd(String) - Static method in class com.norconex.commons.lang.text.StringUtil
-
Trims white spaces at the end of a string.
- trimStart(String) - Static method in class com.norconex.commons.lang.text.StringUtil
-
Trims white spaces at the beginning of a string.
- TRUNCATE_HASH_LENGTH - Static variable in class com.norconex.commons.lang.StringUtil
-
Deprecated.
- TRUNCATE_HASH_LENGTH - Static variable in class com.norconex.commons.lang.text.StringUtil
- truncateBytesWithHash(byte[], Charset, int) - Static method in class com.norconex.commons.lang.StringUtil
-
Deprecated.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) - Static method in class com.norconex.commons.lang.text.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
-
Deprecated.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.
- truncateBytesWithHash(byte[], Charset, int, String) - Static method in class com.norconex.commons.lang.text.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.
- truncateBytesWithHash(String, Charset, int) - Static method in class com.norconex.commons.lang.StringUtil
-
Deprecated.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) - Static method in class com.norconex.commons.lang.text.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
-
Deprecated.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(String, Charset, int, String) - Static method in class com.norconex.commons.lang.text.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.
- truncateWithHash(String, int) - Static method in class com.norconex.commons.lang.StringUtil
-
Deprecated.Truncate text larger than the given max length and appends a hash value from the truncated text.
- truncateWithHash(String, int) - Static method in class com.norconex.commons.lang.text.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
-
Deprecated.Truncate text larger than the given max length and appends a hash value from the truncated text, with an optional separator in-between.
- truncateWithHash(String, int, String) - Static method in class com.norconex.commons.lang.text.StringUtil
-
Truncate text larger than the given max length and appends a hash value from the truncated text, with an optional separator in-between.
- trustHost(String, int, KeyStore) - Static method in class com.norconex.commons.lang.security.CertificateUtil
-
Trusts a host.
- trustHost(String, KeyStore) - Static method in class com.norconex.commons.lang.security.CertificateUtil
-
Trusts the URL host.
- tryLock() - Method in class com.norconex.commons.lang.file.FileLocker
-
Tries to locks the unlocked file and returns
true
when successful. - TSV - Static variable in class com.norconex.commons.lang.file.ContentType
- TXT - Static variable in class com.norconex.commons.lang.ResourceLoader
U
- UNICODE_CASE_INSENSTIVE_FLAG - Static variable in class com.norconex.commons.lang.text.Regex
-
Convenience flag that combines
Pattern.UNICODE_CASE
andPattern.CASE_INSENSITIVE
- UNICODE_MARK_INSENSTIVE_FLAG - Static variable in class com.norconex.commons.lang.text.Regex
-
Flag that ignores diacritical marks when matching or replacing (e.g. accents).
- unicodeCase() - Method in class com.norconex.commons.lang.text.Regex
- unicodeCharacterClass() - Method in class com.norconex.commons.lang.text.Regex
- unix(T) - Method in class com.norconex.commons.lang.OSResource
- unixLines() - Method in class com.norconex.commons.lang.text.Regex
- unlock() - Method in class com.norconex.commons.lang.file.FileLocker
-
Unlocks the locked file.
- unmodifiableList(T...) - Static method in class com.norconex.commons.lang.collection.CollectionUtil
-
Returns an unmodifiable view of the specified list.
- unmodifiableSet(T...) - Static method in class com.norconex.commons.lang.collection.CollectionUtil
-
Returns an unmodifiable view of the specified set.
- unsecureScheme() - Method in class com.norconex.commons.lang.url.URLNormalizer
-
Converts
https
scheme tohttp
. - unwrap() - Method in class com.norconex.commons.lang.xml.XML
-
Unwraps this XML by removing the root tag and keeping its child element (and its nested element).
- upperCaseEscapeSequence() - Method in class com.norconex.commons.lang.url.URLNormalizer
-
Converts letters in URL-encoded escape sequences to upper case.
- URLConverter - Class in com.norconex.commons.lang.convert
-
URL
converter. - URLConverter() - Constructor for class com.norconex.commons.lang.convert.URLConverter
- 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(String, Throwable) - Constructor for exception com.norconex.commons.lang.url.URLException
-
Constructor.
- URLException(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. eliminate URL variations pointing to the same resource).
- URLNormalizer(String) - Constructor for class com.norconex.commons.lang.url.URLNormalizer
-
Create a new
URLNormalizer
instance. - URLNormalizer(URL) - 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.HttpHost - Class in com.norconex.commons.lang.url
V
- validate() - Method in class com.norconex.commons.lang.xml.XML
-
Validates this XML against an XSD schema attached to the class represented in this XML root tag "class" attribute.
- validate(Class<?>) - Method in class com.norconex.commons.lang.xml.XML
-
Validates this XML for classes having an XSD schema attached, and logs any error/warnings.
- validate(Object) - Method in class com.norconex.commons.lang.xml.XML
-
Validates this XML for objects having an XSD schema attached, and logs any error/warnings.
- valueList() - Method in class com.norconex.commons.lang.map.Properties
-
Returns all property values merged into a single list.
- 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.img.MutableImage.Quality
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.norconex.commons.lang.map.PropertySetter
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.norconex.commons.lang.Operator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.norconex.commons.lang.text.TextMatcher.Method
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.norconex.commons.lang.time.DurationUnit
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.norconex.commons.lang.unit.DataUnit
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.norconex.commons.lang.xml.XMLFormatter.Builder.AttributeWrap
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.norconex.commons.lang.xml.XMLValidationError.Severity
-
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() - Static method in enum com.norconex.commons.lang.img.MutableImage.Quality
-
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.map.PropertySetter
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.norconex.commons.lang.Operator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.norconex.commons.lang.text.TextMatcher.Method
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.norconex.commons.lang.time.DurationUnit
-
Returns an array containing the constants of this enum type, in the order they are declared.
- 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.
- values() - Static method in enum com.norconex.commons.lang.xml.XMLFormatter.Builder.AttributeWrap
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.norconex.commons.lang.xml.XMLValidationError.Severity
-
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.
- valuesOf(List<String>) - Static method in class com.norconex.commons.lang.file.ContentType
-
Creates a null-safe array of content types.
- VersionUtil - Class in com.norconex.commons.lang
-
Version-related convenience methods.
- visit(File) - Method in interface com.norconex.commons.lang.file.IFileVisitor
-
Visits a file or directory.
- visit(Object, Predicate<Object>) - Static method in class com.norconex.commons.lang.bean.BeanUtil
- visit(Object, Predicate<T>, Class<T>) - Static method in class com.norconex.commons.lang.bean.BeanUtil
- visitAll(Object, Consumer<Object>) - Static method in class com.norconex.commons.lang.bean.BeanUtil
- visitAll(Object, Consumer<T>, Class<T>) - Static method in class com.norconex.commons.lang.bean.BeanUtil
- 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.
- visitAllProperties(Object, BiConsumer<Object, PropertyDescriptor>) - Static method in class com.norconex.commons.lang.bean.BeanUtil
- visitAllProperties(Object, BiConsumer<T, PropertyDescriptor>, Class<T>) - Static method in class com.norconex.commons.lang.bean.BeanUtil
- 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.
- visitProperties(Object, BiPredicate<Object, PropertyDescriptor>) - Static method in class com.norconex.commons.lang.bean.BeanUtil
- visitProperties(Object, BiPredicate<Object, PropertyDescriptor>, Class<T>) - Static method in class com.norconex.commons.lang.bean.BeanUtil
W
- W3C_XML_SCHEMA_NS_URI_1_1 - Static variable in class com.norconex.commons.lang.xml.XMLUtil
- warning(SAXParseException) - Method in class com.norconex.commons.lang.xml.ErrorHandlerCapturer
- warning(SAXParseException) - Method in class com.norconex.commons.lang.xml.ErrorHandlerFailer
- warning(SAXParseException) - Method in class com.norconex.commons.lang.xml.ErrorHandlerLogger
- WARNING - com.norconex.commons.lang.xml.XMLValidationError.Severity
- 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.
- WebFile - Class in com.norconex.commons.lang.file
-
Access a web-based file as a local file.
- WebFile(String) - Constructor for class com.norconex.commons.lang.file.WebFile
-
Creates a web file using the OS temp directory + "webfiles" as the local download location, and the URL "file" name as the local file name.
- WebFile(String, Path) - Constructor for class com.norconex.commons.lang.file.WebFile
-
Creates a web file using a local path to store the dowloaded file.
- WebFile(URL) - Constructor for class com.norconex.commons.lang.file.WebFile
-
Creates a web file using the OS temp directory + "webfiles" as the local download location, and the URL "file" name as the local file name.
- WebFile(URL, Path) - Constructor for class com.norconex.commons.lang.file.WebFile
-
Creates a web file using a local path to store the dowloaded file.
- WEEK - com.norconex.commons.lang.time.DurationUnit
- widest(MutableImage) - Method in class com.norconex.commons.lang.img.MutableImage
- wildcard(String) - Static method in class com.norconex.commons.lang.text.TextMatcher
-
Creates a new text matcher initialized with wildcard matching.
- WILDCARD - com.norconex.commons.lang.text.TextMatcher.Method
- win(T) - Method in class com.norconex.commons.lang.OSResource
- withBinaryNotation(boolean) - Method in class com.norconex.commons.lang.unit.DataUnitFormatter
- 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).
- withContent(String) - Method in class com.norconex.commons.lang.javadoc.TagContent
- withDecimalPrecision(int) - Method in class com.norconex.commons.lang.unit.DataUnitFormatter
- withFixedUnit(boolean) - Method in class com.norconex.commons.lang.unit.DataUnitFormatter
- withHighestUnit(DurationUnit) - Method in class com.norconex.commons.lang.time.DurationFormatter
-
Creates a copy if this formatter with the given highest unit.
- withIgnoreCase(boolean) - Method in class com.norconex.commons.lang.text.TextMatcher
- withIgnoreDiacritic(boolean) - Method in class com.norconex.commons.lang.text.TextMatcher
- withInnerSeparator(String) - Method in class com.norconex.commons.lang.time.DurationFormatter
-
Creates a copy if this formatter with the specified separator text to be inserted between the numeric and textual values.
- withLocale(Locale) - Method in class com.norconex.commons.lang.time.DurationFormatter
-
Creates a copy if this formatter with the given locale.
- withLocale(Locale) - Method in class com.norconex.commons.lang.time.DurationParser
-
Creates a copy if this parser with the given locale.
- withLocale(Locale) - Method in class com.norconex.commons.lang.unit.DataUnitFormatter
- withLowestUnit(DurationUnit) - Method in class com.norconex.commons.lang.time.DurationFormatter
-
Creates a copy if this formatter with the given lowest unit.
- withMethod(TextMatcher.Method) - Method in class com.norconex.commons.lang.text.TextMatcher
- withName(String) - Method in class com.norconex.commons.lang.net.Host
- withNumberFormat(NumberFormat) - Method in class com.norconex.commons.lang.time.DurationFormatter
-
Creates a copy if this formatter with the given number format.
- withOuterLastSeparator(String) - Method in class com.norconex.commons.lang.time.DurationFormatter
-
Creates a copy if this formatter with the specified separator text to be inserted between the second to last and last formatter units (number and text pairs).
- withOuterSeparator(String) - Method in class com.norconex.commons.lang.time.DurationFormatter
-
Creates a copy if this formatter with the specified separator text to be inserted between each formatter units (number and text pairs).
- withPartial(boolean) - Method in class com.norconex.commons.lang.text.TextMatcher
- withPattern(String) - Method in class com.norconex.commons.lang.text.TextMatcher
- withPort(int) - Method in class com.norconex.commons.lang.net.Host
- 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).
- withReference(String) - Method in class com.norconex.commons.lang.javadoc.TagContent
- withReplaceAll(boolean) - Method in class com.norconex.commons.lang.text.TextMatcher
- withRoundingMode(RoundingMode) - Method in class com.norconex.commons.lang.unit.DataUnitFormatter
- withUnitFormatter(IDurationUnitFormatter) - Method in class com.norconex.commons.lang.time.DurationFormatter
-
Creates a copy if this formatter with the given unit formatter.
- withUnitPrecision(int) - Method in class com.norconex.commons.lang.time.DurationFormatter
-
Creates a copy if this formatter with the given unit precision.
- wrap(String) - Method in class com.norconex.commons.lang.xml.XML
-
Wraps this XML by adding a parent element around it.
- write(byte[], int, int) - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
-
Write the bytes to byte array.
- write(byte[], int, int) - Method in class com.norconex.commons.lang.io.CachedOutputStream
- write(int) - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
-
Write a byte to byte array.
- write(int) - Method in class com.norconex.commons.lang.io.CachedOutputStream
- write(XML, Consumer<T>) - Method in class com.norconex.commons.lang.xml.flow.XMLFlow
-
Writes a flow previously constructed by
XMLFlow.parse(XML)
to XML. - write(File) - Method in class com.norconex.commons.lang.xml.XML
- write(File, int) - Method in class com.norconex.commons.lang.xml.XML
- 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(OutputStream, String) - Method in class com.norconex.commons.lang.img.MutableImage
- write(Writer) - Method in class com.norconex.commons.lang.xml.XML
- write(Writer, int) - Method in class com.norconex.commons.lang.xml.XML
- write(Path) - Method in class com.norconex.commons.lang.img.MutableImage
- write(Path, String) - Method in class com.norconex.commons.lang.img.MutableImage
- writeAttribute(String, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
- writeAttribute(String, 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
- 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(Class<?>) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
-
Write a "class" attribute with the value obtained from getting it by invoking
Class.getCanonicalName()
. - writeAttributeClass(Class<?>, boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
-
Write a "class" attribute with the value obtained from getting it by invoking
Class.getCanonicalName()
. - 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()
. - writeAttributeDelimited(String, List<?>) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
-
Writes an attribute by converting a list into a comma-separated string.
- writeAttributeDelimited(String, List<?>, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
-
Writes an attribute by converting a list into a comma-separated string.
- writeAttributeDisabled() - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
-
Write a "disabled" attribute set to
true
. - writeAttributeDisabled(boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
-
Write a "disabled" attribute.
- writeAttributeDisabled(Boolean, boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
-
Write a "disabled" attribute.
- 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(char[], int, int) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
- writeCharacters(String) - 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()
. - writeElementDelimited(String, List<?>) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
-
Writes an element by converting a list into a comma-separated string.
- writeElementDelimited(String, List<?>, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
-
Writes an element by converting a list into a comma-separated string.
- 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.
- writeElementDisabled(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
-
Writes an empty element with a "disabled" attribute set to
true
. - writeElementDisabled(String, Class<?>) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
-
Writes an empty element with a "disabled" attribute set to
true
and a "class" attribute matching the class name. - 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.
- writeElementFile(String, File) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
-
Writes a
File
element. - writeElementFile(String, File, boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
-
Writes a
File
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 an element object as string.
- writeElementObject(String, Object, boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
-
Writes an element object as string.
- writeElementObjectList(String, String, List<?>) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
-
Writes a list of objects.
- writeElementObjectList(String, String, List<?>, boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
-
Writes a list of objects.
- 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) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
- 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
- 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
- writeObject(String, Object) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
-
Writes an object.
- writeObject(String, Object, boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
-
Writes an object.
- writeObjectList(String, String, List<? extends Object>) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
-
Writes a list of objects.
- 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, Class<?>) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
-
Writes a start element of the supplied name, with a "class" attribute for the given class.
- writeStartElement(String, Class<?>, boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
-
Writes a start element of the supplied name, with a "class" attribute for the given class, and a "disabled" attribute if
true
. - 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 - Class in com.norconex.commons.lang.xml
-
XML DOM wrapper facilitating node querying and automatically creating, validating, and populating classes from/to XML, with support for
IXMLConfigurable
andJAXB
. - XML - Static variable in class com.norconex.commons.lang.file.ContentType
- XML - Static variable in class com.norconex.commons.lang.ResourceLoader
- XML(File) - Constructor for class com.norconex.commons.lang.xml.XML
-
Parse an XML file into an XML document, without consideration for namespaces.
- XML(Reader) - Constructor for class com.norconex.commons.lang.xml.XML
-
Parse an XML stream into an XML document, without consideration for namespaces.
- XML(String) - Constructor for class com.norconex.commons.lang.xml.XML
-
Parse an XML string into an XML document, without consideration for namespaces.
- XML(String, Object) - Constructor for class com.norconex.commons.lang.xml.XML
- XML(Path) - Constructor for class com.norconex.commons.lang.xml.XML
-
Parse an XML file into an XML document, without consideration for namespaces.
- XML(Node) - Constructor for class com.norconex.commons.lang.xml.XML
-
Creates an XML with the given node.
- XML.Builder - Class in com.norconex.commons.lang.xml
- XMLCursor - Class in com.norconex.commons.lang.xml
-
XML cursor referencing the current position or element in XML traversal.
- XMLExampleTaglet - Class in com.norconex.commons.lang.javadoc
-
{@nx.xml.example} XML beautifier with enhanced functionality.
- XMLExampleTaglet() - Constructor for class com.norconex.commons.lang.javadoc.XMLExampleTaglet
- XMLException - Exception in com.norconex.commons.lang.xml
-
Runtime exception for XML-related issues.
- XMLException() - Constructor for exception com.norconex.commons.lang.xml.XMLException
-
Constructor.
- XMLException(String) - Constructor for exception com.norconex.commons.lang.xml.XMLException
-
Constructor.
- XMLException(String, Throwable) - Constructor for exception com.norconex.commons.lang.xml.XMLException
-
Constructor.
- XMLException(Throwable) - Constructor for exception com.norconex.commons.lang.xml.XMLException
-
Constructor.
- XMLFlow<T> - Class in com.norconex.commons.lang.xml.flow
-
Treats an XML block as being a mix of predicate and consumer classes to create an execution "flow".
- XMLFlow() - Constructor for class com.norconex.commons.lang.xml.flow.XMLFlow
- XMLFlow(Class<? extends IXMLFlowConsumerAdapter<T>>, Class<? extends IXMLFlowPredicateAdapter<T>>) - Constructor for class com.norconex.commons.lang.xml.flow.XMLFlow
- XMLFlowException - Exception in com.norconex.commons.lang.xml.flow
-
Runtime exception for XML-related issues.
- XMLFlowException() - Constructor for exception com.norconex.commons.lang.xml.flow.XMLFlowException
-
Constructor.
- XMLFlowException(String) - Constructor for exception com.norconex.commons.lang.xml.flow.XMLFlowException
-
Constructor.
- XMLFlowException(String, Throwable) - Constructor for exception com.norconex.commons.lang.xml.flow.XMLFlowException
-
Constructor.
- XMLFlowException(Throwable) - Constructor for exception com.norconex.commons.lang.xml.flow.XMLFlowException
-
Constructor.
- XMLFormatter - Class in com.norconex.commons.lang.xml
-
Simple XML Formatter.
- XMLFormatter() - Constructor for class com.norconex.commons.lang.xml.XMLFormatter
- XMLFormatter.Builder - Class in com.norconex.commons.lang.xml
- XMLFormatter.Builder.AttributeWrap - Enum in com.norconex.commons.lang.xml
- XMLTaglet - Class in com.norconex.commons.lang.javadoc
-
{@nx.xml} XML beautifier with enhanced functionality.
- XMLTaglet() - Constructor for class com.norconex.commons.lang.javadoc.XMLTaglet
- XMLTaglet(String, Function<TagContent, String>) - Constructor for class com.norconex.commons.lang.javadoc.XMLTaglet
- XMLUsageTaglet - Class in com.norconex.commons.lang.javadoc
-
{@nx.xml.usage} XML beautifier with enhanced functionality.
- XMLUsageTaglet() - Constructor for class com.norconex.commons.lang.javadoc.XMLUsageTaglet
- XMLUtil - Class in com.norconex.commons.lang.xml
-
Utility XML-related methods.
- XMLValidationError - Class in com.norconex.commons.lang.xml
-
A configuration error resulting from validation.
- XMLValidationError(XMLValidationError.Severity, String) - Constructor for class com.norconex.commons.lang.xml.XMLValidationError
- XMLValidationError.Severity - Enum in com.norconex.commons.lang.xml
- XMLValidationException - Exception in com.norconex.commons.lang.xml
-
Runtime exception for configuration related issues.
- XMLValidationException(List<XMLValidationError>) - Constructor for exception com.norconex.commons.lang.xml.XMLValidationException
-
Constructor.
- XMLValidationException(List<XMLValidationError>, XML) - Constructor for exception com.norconex.commons.lang.xml.XMLValidationException
-
Constructor.
Y
- YB - com.norconex.commons.lang.unit.DataUnit
- YBIT - com.norconex.commons.lang.unit.DataUnit
- YEAR - com.norconex.commons.lang.time.DurationUnit
- 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) - Constructor for class com.norconex.commons.lang.time.YearMonthDay
-
Constructs a YearMonthDay with the specified year.
- YearMonthDay(int, int) - Constructor for class com.norconex.commons.lang.time.YearMonthDay
-
Constructs a YearMonthDay with the specified year and month.
- YearMonthDay(int, int, int) - Constructor for class com.norconex.commons.lang.time.YearMonthDay
-
Constructs a YearMonthDay with the specified values.
- YearMonthDay(String) - Constructor for class com.norconex.commons.lang.time.YearMonthDay
-
Constructs a YearMonthDay from a string of this format:
yyyy-MM-dd
. - YearMonthDay(Calendar) - Constructor for class com.norconex.commons.lang.time.YearMonthDay
-
Constructs a YearMonthDay from a
Calendar
. - YearMonthDay(Date) - Constructor for class com.norconex.commons.lang.time.YearMonthDay
-
Constructs a YearMonthDay from a
Date
. - 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(Calendar, Calendar) - Constructor for class com.norconex.commons.lang.time.YearMonthDayInterval
- YearMonthDayInterval(Date, Date) - Constructor for class com.norconex.commons.lang.time.YearMonthDayInterval
- YIB - com.norconex.commons.lang.unit.DataUnit
- YIBIT - com.norconex.commons.lang.unit.DataUnit
Z
- ZB - com.norconex.commons.lang.unit.DataUnit
- ZBIT - com.norconex.commons.lang.unit.DataUnit
- ZIB - com.norconex.commons.lang.unit.DataUnit
- ZIBIT - com.norconex.commons.lang.unit.DataUnit
- ZIP - Static variable in class com.norconex.commons.lang.file.ContentType
- ZonedDateTimeConverter - Class in com.norconex.commons.lang.convert
-
ZonedDateTime
converter. - ZonedDateTimeConverter() - Constructor for class com.norconex.commons.lang.convert.ZonedDateTimeConverter
All Classes All Packages