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

A

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

B

beforeStreaming() - Method in class com.norconex.commons.lang.io.StreamGobbler
Invoked just before steaming begins, in a new thread.
BMP - Static variable in class com.norconex.commons.lang.file.ContentType
 
borrowBytes(InputStream, int) - Static method in class com.norconex.commons.lang.io.IOUtil
Gets and resets the specified number of bytes from the input stream.
ByteArrayOutputStream - Class in com.norconex.commons.lang.io
This class is an alternate version of Java ByteArrayOutputStream.
ByteArrayOutputStream() - Constructor for class com.norconex.commons.lang.io.ByteArrayOutputStream
Creates a new byte array output stream.
ByteArrayOutputStream(int) - Constructor for class com.norconex.commons.lang.io.ByteArrayOutputStream
Creates a new byte array output stream, with a buffer capacity of the specified size, in bytes.
ByteBufferInputStream - Class in com.norconex.commons.lang.io
Wraps a ByteBuffer in an InputStream.
ByteBufferInputStream(ByteBuffer) - Constructor for class com.norconex.commons.lang.io.ByteBufferInputStream
 

C

CachedInputStream - Class in com.norconex.commons.lang.io
InputStream wrapper that can be re-read any number of times.
CachedOutputStream - Class in com.norconex.commons.lang.io
OutputStream wrapper that caches the output so it can be retrieved once as a CachedInputStream.
CachedStreamFactory - Class in com.norconex.commons.lang.io
 
CachedStreamFactory(int, int) - Constructor for class com.norconex.commons.lang.io.CachedStreamFactory
Constructor.
CachedStreamFactory(int, int, File) - Constructor for class com.norconex.commons.lang.io.CachedStreamFactory
Constructor.
CachedStreamFactory.MemoryTracker - Class in com.norconex.commons.lang.io
 
ClassFinder - Class in com.norconex.commons.lang
Utility class for finding names of classes implementing an interface or class in directories or JAR files.
clear() - Method in class com.norconex.commons.lang.map.ObservableMap
 
clearStages() - Method in class com.norconex.commons.lang.pipeline.Pipeline
 
close() - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
Closing a ByteArrayOutputStream has no effect.
close() - Method in class com.norconex.commons.lang.io.CachedOutputStream
 
close() - Method in class com.norconex.commons.lang.io.ReverseFileInputStream
 
close() - Method in class com.norconex.commons.lang.io.TextReader
 
close() - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
com.norconex.commons.lang - package com.norconex.commons.lang
Miscellaneous classes.
com.norconex.commons.lang.config - package com.norconex.commons.lang.config
Classes making it easier to deal with configuration files.
com.norconex.commons.lang.encrypt - package com.norconex.commons.lang.encrypt
Encryption-related classes.
com.norconex.commons.lang.file - package com.norconex.commons.lang.file
File-related utility classes.
com.norconex.commons.lang.io - package com.norconex.commons.lang.io
Utility classes when dealing with files and directories.
com.norconex.commons.lang.jar - package com.norconex.commons.lang.jar
Utility classes related to jar file duplicate and version conflict detection and resolution.
com.norconex.commons.lang.map - package com.norconex.commons.lang.map
Enhanced and/or useful versions of Map.
com.norconex.commons.lang.pipeline - package com.norconex.commons.lang.pipeline
Simple pipeline framework, allowing the queue of executable tasks.
com.norconex.commons.lang.time - package com.norconex.commons.lang.time
Time-related utility classes.
com.norconex.commons.lang.unit - package com.norconex.commons.lang.unit
Classes making it easier to deal with unit conversions and formatting.
com.norconex.commons.lang.url - package com.norconex.commons.lang.url
Classes making it easier to deal with and manipulate URLs.
com.norconex.commons.lang.xml - package com.norconex.commons.lang.xml
XML-related classes.
compareTo(JarFile) - Method in class com.norconex.commons.lang.jar.JarFile
 
compareTo(YearMonthDay) - Method in class com.norconex.commons.lang.time.YearMonthDay
 
ConfigurationException - Exception in com.norconex.commons.lang.config
Runtime exception for configuration related issues.
ConfigurationException() - Constructor for exception com.norconex.commons.lang.config.ConfigurationException
Constructor.
ConfigurationException(String) - Constructor for exception com.norconex.commons.lang.config.ConfigurationException
Constructor.
ConfigurationException(Throwable) - Constructor for exception com.norconex.commons.lang.config.ConfigurationException
Constructor.
ConfigurationException(String, Throwable) - Constructor for exception com.norconex.commons.lang.config.ConfigurationException
Constructor.
ConfigurationLoader - Class in com.norconex.commons.lang.config
Class parsing a Velocity template (which can have parse/include directives) and using separate files for defining Velocity variables.
ConfigurationLoader() - Constructor for class com.norconex.commons.lang.config.ConfigurationLoader
Constructor.
ConfigurationLoader(Properties) - Constructor for class com.norconex.commons.lang.config.ConfigurationLoader
Constructor.
ConfigurationUtil - Class in com.norconex.commons.lang.config
Utility methods when dealing with configuration files.
contains(ContentType) - Method in class com.norconex.commons.lang.file.ContentFamily
 
contains(String) - Method in class com.norconex.commons.lang.file.ContentFamily
 
contains(File) - Method in class com.norconex.commons.lang.jar.JarDuplicates
Gets whether this duplicate batch contains the given jar file.
contains(Date) - Method in class com.norconex.commons.lang.time.YearMonthDay
Whether this YearmMonthDay contains the given Date (i.e.
contains(YearMonthDay) - Method in class com.norconex.commons.lang.time.YearMonthDayInterval
Whether the YearMonthDay falls between this interval (inclusive endpoints).
contains(Date) - Method in class com.norconex.commons.lang.time.YearMonthDayInterval
Whether the date falls between this interval (inclusive endpoints).
containsKey(Object) - Method in class com.norconex.commons.lang.map.ObservableMap
 
containsValue(Object) - Method in class com.norconex.commons.lang.map.ObservableMap
 
ContentFamily - Class in com.norconex.commons.lang.file
Represents a family of content types.
ContentType - Class in com.norconex.commons.lang.file
Represents a file Content-Type (also called MIME-Type or Media Type).
convert(long, DataUnit) - Method in enum com.norconex.commons.lang.unit.DataUnit
Converts a given source data amount and type to this type.
copyJarDirectory(String, String) - Method in class com.norconex.commons.lang.jar.JarCopier
Copies Jars from a source directory to a target one taking into consideration Jar versions.
copyJarDirectory(File, File) - Method in class com.norconex.commons.lang.jar.JarCopier
Copies Jars from a source directory to a target one taking into consideration Jar versions.
copyJarFile(String, String) - Method in class com.norconex.commons.lang.jar.JarCopier
Copies a single Jar to a target directory, taking into consideration Jar versions.
copyJarFile(File, File) - Method in class com.norconex.commons.lang.jar.JarCopier
Copies a single Jar to a target directory, taking into consideration Jar versions.
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.
createDateDirs(File) - Static method in class com.norconex.commons.lang.io.FileUtil
Deprecated.
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.io.FileUtil
Deprecated.
Creates (if not already existing) a series of directories reflecting a date, up to the day unit, under a given parent directory.
createDateTimeDirs(File) - Static method in class com.norconex.commons.lang.file.FileUtil
Creates (if not already existing) a series of directories reflecting the current date and time, up to the seconds, under a given parent directory.
createDateTimeDirs(File, Date) - Static method in class com.norconex.commons.lang.file.FileUtil
Creates (if not already existing) a series of directories reflecting a date and time, up to the seconds, under a given parent directory.
createDateTimeDirs(File) - Static method in class com.norconex.commons.lang.io.FileUtil
Deprecated.
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.io.FileUtil
Deprecated.
Creates (if not already existing) a series of directories reflecting a date and time, up to the seconds, under a given parent directory.
createDirsForFile(File) - Static method in class com.norconex.commons.lang.file.FileUtil
Create all parent directories for a file if they do not exists.
createDirsForFile(File) - Static method in class com.norconex.commons.lang.io.FileUtil
Deprecated.
Create all parent directories for a file if they do not exists.
Credentials(String, String) - Constructor for class com.norconex.commons.lang.url.URLStreamer.Credentials
 
CSV - Static variable in class com.norconex.commons.lang.file.ContentType
 

D

DataUnit - Enum in com.norconex.commons.lang.unit
A DataUnit represents data amounts at a given unit of granularity and provides utility methods to convert across units.
DataUnitFormatter - Class in com.norconex.commons.lang.unit
Formats a data unit as string.
DataUnitFormatter() - Constructor for class com.norconex.commons.lang.unit.DataUnitFormatter
Creates a new DataUnit formatter with default system locale, without decimals.
DataUnitFormatter(Locale) - Constructor for class com.norconex.commons.lang.unit.DataUnitFormatter
Creates a new DataUnit formatter without decimals.
DataUnitFormatter(int) - Constructor for class com.norconex.commons.lang.unit.DataUnitFormatter
Creates a new DataUnit formatter with default system locale with the maximum number of decimals returned when applicable.
DataUnitFormatter(Locale, int) - Constructor for class com.norconex.commons.lang.unit.DataUnitFormatter
Creates a new DataUnit formatter with the maximum number of decimals returned when applicable.
DataUnitFormatter(Locale, int, boolean) - Constructor for class com.norconex.commons.lang.unit.DataUnitFormatter
Creates a new DataUnit formatter with the maximum number of decimals returned when applicable.
decodeUnreservedCharacters() - Method in class com.norconex.commons.lang.url.URLNormalizer
Decodes percent-encoded unreserved characters.
decrypt(String, EncryptionKey) - Static method in class com.norconex.commons.lang.encrypt.EncryptionUtil
Decrypts the given encrypted text with the encryption key supplied.
DEFAULT_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_MAX_READ_SIZE - Static variable in class com.norconex.commons.lang.io.TextReader
 
DEFAULT_MULTIVALUE_DELIMITER - Static variable in class com.norconex.commons.lang.map.Properties
Default delimiter when storing/loading multi-values to/from .properties files.
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.
deleteEmptyDirs(File) - Static method in class com.norconex.commons.lang.io.FileUtil
Deprecated.
Deletes all directories that are empty from a given parent directory.
deleteEmptyDirs(File, Date) - Static method in class com.norconex.commons.lang.io.FileUtil
Deprecated.
Deletes all directories that are empty and are older than the given date.
deleteFile(File) - Static method in class com.norconex.commons.lang.file.FileUtil
Deprecated.
deleteFile(File) - Static method in class com.norconex.commons.lang.io.FileUtil
Deprecated.
Deletes a file or a directory recursively.
disableDelimiterParsing(XMLConfiguration) - Static method in class com.norconex.commons.lang.config.ConfigurationUtil
Disables delimiter parsing for both attributes and elements.
dispose() - Method in class com.norconex.commons.lang.io.CachedInputStream
 
DurationUtil - Class in com.norconex.commons.lang.time
Utility class for duration-related features.

E

encodeNonURICharacters() - Method in class com.norconex.commons.lang.url.URLNormalizer
Encodes all characters that are not supported characters in a URI (not to confuse with URL), as defined by the RFC 3986 standard.
encodePath(String) - Static method in class com.norconex.commons.lang.url.HttpURL
URL-Encodes a URL path.
encodeQueryString(String) - Static method in class com.norconex.commons.lang.url.HttpURL
URL-Encodes the query string portion of a URL.
encodeSpaces() - Method in class com.norconex.commons.lang.url.URLNormalizer
Encodes space characters into plus signs (+) if they are part of the query string.
encrypt(String, EncryptionKey) - Static method in class com.norconex.commons.lang.encrypt.EncryptionUtil
Encrypts the given text with the encryption key supplied.
EncryptionException - Exception in com.norconex.commons.lang.encrypt
Runtime exception thrown if there is a problem with the encryption or decryption.
EncryptionException() - Constructor for exception com.norconex.commons.lang.encrypt.EncryptionException
 
EncryptionException(String, Throwable) - Constructor for exception com.norconex.commons.lang.encrypt.EncryptionException
 
EncryptionException(String) - Constructor for exception com.norconex.commons.lang.encrypt.EncryptionException
 
EncryptionException(Throwable) - Constructor for exception com.norconex.commons.lang.encrypt.EncryptionException
 
EncryptionKey - Class in com.norconex.commons.lang.encrypt
Pointer to the an encryption key, or the encryption key itself.
EncryptionKey(String, EncryptionKey.Source) - Constructor for class com.norconex.commons.lang.encrypt.EncryptionKey
Creates a new reference to an encryption key.
EncryptionKey(String) - Constructor for class com.norconex.commons.lang.encrypt.EncryptionKey
Creates a new encryption key where the value is the actual key.
EncryptionKey.Source - Enum in com.norconex.commons.lang.encrypt
 
EncryptionUtil - Class in com.norconex.commons.lang.encrypt
Simplified encryption and decryption methods using the "PBEWithMD5AndDES" algorithm with a supplied encryption key (which you can also think of as a passphrase, or password).
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.
EnhancedXMLStreamWriter(Writer) - Constructor for class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
EnhancedXMLStreamWriter(Writer, boolean) - Constructor for class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
EnhancedXMLStreamWriter(XMLStreamWriter) - Constructor for class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
EnhancedXMLStreamWriter(XMLStreamWriter, boolean) - Constructor for class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
entrySet() - Method in class com.norconex.commons.lang.map.ObservableMap
 
equals(Object) - Method in class com.norconex.commons.lang.encrypt.EncryptionKey
 
equals(Object) - Method in class com.norconex.commons.lang.file.ContentFamily
 
equals(Object) - Method in class com.norconex.commons.lang.file.ContentType
 
equals(Object) - Method in class com.norconex.commons.lang.jar.JarFile
 
equals(Object) - Method in class com.norconex.commons.lang.map.MapChangeEvent
 
equals(Object) - Method in class com.norconex.commons.lang.map.PropertyMatcher
 
equals(Object) - Method in class com.norconex.commons.lang.time.YearMonthDay
 
equals(Object) - Method in class com.norconex.commons.lang.unit.DataUnitFormatter
 
equals(Object) - Method in class com.norconex.commons.lang.url.HttpURL
 
equalsAll(Object, Object...) - Static method in class com.norconex.commons.lang.EqualsUtil
Whether a source object equals ALL of the target objects
equalsAllIgnoreCase(String, String...) - Static method in class com.norconex.commons.lang.EqualsUtil
Whether a source string equals ALL of the target string.
equalsAny(Object, Object...) - Static method in class com.norconex.commons.lang.EqualsUtil
Whether a source object equals ANY of the target objects.
equalsAnyIgnoreCase(String, String...) - Static method in class com.norconex.commons.lang.EqualsUtil
Whether a source string equals ANY of the target string.
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.
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
 

F

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

G

get(Object) - Method in class com.norconex.commons.lang.map.ObservableMap
 
get(Object) - Method in class com.norconex.commons.lang.map.Properties
 
getBaseName() - Method in class com.norconex.commons.lang.jar.JarFile
 
getBigDecimal(String) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a BigDecimal.
getBigDecimal(String, BigDecimal) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a BigDecimal.
getBigDecimals(String) - Method in class com.norconex.commons.lang.map.Properties
Gets values as a list of BigDecimals.
getBoolean(String) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a boolean.
getBoolean(String, boolean) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a boolean.
getBooleans(String) - Method in class com.norconex.commons.lang.map.Properties
Gets values as a list of booleans.
getByte(int) - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
Gets the single byte value found at specified offset.
getBytes(byte[], int) - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
Gets a byte array matching the specified offset and target byte array length.
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.
getClass(String) - Method in class com.norconex.commons.lang.map.Properties
Gets a class, assuming key value is a fully qualified class name available in the classloader.
getClass(String, Class<?>) - Method in class com.norconex.commons.lang.map.Properties
Gets a class, assuming key value is a fully qualified class name available in the classloader.
getClasses(String) - Method in class com.norconex.commons.lang.map.Properties
Gets values as a list of initialized classes.
getContentFamily() - Method in class com.norconex.commons.lang.file.ContentType
 
getDate(String) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a date.
getDate(String, Date) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a date.
getDates(String) - Method in class com.norconex.commons.lang.map.Properties
Gets values as a list of dates.
getDay() - Method in class com.norconex.commons.lang.time.YearMonthDay
Gets the day.
getDays() - Method in class com.norconex.commons.lang.time.YearMonthDayInterval
Gets the number of days between start and end dates, rounded down.
getDisplayName() - Method in class com.norconex.commons.lang.file.ContentFamily
 
getDisplayName(Locale) - Method in class com.norconex.commons.lang.file.ContentFamily
 
getDisplayName() - Method in class com.norconex.commons.lang.file.ContentType
Gets a name for the content type suitable for display to a user.
getDisplayName(Locale) - Method in class com.norconex.commons.lang.file.ContentType
Gets a name for the content type suitable for display to a user.
getDouble(String) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a double.
getDouble(String, double) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a double.
getDoubles(String) - Method in class com.norconex.commons.lang.map.Properties
Gets values as a list of doubles.
getEncoding() - Method in class com.norconex.commons.lang.io.StreamGobbler
Gets the character encoding.
getEncoding() - Method in class com.norconex.commons.lang.url.HttpURL
Gets the character encoding.
getEncoding() - Method in class com.norconex.commons.lang.url.QueryString
Gets the character encoding.
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.
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.
getFile(String) - Method in class com.norconex.commons.lang.map.Properties
Gets a file, assuming key value is a file system path.
getFile(String, File) - Method in class com.norconex.commons.lang.map.Properties
Gets a file, assuming key value is a file system path.
getFiles(String) - Method in class com.norconex.commons.lang.map.Properties
Gets values as a list of files.
getFloat(String) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a float.
getFloat(String, float) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a float.
getFloats(String) - Method in class com.norconex.commons.lang.map.Properties
Gets values as a list of floats.
getFragment() - Method in class com.norconex.commons.lang.url.HttpURL
Gets the URL fragment.
getFreeMemory() - Static method in class com.norconex.commons.lang.MemoryUtil
Gets the JVM free memory.
getFreeMemory(boolean) - Static method in class com.norconex.commons.lang.MemoryUtil
Gets the JVM free memory.
getFullName() - Method in class com.norconex.commons.lang.jar.JarFile
 
getHost() - Method in class com.norconex.commons.lang.url.HttpURL
Gets the host portion of the URL.
getHostName() - Method in class com.norconex.commons.lang.url.URLStreamer.HttpHost
 
getId() - Method in class com.norconex.commons.lang.file.ContentFamily
 
getInputStream() - Method in class com.norconex.commons.lang.io.CachedOutputStream
 
getInstance() - Static method in class com.norconex.commons.lang.file.FileMonitor
Gets the file monitor instance.
getInstance() - Static method in class com.norconex.commons.lang.io.FileMonitor
Deprecated.
Gets the file monitor instance.
getInstanceMaxMemory() - Method in class com.norconex.commons.lang.io.CachedStreamFactory
 
getInt(String) - Method in class com.norconex.commons.lang.map.Properties
Gets value as an integer.
getInt(String, int) - Method in class com.norconex.commons.lang.map.Properties
Gets value as an integer.
getInts(String) - Method in class com.norconex.commons.lang.map.Properties
Gets values as a list of integers.
getJarFiles() - Method in class com.norconex.commons.lang.jar.JarDuplicates
Gets the jar files being considered duplicates of each other.
getKey() - Method in class com.norconex.commons.lang.map.MapChangeEvent
Gets the key that has is value changed.
getKey() - Method in class com.norconex.commons.lang.map.PropertyMatcher
 
getLastModified() - Method in class com.norconex.commons.lang.jar.JarFile
 
getLastPathSegment() - Method in class com.norconex.commons.lang.url.HttpURL
Gets the last URL path segment without the query string.
getLatestVersion() - Method in class com.norconex.commons.lang.jar.JarDuplicates
Gets the jar file that is considered the most recent of the batch.
getLocale(String) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a locale.
getLocale(String, Locale) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a locale.
getLocales(String) - Method in class com.norconex.commons.lang.map.Properties
Gets values as a list of locales.
getLong(String) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a long.
getLong(String, long) - Method in class com.norconex.commons.lang.map.Properties
Gets value as a long.
getLongs(String) - Method in class com.norconex.commons.lang.map.Properties
Gets values as a list of longs.
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
 
getMonth() - Method in class com.norconex.commons.lang.time.YearMonthDay
Gets the month.
getMonths() - Method in class com.norconex.commons.lang.time.YearMonthDayInterval
Gets the number of months between start and end dates, rounded down.
getMultiValueDelimiter() - Method in class com.norconex.commons.lang.map.Properties
Gets multiple value string delimiter.
getNamespaceContext() - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
getNewValue() - Method in class com.norconex.commons.lang.map.MapChangeEvent
Gets the new value.
getOldValue() - Method in class com.norconex.commons.lang.map.MapChangeEvent
Gets the old value.
getPassword() - Method in class com.norconex.commons.lang.url.URLStreamer.Credentials
 
getPath() - Method in class com.norconex.commons.lang.jar.JarFile
 
getPath() - Method in class com.norconex.commons.lang.url.HttpURL
Gets the URL path.
getPoolMaxMemory() - Method in class com.norconex.commons.lang.io.CachedStreamFactory
 
getPort() - Method in class com.norconex.commons.lang.url.HttpURL
Gets the URL port.
getPort() - Method in class com.norconex.commons.lang.url.URLStreamer.HttpHost
 
getPrefix(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
getProperty(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
getProtocol() - Method in class com.norconex.commons.lang.url.HttpURL
Gets the protocol portion of the URL (e.g.
getQueryString() - Method in class com.norconex.commons.lang.url.HttpURL
Gets the URL query string.
getRegex() - Method in class com.norconex.commons.lang.map.PropertyMatcher
 
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.
getSource() - Method in class com.norconex.commons.lang.encrypt.EncryptionKey
 
getSource() - Method in class com.norconex.commons.lang.map.MapChangeEvent
Gets the source on which the change was applied.
getStages() - Method in class com.norconex.commons.lang.pipeline.Pipeline
Gets the pipeline stages.
getStart() - Method in class com.norconex.commons.lang.time.YearMonthDayInterval
 
getStartDate() - Method in class com.norconex.commons.lang.time.YearMonthDayInterval
 
getStrategy() - Method in class com.norconex.commons.lang.jar.JarCopier
Gets the strategy used when encountering duplicates or version conflicts.
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.StreamGobbler
Returns stream listeners.
getString(String) - Method in class com.norconex.commons.lang.map.Properties
Gets value as string.
getString(String, String) - Method in class com.norconex.commons.lang.map.Properties
Gets value as string.
getStrings(String) - Method in class com.norconex.commons.lang.map.Properties
Gets values as a list of strings.
getType() - Method in class com.norconex.commons.lang.io.StreamGobbler
Gets the stream type.
getUsername() - Method in class com.norconex.commons.lang.url.URLStreamer.Credentials
 
getValue() - Method in class com.norconex.commons.lang.encrypt.EncryptionKey
 
getVersion() - Method in class com.norconex.commons.lang.jar.JarFile
 
getXmlAt(HierarchicalConfiguration, String) - Static method in class com.norconex.commons.lang.config.ConfigurationUtil
This method is the same as HierarchicalConfiguration.configurationAt(String), except that it first checks if the key exists before attempting to retrieve it, and returns null on missing keys instead of an IllegalArgumentException
getYear() - Method in class com.norconex.commons.lang.time.YearMonthDay
Gets the year.
getYears() - Method in class com.norconex.commons.lang.time.YearMonthDayInterval
Gets the number of years between start and end dates, rounded down.
GIF - Static variable in class com.norconex.commons.lang.file.ContentType
 

H

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

I

ICachedStream - Interface in com.norconex.commons.lang.io
 
IFileChangeListener - Interface in com.norconex.commons.lang.file
Listener for file changes, to be used with a FileMonitor.
IFileChangeListener - Interface in com.norconex.commons.lang.io
Deprecated.
Since 1.4.0, use IFileChangeListener
IFileVisitor - Interface in com.norconex.commons.lang.file
Visitor to be used with FileUtil.visit* methods.
IFileVisitor - Interface in com.norconex.commons.lang.io
Deprecated.
Since 1.4.0, use IFileVisitor
IInputStreamFilter - Interface in com.norconex.commons.lang.io
Filters lines of text read from an InputStream decorated with FilteredInputStream.
IMapChangeListener<K,V> - Interface in com.norconex.commons.lang.map
Listener for Map changes.
includeEvent(String, String, String) - Method in class com.norconex.commons.lang.config.RelativeIncludeEventHandler
 
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.
isAfter(YearMonthDay) - Method in class com.norconex.commons.lang.time.YearMonthDay
Whether this YearMonthDay represents a date after the given YearMonthDay.
isAfterDate(Date) - Method in class com.norconex.commons.lang.time.YearMonthDay
Whether this YearMonthDay represents a date after the given date.
isBefore(YearMonthDay) - Method in class com.norconex.commons.lang.time.YearMonthDay
Whether this YearMonthDay represents a date before the given YearMonthDay.
isBeforeDate(Date) - Method in class com.norconex.commons.lang.time.YearMonthDay
Whether this YearMonthDay represents a date before the given date.
isCacheEmpty() - Method in class com.norconex.commons.lang.io.CachedInputStream
Returns true if was nothing to cache (no writing was performed) or if the stream was closed.
isCacheEmpty() - Method in class com.norconex.commons.lang.io.CachedOutputStream
Returns true if was nothing to cache (no writing was performed) or if the stream was closed.
isCaseInsensitiveKeys() - Method in class com.norconex.commons.lang.map.Properties
Gets whether keys are case sensitive or not.
isCaseSensitive() - Method in class com.norconex.commons.lang.map.PropertyMatcher
 
isCaseSensitiveKeys() - Method in class com.norconex.commons.lang.map.Properties
Deprecated.
isDisposed() - Method in class com.norconex.commons.lang.io.CachedInputStream
 
isEmpty() - Method in class com.norconex.commons.lang.map.MapChangeSupport
 
isEmpty() - Method in class com.norconex.commons.lang.map.ObservableMap
 
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.
isPortDefault() - Method in class com.norconex.commons.lang.url.HttpURL
Whether this URL uses the default port for the protocol.
isSecure() - Method in class com.norconex.commons.lang.url.HttpURL
Whether this URL is secure (e.g.
IStreamListener - Interface in com.norconex.commons.lang.io
Listener that is being notified every time a line is processed from a given stream.
isVersionGreaterThan(JarFile) - Method in class com.norconex.commons.lang.jar.JarFile
 
IXMLConfigurable - Interface in com.norconex.commons.lang.config
Provides indications that a class is configurable via XML.

J

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

K

keySet() - Method in class com.norconex.commons.lang.map.ObservableMap
 

L

last() - Static method in class com.norconex.commons.lang.TimeIdGenerator
Returns the last generated number since the start of this JVM (that value is not persisted anywhere outside the JVM memory).
length() - Method in class com.norconex.commons.lang.io.CachedInputStream
Gets the length of the cached input stream.
lineStreamed(String, String) - Method in interface com.norconex.commons.lang.io.IStreamListener
Invoked when a line is streamed.
load(Reader) - Method in class com.norconex.commons.lang.map.Properties
Reads a property list (key and element pairs) from the input character stream in a simple line-oriented format.
load(Reader, String) - Method in class com.norconex.commons.lang.map.Properties
Reads a property list (key and element pairs) from the input character stream in a simple line-oriented format.
load(Map<?, ?>) - Method in class com.norconex.commons.lang.map.Properties
Reads all key/value pairs in the given map, and add them to this Map.
load(InputStream) - Method in class com.norconex.commons.lang.map.Properties
Reads a property list (key and element pairs) from the input character stream (UTF-8) in a simple line-oriented format.
load(InputStream, String) - Method in class com.norconex.commons.lang.map.Properties
Reads a property list (key and element pairs) from the input character stream (UTF8) in a simple line-oriented format.
loadFromString(String) - Method in class com.norconex.commons.lang.map.Properties
Reads a property list (key and element pairs) from the UTF-8 input string.
loadFromXML(Reader) - Method in interface com.norconex.commons.lang.config.IXMLConfigurable
Load XML configuration values and initialized this object with them.
loadFromXML(InputStream) - Method in class com.norconex.commons.lang.map.Properties
Loads all of the properties represented by the XML document on the specified input stream into this instance.
loadFromXML(InputStream, String) - Method in class com.norconex.commons.lang.map.Properties
Loads all of the properties represented by the XML document on the specified input stream into this instance.
loadString(File, File) - Method in class com.norconex.commons.lang.config.ConfigurationLoader
Loads a configuration file as a string.
loadXML(File) - Method in class com.norconex.commons.lang.config.ConfigurationLoader
Loads a configuration file.
loadXML(File, File) - Method in class com.norconex.commons.lang.config.ConfigurationLoader
Loads a configuration file.
loadXML(Reader) - Static method in class com.norconex.commons.lang.config.ConfigurationLoader
Deprecated.
lowerCaseSchemeHost() - Method in class com.norconex.commons.lang.url.URLNormalizer
Converts the scheme and host to lower case.

M

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

N

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

O

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

P

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

Q

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

R

read() - Method in class com.norconex.commons.lang.io.ByteBufferInputStream
 
read(byte[], int, int) - Method in class com.norconex.commons.lang.io.ByteBufferInputStream
 
read() - Method in class com.norconex.commons.lang.io.CachedInputStream
 
read(byte[], int, int) - Method in class com.norconex.commons.lang.io.CachedInputStream
 
read() - Method in class com.norconex.commons.lang.io.FilteredInputStream
 
read() - Method in class com.norconex.commons.lang.io.ReverseFileInputStream
 
read(char[], int, int) - Method in class com.norconex.commons.lang.io.TextReader
 
readText() - Method in class com.norconex.commons.lang.io.TextReader
Reads the next chunk of text, up to the maximum read size specified.
RegexInputStreamFilter - Class in com.norconex.commons.lang.io
Filters lines of text read from an InputStream decorated with FilteredInputStream, based on a given regular expression.
RegexInputStreamFilter(String) - Constructor for class com.norconex.commons.lang.io.RegexInputStreamFilter
Constructor.
RegexInputStreamFilter(Pattern) - Constructor for class com.norconex.commons.lang.io.RegexInputStreamFilter
Constructor.
RelativeIncludeEventHandler - Class in com.norconex.commons.lang.config
Velocity include event handler that check for includes both relative to a template location, and absolute to the current file system root otherwise.
RelativeIncludeEventHandler() - Constructor for class com.norconex.commons.lang.config.RelativeIncludeEventHandler
 
remove(Object) - Method in class com.norconex.commons.lang.map.ObservableMap
 
remove(Object) - Method in class com.norconex.commons.lang.map.Properties
 
removeDefaultPort() - Method in class com.norconex.commons.lang.url.URLNormalizer
Removes the default port (80 for http, and 443 for https).
removeDirectoryIndex() - Method in class com.norconex.commons.lang.url.URLNormalizer
Removes directory index files.
removeDotSegments() - Method in class com.norconex.commons.lang.url.URLNormalizer
Removes the unnecessary "." and ".." segments from the URL path.
removeDuplicateSlashes() - Method in class com.norconex.commons.lang.url.URLNormalizer
Removes duplicate slashes.
removeEmptyParameters() - Method in class com.norconex.commons.lang.url.URLNormalizer
Removes empty parameters.
removeFileChangeListener(IFileChangeListener, String) - Method in class com.norconex.commons.lang.file.FileMonitor
Remove the listener from the notification list.
removeFileChangeListener(IFileChangeListener, File) - Method in class com.norconex.commons.lang.file.FileMonitor
Remove the listener from the notification list.
removeFileChangeListener(IFileChangeListener, String) - Method in class com.norconex.commons.lang.io.FileMonitor
Deprecated.
Remove the listener from the notification list.
removeFileChangeListener(IFileChangeListener, File) - Method in class com.norconex.commons.lang.io.FileMonitor
Deprecated.
Remove the listener from the notification list.
removeFragment() - Method in class com.norconex.commons.lang.url.URLNormalizer
Removes the URL fragment (from the "#" character until the end).
removeMapChangeListener(IMapChangeListener<K, V>) - Method in class com.norconex.commons.lang.map.MapChangeSupport
Removes a IMapChangeListener from the listener list.
removeMapChangeListener(IMapChangeListener<K, V>) - Method in class com.norconex.commons.lang.map.ObservableMap
Removes a map change listener.
removeSessionIds() - Method in class com.norconex.commons.lang.url.URLNormalizer
Removes a URL-based session id.
removeStreamListener(IStreamListener) - Method in class com.norconex.commons.lang.io.StreamGobbler
Removes a stream listener.
removeTrailingQuestionMark() - Method in class com.norconex.commons.lang.url.URLNormalizer
Removes trailing question mark ("?").
removeTrailingSlash() - Method in class com.norconex.commons.lang.url.URLNormalizer
Removes any trailing slash (/) from a URL, before fragment (#) or query string (?).
removeWWW() - Method in class com.norconex.commons.lang.url.URLNormalizer
Removes "www." domain name prefix.
replaceIPWithDomainName() - Method in class com.norconex.commons.lang.url.URLNormalizer
Replaces IP address with domain name.
reset() - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
 
reset() - Method in class com.norconex.commons.lang.io.CachedInputStream
If no mark has previously been set, it resets to the beginning.
resolve() - Method in class com.norconex.commons.lang.encrypt.EncryptionKey
Locate the key according to its value type and return it.
ReverseFileInputStream - Class in com.norconex.commons.lang.io
InputStream implementation for streaming files in reverse order (from the end of file to its beginning).
ReverseFileInputStream(File) - Constructor for class com.norconex.commons.lang.io.ReverseFileInputStream
Creates a new ReverseFileInputStream instance.
rewind() - Method in class com.norconex.commons.lang.io.CachedInputStream
Rewinds this stream so it can be read again from the beginning.
run() - Method in class com.norconex.commons.lang.io.StreamGobbler
 

S

saveToXML(Writer) - Method in interface com.norconex.commons.lang.config.IXMLConfigurable
Saves this object as XML.
secureScheme() - Method in class com.norconex.commons.lang.url.URLNormalizer
Converts http scheme to https.
setBigDecimal(String, BigDecimal...) - Method in class com.norconex.commons.lang.map.Properties
Sets one or multiple BigDecimal values, replacing existing ones.
setBoolean(String, boolean...) - Method in class com.norconex.commons.lang.map.Properties
Sets one or multiple boolean values, replacing existing ones.
setClass(String, Class<?>...) - Method in class com.norconex.commons.lang.map.Properties
Sets one or multiple class values, replacing existing ones.
setContext(Context) - Method in class com.norconex.commons.lang.config.RelativeIncludeEventHandler
 
setDate(String, Date...) - Method in class com.norconex.commons.lang.map.Properties
Sets one or multiple date values, replacing existing ones.
setDefaultNamespace(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
setDouble(String, double...) - Method in class com.norconex.commons.lang.map.Properties
Sets one or multiple double values, replacing existing ones.
setFile(String, File...) - Method in class com.norconex.commons.lang.map.Properties
Sets one or multiple file values, replacing existing ones.
setFloat(String, float...) - Method in class com.norconex.commons.lang.map.Properties
Sets one or multiple float values, replacing existing ones.
setFragment(String) - Method in class com.norconex.commons.lang.url.HttpURL
Sets the URL fragment.
setHost(String) - Method in class com.norconex.commons.lang.url.HttpURL
Sets the host portion of the URL.
setInt(String, int...) - Method in class com.norconex.commons.lang.map.Properties
Sets one or multiple integer values, replacing existing ones.
setLocale(String, Locale...) - Method in class com.norconex.commons.lang.map.Properties
Sets one or multiple locale values, replacing existing ones.
setLong(String, long...) - Method in class com.norconex.commons.lang.map.Properties
Sets one or multiple long values, replacing existing ones.
setMultiValueDelimiter(String) - Method in class com.norconex.commons.lang.map.Properties
Sets multiple value string delimiter.
setNamespaceContext(NamespaceContext) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
setPath(String) - Method in class com.norconex.commons.lang.url.HttpURL
Sets the URL path.
setPort(int) - Method in class com.norconex.commons.lang.url.HttpURL
Sets the URL port.
setPrefix(String, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
setProtocol(String) - Method in class com.norconex.commons.lang.url.HttpURL
Sets the protocol portion of the URL.
setQueryString(QueryString) - Method in class com.norconex.commons.lang.url.HttpURL
Sets the URL query string.
setString(String, String...) - Method in class com.norconex.commons.lang.map.Properties
Sets one or multiple string values replacing existing ones.
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 any InterruptedException thrown.
SleeperException(String, InterruptedException) - Constructor for exception com.norconex.commons.lang.SleeperException
 
sleepHours(int) - Static method in class com.norconex.commons.lang.Sleeper
Sleeps for the number of hours specified.
sleepMillis(long) - Static method in class com.norconex.commons.lang.Sleeper
Sleeps for the number of milliseconds specified.
sleepMinutes(int) - Static method in class com.norconex.commons.lang.Sleeper
Sleeps for the number of minutes specified.
sleepNanos(long) - Static method in class com.norconex.commons.lang.Sleeper
Sleeps for the number of nanoseconds specified.
sleepSeconds(int) - Static method in class com.norconex.commons.lang.Sleeper
Sleeps for the number of seconds specified.
sortQueryParameters() - Method in class com.norconex.commons.lang.url.URLNormalizer
Sorts query parameters.
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.
store(Writer, String) - Method in class com.norconex.commons.lang.map.Properties
Writes this Map (key and element pairs) to the output character stream in a format suitable for using the Properties.load(Reader) method.
store(Writer, String, String) - Method in class com.norconex.commons.lang.map.Properties
Writes this Map (key and element pairs) to the output character stream in a format suitable for using the Properties.load(Reader, String) method.
store(OutputStream, String) - Method in class com.norconex.commons.lang.map.Properties
Writes this Map (key and element pairs) to the output character stream in a format suitable for using the Properties.load(InputStream) method.
store(OutputStream, String, String) - Method in class com.norconex.commons.lang.map.Properties
Writes this Map (key and element pairs) to the output character stream as UTF-8 in a format suitable for using the Properties.load(InputStream, String) method.
storeToString(String) - Method in class com.norconex.commons.lang.map.Properties
Writes this property list (key and element pairs) in this Properties table to the output stream as UTF-8 in a format suitable for loading into a Properties table using the load method.
storeToXML(OutputStream, String) - Method in class com.norconex.commons.lang.map.Properties
Emits an XML document representing all of the properties contained in this Map, using the specified encoding.
storeToXML(OutputStream, String, String) - Method in class com.norconex.commons.lang.map.Properties
Emits an XML document representing all of the properties contained in this Map, using the specified encoding.
storeToXML(OutputStream, String, String, String) - Method in class com.norconex.commons.lang.map.Properties
Emits an XML document representing all of the properties contained in this Map, using the specified encoding.
STRATEGY_DELETE_COPY - Static variable in class com.norconex.commons.lang.jar.JarCopier
Copy source Jar only if greater or same version as target Jar after deleting target Jar.
STRATEGY_INTERACTIVE - Static variable in class com.norconex.commons.lang.jar.JarCopier
Interactive, let the user chose (requires execution on command prompt).
STRATEGY_NO_COPY - Static variable in class com.norconex.commons.lang.jar.JarCopier
Do not copy source Jar (leave target Jar as is).
STRATEGY_PLAIN_COPY - Static variable in class com.norconex.commons.lang.jar.JarCopier
Copy source Jar regardless of target Jar (may overwrite or cause mixed versions).
STRATEGY_RENAME_COPY - Static variable in class com.norconex.commons.lang.jar.JarCopier
Copy source Jar only if greater or same version as target Jar after renaming target Jar (.bak-[timestamp]).
stream(String) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content.
stream(URL) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content.
stream(HttpURL) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content.
stream(String, URLStreamer.Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content.
stream(URL, URLStreamer.Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content.
stream(HttpURL, URLStreamer.Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content.
stream(String, URLStreamer.Credentials, URLStreamer.HttpHost) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content.
stream(URL, URLStreamer.Credentials, URLStreamer.HttpHost) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content.
stream(HttpURL, URLStreamer.Credentials, URLStreamer.HttpHost) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content.
stream(String, URLStreamer.Credentials, URLStreamer.HttpHost, URLStreamer.Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content.
stream(URL, URLStreamer.Credentials, URLStreamer.HttpHost, URLStreamer.Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content.
stream(HttpURL, URLStreamer.Credentials, URLStreamer.HttpHost, URLStreamer.Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content.
StreamException - Exception in com.norconex.commons.lang.io
Runtime exception when dealing with I/O streams.
StreamException() - Constructor for exception com.norconex.commons.lang.io.StreamException
Constructor.
StreamException(String) - Constructor for exception com.norconex.commons.lang.io.StreamException
Constructor.
StreamException(Throwable) - Constructor for exception com.norconex.commons.lang.io.StreamException
Constructor.
StreamException(String, Throwable) - Constructor for exception com.norconex.commons.lang.io.StreamException
Constructor.
StreamGobbler - Class in com.norconex.commons.lang.io
A stream gobbler will simply read incoming text from a stream.
StreamGobbler(InputStream) - Constructor for class com.norconex.commons.lang.io.StreamGobbler
Constructor.
StreamGobbler(InputStream, String) - Constructor for class com.norconex.commons.lang.io.StreamGobbler
Constructor.
StreamGobbler(InputStream, String, String) - Constructor for class com.norconex.commons.lang.io.StreamGobbler
Constructor.
streamToString(String, URLStreamer.Credentials, URLStreamer.HttpHost) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String using UTF-8 character encoding.
streamToString(String, URLStreamer.Credentials, URLStreamer.HttpHost, String) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String.
streamToString(URL, URLStreamer.Credentials, URLStreamer.HttpHost) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String.
streamToString(HttpURL, URLStreamer.Credentials, URLStreamer.HttpHost) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String.
streamToString(String, URLStreamer.Credentials, URLStreamer.HttpHost, URLStreamer.Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String using UTF-8 character encoding.
streamToString(String, URLStreamer.Credentials, URLStreamer.HttpHost, URLStreamer.Credentials, String) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String.
streamToString(URL, URLStreamer.Credentials, URLStreamer.HttpHost, URLStreamer.Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String.
streamToString(HttpURL, URLStreamer.Credentials, URLStreamer.HttpHost, URLStreamer.Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String.
streamToString(String, URLStreamer.Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String.
streamToString(URL, URLStreamer.Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String.
streamToString(HttpURL, URLStreamer.Credentials) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String.
streamToString(String) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String.
streamToString(URL) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String.
streamToString(HttpURL) - Static method in class com.norconex.commons.lang.url.URLStreamer
Streams URL content to a String.

T

tail(File, int) - Static method in class com.norconex.commons.lang.file.FileUtil
Returns the specified number of lines starting from the end of a text file.
tail(File, String, int) - Static method in class com.norconex.commons.lang.file.FileUtil
Returns the specified number of lines starting from the end of a text file.
tail(File, String, int, boolean) - Static method in class com.norconex.commons.lang.file.FileUtil
Returns the specified number of lines starting from the end of a text file.
tail(File, String, int, boolean, IInputStreamFilter) - Static method in class com.norconex.commons.lang.file.FileUtil
Returns the specified number of lines starting from the end of a text file.
tail(File, int) - Static method in class com.norconex.commons.lang.io.FileUtil
Deprecated.
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.io.FileUtil
Deprecated.
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.io.FileUtil
Deprecated.
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.io.FileUtil
Deprecated.
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.
TEXT - Static variable in class com.norconex.commons.lang.file.ContentType
 
TextReader - Class in com.norconex.commons.lang.io
Reads text form an input stream, splitting it wisely whenever the text is too large.
TextReader(Reader) - Constructor for class com.norconex.commons.lang.io.TextReader
Create a new text reader, reading 64KB at a time with TextReader.readText() is called.
TextReader(Reader, int) - Constructor for class com.norconex.commons.lang.io.TextReader
Constructor.
TextReader(Reader, int, boolean) - Constructor for class com.norconex.commons.lang.io.TextReader
Constructor.
TimeIdGenerator - Class in com.norconex.commons.lang
Generates a unique ID made out of the current time in milliseconds, combined with a thread-safe atomic sequence value that guarantees order and uniqueness within the same JVM.
toAbsolute(String, String) - Static method in class com.norconex.commons.lang.url.HttpURL
Converts a relative URL to an absolute one, based on the supplied base URL.
toBufferedInputStream(InputStream) - Static method in class com.norconex.commons.lang.io.ByteArrayOutputStream
Fetches entire contents of an InputStream and represent same data as result InputStream.
toBufferedInputStream(InputStream) - Static method in class com.norconex.commons.lang.io.IOUtil
Wraps the input stream in a BufferedInputStream if not a subclass already.
toBufferedReader(Reader) - Static method in class com.norconex.commons.lang.io.IOUtil
Wraps the reader in a BufferedReader if not a subclass already.
toByteArray() - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
Gets the current contents of this byte stream as a byte array.
toBytes(long) - Method in enum com.norconex.commons.lang.unit.DataUnit
 
toCalendar() - Method in class com.norconex.commons.lang.time.YearMonthDay
Converts this YearMonthDay to a Calendar at midnight.
toDate() - Method in class com.norconex.commons.lang.time.YearMonthDay
Converts this YearMonthDay to a Date at midnight.
toEndOfDayDate() - Method in class com.norconex.commons.lang.time.YearMonthDay
Gets the date as midnight the day after to represent the end of the day.
toGigabytes(long) - Method in enum com.norconex.commons.lang.unit.DataUnit
 
toKilobytes(long) - Method in enum com.norconex.commons.lang.unit.DataUnit
 
toMegabytes(long) - Method in enum com.norconex.commons.lang.unit.DataUnit
 
toMillis() - Method in class com.norconex.commons.lang.time.YearMonthDay
Converts this YearMonthDay to the current time as UTC milliseconds from the epoch.
toPetabytes(long) - Method in enum com.norconex.commons.lang.unit.DataUnit
 
toSafeFileName(String) - Static method in class com.norconex.commons.lang.file.FileUtil
Converts any String to a valid file-system file name representation.
toSafeFileName(String) - Static method in class com.norconex.commons.lang.io.FileUtil
Deprecated.
Converts any String to a valid file-system file name representation.
toString() - Method in class com.norconex.commons.lang.encrypt.EncryptionKey
 
toString() - Method in class com.norconex.commons.lang.file.ContentFamily
 
toString() - Method in class com.norconex.commons.lang.file.ContentType
Returns the raw content-type representation.
toString() - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
Gets the current contents of this byte stream as a string.
toString(String) - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
Gets the current contents of this byte stream as a string using the specified encoding.
toString() - Method in class com.norconex.commons.lang.jar.JarFile
 
toString() - Method in class com.norconex.commons.lang.map.MapChangeEvent
 
toString() - Method in class com.norconex.commons.lang.map.ObservableMap
 
toString() - Method in class com.norconex.commons.lang.map.PropertyMatcher
 
toString() - Method in class com.norconex.commons.lang.time.YearMonthDay
Converts the YearMonthDay to a string of this format: yyyy-MM-dd.
toString(String) - Method in class com.norconex.commons.lang.time.YearMonthDay
 
toString() - Method in class com.norconex.commons.lang.time.YearMonthDayInterval
Gets the interval as a string of this format: yyyy-MM-dd - yyyy-MM-dd;
toString() - Method in class com.norconex.commons.lang.unit.DataUnitFormatter
 
toString() - Method in class com.norconex.commons.lang.url.HttpURL
Returns a string representation of this URL, properly encoded.
toString() - Method in class com.norconex.commons.lang.url.QueryString
Convert this QueryString to a URL-encoded string representation that can be appended as is to a URL with no query string.
toString() - Method in class com.norconex.commons.lang.url.URLNormalizer
Returns the normalized URL as string.
toTerabytes(long) - Method in enum com.norconex.commons.lang.unit.DataUnit
 
toURI() - Method in class com.norconex.commons.lang.url.HttpURL
Converts this HttpURL to a URI, making sure appropriate characters are escaped properly.
toURI(String) - Static method in class com.norconex.commons.lang.url.HttpURL
Converts the supplied URL to a URI, making sure appropriate characters are encoded properly using UTF-8.
toURI() - Method in class com.norconex.commons.lang.url.URLNormalizer
Returns the normalized URL as URI.
toURL() - Method in class com.norconex.commons.lang.url.HttpURL
Converts this HttpURL to a regular URL, making sure appropriate characters are escaped properly.
toURL(String) - Static method in class com.norconex.commons.lang.url.HttpURL
Converts the supplied URL to a URL, making sure appropriate characters are encoded properly using UTF-8.
toURL() - Method in class com.norconex.commons.lang.url.URLNormalizer
Returns the normalized URL as URL.
TSV - Static variable in class com.norconex.commons.lang.file.ContentType
 

U

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

V

valueOf(String) - Static method in enum com.norconex.commons.lang.encrypt.EncryptionKey.Source
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class com.norconex.commons.lang.file.ContentFamily
 
valueOf(String) - Static method in class com.norconex.commons.lang.file.ContentType
Creates a new content type.
valueOf(String) - Static method in enum com.norconex.commons.lang.unit.DataUnit
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.norconex.commons.lang.encrypt.EncryptionKey.Source
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class com.norconex.commons.lang.map.ObservableMap
 
values() - Static method in enum com.norconex.commons.lang.unit.DataUnit
Returns an array containing the constants of this enum type, in the order they are declared.
valuesOf(String...) - Static method in class com.norconex.commons.lang.file.ContentType
Creates a null-safe array of content types.
visit(File) - Method in interface com.norconex.commons.lang.file.IFileVisitor
Visits a file or directory.
visit(File) - Method in interface com.norconex.commons.lang.io.IFileVisitor
Deprecated.
Visits a file or directory.
visitAllDirs(File, IFileVisitor) - Static method in class com.norconex.commons.lang.file.FileUtil
Visits only directories under a directory.
visitAllDirs(File, IFileVisitor, FileFilter) - Static method in class com.norconex.commons.lang.file.FileUtil
Visits only directories under a directory.
visitAllDirs(File, IFileVisitor) - Static method in class com.norconex.commons.lang.io.FileUtil
Deprecated.
Visits only directories under a directory.
visitAllDirs(File, IFileVisitor, FileFilter) - Static method in class com.norconex.commons.lang.io.FileUtil
Deprecated.
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.
visitAllDirsAndFiles(File, IFileVisitor) - Static method in class com.norconex.commons.lang.io.FileUtil
Deprecated.
Visits all files and directories under a directory.
visitAllDirsAndFiles(File, IFileVisitor, FileFilter) - Static method in class com.norconex.commons.lang.io.FileUtil
Deprecated.
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.
visitAllFiles(File, IFileVisitor) - Static method in class com.norconex.commons.lang.io.FileUtil
Deprecated.
Visits all files (and only files) under a directory, including sub-directories.
visitAllFiles(File, IFileVisitor, FileFilter) - Static method in class com.norconex.commons.lang.io.FileUtil
Deprecated.
Visits all files (and only files) under a directory, including sub-directories.
visitEmptyDirs(File, IFileVisitor) - Static method in class com.norconex.commons.lang.file.FileUtil
Visits only empty directories under a directory.
visitEmptyDirs(File, IFileVisitor, FileFilter) - Static method in class com.norconex.commons.lang.file.FileUtil
Visits only empty directories under a directory.
visitEmptyDirs(File, IFileVisitor) - Static method in class com.norconex.commons.lang.io.FileUtil
Deprecated.
Visits only empty directories under a directory.
visitEmptyDirs(File, IFileVisitor, FileFilter) - Static method in class com.norconex.commons.lang.io.FileUtil
Deprecated.
Visits only empty directories under a directory.

W

write(byte[], int, int) - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
Write the bytes to byte array.
write(int) - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
Write a byte to byte array.
write(InputStream) - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
Writes the entire contents of the specified input stream to this byte stream.
write(int) - Method in class com.norconex.commons.lang.io.CachedOutputStream
 
write(byte[], int, int) - Method in class com.norconex.commons.lang.io.CachedOutputStream
 
writeAttribute(String, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeAttribute(String, String, String, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeAttribute(String, String, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeAttributeBoolean(String, Boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeAttributeClass(String, Class<?>) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeAttributeDouble(String, Double) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeAttributeFloat(String, Float) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeAttributeInteger(String, Integer) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeAttributeLong(String, Long) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeAttributeString(String, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeCData(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeCharacters(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeCharacters(char[], int, int) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeComment(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeDefaultNamespace(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeDTD(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeElementBoolean(String, Boolean) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeElementClass(String, Class<?>) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeElementDouble(String, Double) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeElementFloat(String, Float) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeElementInteger(String, Integer) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeElementLong(String, Long) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeElementString(String, 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
 
writeEmptyElement(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeEndDocument() - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeEndElement() - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeEntityRef(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeNamespace(String, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeProcessingInstruction(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeProcessingInstruction(String, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeStartDocument() - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeStartDocument(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeStartDocument(String, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeStartElement(String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeStartElement(String, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeStartElement(String, String, String) - Method in class com.norconex.commons.lang.xml.EnhancedXMLStreamWriter
 
writeTo(OutputStream) - Method in class com.norconex.commons.lang.io.ByteArrayOutputStream
Writes the entire contents of this byte stream to the specified output stream.

X

XML - Static variable in class com.norconex.commons.lang.file.ContentType
 

Y

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

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