A B C D E F G H I J L N O P R S T U V W

A

aborted(S, T, Exception) - Method in interface com.univocity.api.statistics.DataTransfer
Notifies that the data transfer has been aborted.
aborted(S, T, Exception) - Method in class com.univocity.api.statistics.DataTransferListener
 
aborted(S, T, Exception) - Method in class com.univocity.api.statistics.DataTransferStatistics
 
aborted(Object, Object, Exception) - Method in class com.univocity.api.statistics.NoopDataTransfer
 
accept(String) - Method in interface com.univocity.api.common.StringFilter
Tests whether a given String conforms to a specific criteria.
accept(String) - Method in class com.univocity.api.common.TrueStringFilter
 
add(ReaderProvider) - Method in class com.univocity.api.io.InputReaderQueue
Adds a ReaderProvider to the input queue
add(Reader) - Method in class com.univocity.api.io.InputReaderQueue
Adds a Reader to the input queue.
addCookies(Map<String, String>) - Method in class com.univocity.api.net.HttpRequest
Adds the given cookies to the Cookie HTTP header.
addDataParameter(DataParameter) - Method in class com.univocity.api.net.HttpRequest
Adds a data parameter to the body of RequestMethod.POST requests as a plain String
addDataParameter(String, Object) - Method in class com.univocity.api.net.HttpRequest
Adds a parameter to the body of RequestMethod.POST requests as a plain String
addDataParameter(String, String, InputStream, String) - Method in class com.univocity.api.net.HttpRequest
Add an input stream as a request data parameter.
addDataParameter(String, String, ResourceProvider<InputStream>, String) - Method in class com.univocity.api.net.HttpRequest
Add an input stream as a request data parameter.
addDataParameter(String, String, InputStream) - Method in class com.univocity.api.net.HttpRequest
Add an input stream as a request data parameter.
addDataParameter(String, String, ResourceProvider<InputStream>) - Method in class com.univocity.api.net.HttpRequest
Add an input stream as a request data parameter.
addDataParameters(Map<String, String[]>, String...) - Method in class com.univocity.api.net.HttpRequest
Adds multiple parameters to the body of RequestMethod.POST requests as a plain Strings.
addDataParameters(Map<String, ?>) - Method in class com.univocity.api.net.HttpRequest
Adds multiple data parameters to the body of this request
addDataParameters(Collection<DataParameter>) - Method in class com.univocity.api.net.HttpRequest
Adds multiple data parameters to this HTTP request
addFile(File) - Method in class com.univocity.api.io.InputFileQueue
Adds a java.io.File to the queue.
addFile(File, String) - Method in class com.univocity.api.io.InputFileQueue
Adds a java.io.File to the queue.
addFile(File, Charset) - Method in class com.univocity.api.io.InputFileQueue
Adds a java.io.File to the queue.
addFile(String) - Method in class com.univocity.api.io.InputFileQueue
Adds a path to a file or resource to the queue.
addFile(String, String) - Method in class com.univocity.api.io.InputFileQueue
Adds a path to a file or resource to the queue.
addFile(String, Charset) - Method in class com.univocity.api.io.InputFileQueue
Adds a path to a file or resource to the queue.
addFile(FileProvider) - Method in class com.univocity.api.io.InputFileQueue
Adds a FileProvider to the input queue.
addHeader(String, String) - Method in class com.univocity.api.net.HttpRequest
Associates a value to a header.
addHeader(String, String, boolean) - Method in class com.univocity.api.net.HttpRequest
Associates a value to a header.
addHeaders(Map<String, String>) - Method in class com.univocity.api.net.HttpRequest
Adds the given values to the existing list of headers.
addHeaders(Map<String, String>, boolean) - Method in class com.univocity.api.net.HttpRequest
Adds the given values to the existing list of headers..
applyParameterValues() - Method in class com.univocity.api.common.ParameterizedString
Applies the parameter values provided using ParameterizedString.set(String, Object) and returns the resulting String Unless a default value is provided via ParameterizedString.getDefaultValue(), parameters without values provided will not be replaced.
applyParameterValues(StringBuilder) - Method in class com.univocity.api.common.ParameterizedString
Applies the parameter values provided using ParameterizedString.set(String, Object) and appends the resulting String to a given StringBuilder Unless a default value is provided via ParameterizedString.getDefaultValue(), parameters without values provided will not be replaced.
Args - Class in com.univocity.api.common
Utility class used to validate arguments and configuration options passed to objects in uniVocity's API.
Args() - Constructor for class com.univocity.api.common.Args
Protected to allow subclassing
assignVariablesToLastEntry(Map<String, Object>) - Method in class com.univocity.api.io.InputQueue
Assigns a set of variables and their values to the last entry added to this input queue
assignVariableToLastEntry(String, Object) - Method in class com.univocity.api.io.InputQueue
Assigns a variable and its value to the last entry added to this input queue

B

build(Class<T>, Object...) - Static method in class com.univocity.api.Builder
Creates a new instance of the given type, using the given arguments
build(Class<T>, Object...) - Method in interface com.univocity.api.CommonFactoryProvider
Returns an object implementation provided by uniVocity.
Builder - Class in com.univocity.api
This is the entry point to univocity's internal implementation classes.
Builder() - Constructor for class com.univocity.api.Builder
 

C

Choices - Annotation Type in com.univocity.api
Provides choices of what a parameter's value can be.
clearDataParameters() - Method in class com.univocity.api.net.HttpRequest
Removes all data parameters set on the body of this request.
clearDestination() - Method in class com.univocity.api.io.StringWriterProvider
Clears the contents written to the string so far
clearDestination() - Method in class com.univocity.api.io.WriterProvider
Removes any data contained in the resource being written using the instances of Writer provided by this class.
clearUrlParameters() - Method in class com.univocity.api.net.HttpRequest
Clears all values assigned to all parameters of the URL provided in the constructor of this class.
clearValues() - Method in class com.univocity.api.common.ParameterizedString
Clears the values of all parameters.
clone() - Method in class com.univocity.api.common.ParameterizedString
Clones this parameterzied string object.
clone() - Method in class com.univocity.api.net.DataParameter
 
clone() - Method in class com.univocity.api.net.HttpRequest
Clones this request and all its configurations.
clone() - Method in class com.univocity.api.net.UrlReaderProvider
Clones this object with all its configuration, but without the result of the HTTP request (i.e.
close() - Method in interface com.univocity.api.net.HttpResponse
Closes any resources associated with reading the request response content.
com.univocity.api - package com.univocity.api
 
com.univocity.api.common - package com.univocity.api.common
 
com.univocity.api.config - package com.univocity.api.config
 
com.univocity.api.exception - package com.univocity.api.exception
 
com.univocity.api.io - package com.univocity.api.io
 
com.univocity.api.net - package com.univocity.api.net
 
com.univocity.api.statistics - package com.univocity.api.statistics
 
CommonFactoryProvider - Interface in com.univocity.api
The CommonFactoryProvider is used to obtain actual implementations of interfaces and configured objects from an implementation .jar.
completed(S, T) - Method in interface com.univocity.api.statistics.DataTransfer
Notifies that a data transfer has been finalized.
completed(S, T) - Method in class com.univocity.api.statistics.DataTransferListener
 
completed(S, T) - Method in class com.univocity.api.statistics.DataTransferStatistics
 
completed(Object, Object) - Method in class com.univocity.api.statistics.NoopDataTransfer
 
contains(String) - Method in class com.univocity.api.common.ParameterizedString
Tests whether a given parameter name exists in this parameterized string.
cookies - Variable in class com.univocity.api.net.HttpMessage
 

D

dataDownloaded(DownloadStatistics, boolean) - Method in class com.univocity.api.statistics.DownloadListener
Notifies of an update on the status of a download process.
dataDownloaded(DownloadStatistics, boolean) - Method in class com.univocity.api.statistics.DownloadStatistics
Notifies of an update on the status of a download process.
DataInputException - Exception in com.univocity.api.exception
A DataInputException is the exception thrown to notify of errors when reading data from an input.
DataInputException(String, Throwable) - Constructor for exception com.univocity.api.exception.DataInputException
Constructs a new DataInputException exception with the specified detail message and cause.
DataInputException(String) - Constructor for exception com.univocity.api.exception.DataInputException
Constructs a new DataInputException exception with the specified detail message, and no cause.
DataInputException(Throwable) - Constructor for exception com.univocity.api.exception.DataInputException
Constructs a new DataInputException exception with the specified cause of error.
DataParameter - Class in com.univocity.api.net
Holds the details of a single data parameter sent in the body of POST requests.
DataParameter(String, String) - Constructor for class com.univocity.api.net.DataParameter
Creates a new data parameter
DataParameter(String, String, FileProvider) - Constructor for class com.univocity.api.net.DataParameter
Creates a new upload parameter to be sent on the body of a POST request.
DataParameter(String, String, InputStream) - Constructor for class com.univocity.api.net.DataParameter
Creates a new upload parameter to be sent on the body of a POST request.
DataParameter(String, String, ResourceProvider<InputStream>) - Constructor for class com.univocity.api.net.DataParameter
Creates a new upload parameter to be sent on the body of a POST request.
DataParameter(String, String, FileProvider, String) - Constructor for class com.univocity.api.net.DataParameter
Creates a new upload parameter to be sent on the body of a POST request.
DataParameter(String, String, InputStream, String) - Constructor for class com.univocity.api.net.DataParameter
Creates a new upload parameter to be sent on the body of a POST request.
DataParameter(String, String, ResourceProvider<InputStream>, String) - Constructor for class com.univocity.api.net.DataParameter
Creates a new upload parameter to be sent on the body of a POST request.
DataTransfer<S,T> - Interface in com.univocity.api.statistics
A callback interface used to receive notifications of data transfers from a source to a target.
DataTransferListener<S,T,E extends DataTransfer<S,T>> - Class in com.univocity.api.statistics
A basic management structure for data transfers occurring in parallel.
DataTransferListener() - Constructor for class com.univocity.api.statistics.DataTransferListener
 
DataTransferStatistics<S,T> - Class in com.univocity.api.statistics
A basic implementation of DataTransfer which collects statistics about a given data transfer process, and provides easy to use methods to report the progress and timing of the process.
DataTransferStatistics() - Constructor for class com.univocity.api.statistics.DataTransferStatistics
Creates a new data transfer statistics object that doesn't notify the user of updates.
DataTransferStatistics(NotificationHandler<DataTransferStatistics<S, T>>) - Constructor for class com.univocity.api.statistics.DataTransferStatistics
Creates a new data transfer statistics object that notifies the user of updates.
DataTransferStatistics(long, NotificationHandler<DataTransferStatistics<S, T>>) - Constructor for class com.univocity.api.statistics.DataTransferStatistics
Creates a new data transfer statistics object that notifies the user of updates at given intervals, and when the process completes.
decode(Object) - Static method in class com.univocity.api.common.Args
Decodes a URL encoded value using UTF-8.
decode(Object, String) - Static method in class com.univocity.api.common.Args
Decodes a URL encoded value.
decode(String, Object, String) - Static method in class com.univocity.api.common.Args
Decodes a URL encoded value.
decreaseWaitTime(long) - Method in class com.univocity.api.io.RateLimiter
Decreases the wait time of the next process that will be put to wait.
DEFAULT_INCREMENT - Static variable in annotation type com.univocity.api.Range
 
DEFAULT_ORDER - Static variable in annotation type com.univocity.api.UI
 
DownloadListener - Class in com.univocity.api.statistics
A listener of active downloads from remote locations into local files.
DownloadListener() - Constructor for class com.univocity.api.statistics.DownloadListener
Creates a default download list that invokes the DownloadListener.dataDownloaded(DownloadStatistics, boolean) method after at least 250ms have elapsed since the last call has been made for the same download process.
DownloadListener(long) - Constructor for class com.univocity.api.statistics.DownloadListener
Creates download list that invokes the DownloadListener.dataDownloaded(DownloadStatistics, boolean) method after a given interval has elapsed since the last call has been made for the same download process.
DownloadStatistics - Class in com.univocity.api.statistics
A simple implementation of DataTransferStatistics to notify the progress/completion of download processes
DownloadStatistics() - Constructor for class com.univocity.api.statistics.DownloadStatistics
Creates a default download listener that notifies the DownloadStatistics.dataDownloaded(DownloadStatistics, boolean) every 250ms.
DownloadStatistics(long) - Constructor for class com.univocity.api.statistics.DownloadStatistics
Creates a default download listener that notifies the DownloadStatistics.dataDownloaded(DownloadStatistics, boolean) at a rate defined by the user

E

encode(Object) - Static method in class com.univocity.api.common.Args
Encodes a value using UTF-8 so it can be used as part of a URL.
encode(Object, String) - Static method in class com.univocity.api.common.Args
Encodes a value so it can be used as part of a URL.
encode(String, Object, String) - Static method in class com.univocity.api.common.Args
Encodes a value so it can be used as part of a URL.
equals(Collection<Object[]>, Collection<Object[]>) - Static method in class com.univocity.api.common.Args
Determines whether two collections of Object[] contain the same values.
equals(Object) - Method in class com.univocity.api.common.ParameterizedString
 
equals(Object) - Method in class com.univocity.api.io.FileProvider
 
equals(Object) - Method in class com.univocity.api.net.DataParameter
 
equals(Object) - Method in class com.univocity.api.net.HttpRequest
 
equals(Object) - Method in class com.univocity.api.net.UrlReaderProvider
 
equals(Object) - Method in class com.univocity.api.statistics.DataTransferStatistics
 

F

FileProvider - Class in com.univocity.api.io
A FileProvider validates and stores the minimum information required by uniVocity to locate and manipulate files.
FileProvider(File) - Constructor for class com.univocity.api.io.FileProvider
Creates a provider for the file to be read/written using the default system encoding.
FileProvider(File, String) - Constructor for class com.univocity.api.io.FileProvider
Creates a provider for the file to be read/written using a given encoding
FileProvider(File, Charset) - Constructor for class com.univocity.api.io.FileProvider
Creates a provider for the file to be read/written using a given encoding
FileProvider(String) - Constructor for class com.univocity.api.io.FileProvider
Creates a provider for the file, represented by a path, to be read/written using the default system encoding.
FileProvider(String, String) - Constructor for class com.univocity.api.io.FileProvider
Creates a provider for the file, represented by a path, to be read/written using the default system encoding.
FileProvider(String, Charset) - Constructor for class com.univocity.api.io.FileProvider
Creates a provider for the file, represented by a path, to be read/written using the default system encoding.

G

GENERAL - Static variable in class com.univocity.api.common.Loggers
General logger for common operations performed by our software.
get(String) - Method in class com.univocity.api.common.ParameterizedString
Returns the value of a given parameter.
getAbortError() - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns the exception, if any, that caused the interruption of data transfer process.
getActiveTransfers() - Method in class com.univocity.api.statistics.DataTransferListener
Returns a copy of the internal list of currently active transfers
getAverageRate() - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns the average transfer rate, in milliseconds.
getAverageRate(TimeUnit) - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns the average transfer rate, using a given TimeUnit
getBodySizeLimit() - Method in class com.univocity.api.net.HttpRequest
Returns the size limit when reading the HTTP response body, effectively truncating the response if the number of characters read exceed the given limit.
getBoolean(String, boolean) - Method in class com.univocity.api.config.PropertyBasedConfiguration
Returns the boolean value associated with a property in the configuration
getBoolean(String) - Method in class com.univocity.api.config.PropertyBasedConfiguration
Returns the boolean value associated with a property in the configuration
getCharset() - Method in class com.univocity.api.net.HttpRequest
Returns the charset to be used when reading the response resulting from this HTTP request.
getCharset() - Method in interface com.univocity.api.net.HttpResponse
The character set from the Content-Type header, or if explicitly provided in the HTTP request, the result of HttpRequest.getCharsetName().
getCharsetName(String) - Method in class com.univocity.api.net.HttpRequest
Returns the name of the charset to be used when reading the response resulting from this HTTP request.
getCharsetName() - Method in class com.univocity.api.net.HttpRequest
Returns the name of the charset to be used when reading the response resulting from this HTTP request.
getContent() - Method in interface com.univocity.api.net.HttpResponse
Returns a String with the content of the response body of this HTTP response.
getContentAfterLastParameter() - Method in class com.univocity.api.common.ParameterizedString
Returns the content after the last parameter in this parameterized string.
getContentBeforeFirstParameter() - Method in class com.univocity.api.common.ParameterizedString
Returns the content before the first parameter in this parameterized string.
getContentLength() - Method in interface com.univocity.api.net.HttpResponse
Returns the length of the content in the body of this HTTP response, as specified in the {code Content-Length} header.
getContentReader() - Method in interface com.univocity.api.net.HttpResponse
Returns a Reader instance to be used to read the content of the response body of this HTTP response.
getContentType() - Method in class com.univocity.api.net.DataParameter
Get the current Content Type, or null if not set.
getContentType() - Method in interface com.univocity.api.net.HttpResponse
Returns the value of the Content-Type header which indicates the format of the content sent in response to the HTTP request.
getConvertDefaultValueToNull() - Method in class com.univocity.api.common.ParameterizedString
Flag indicating that values parsed from this ParameterizedString will be converted to null, when equal to the String representation of the value returned by ParameterizedString.getDefaultValue().
getCookies() - Method in class com.univocity.api.net.HttpMessage
Returns the cookies to be added to the Cookie HTTP header.
getCookies() - Method in interface com.univocity.api.net.HttpResponse
Returns a map with the cookie collection listed in the Set-Cookie header of this response message.
getCookieValue(String) - Method in class com.univocity.api.net.HttpMessage
Returns the value associated with a given cookie name
getCurrentVariables() - Method in class com.univocity.api.io.InputQueue
Returns a map of all variables assigned to the input being read
getData() - Method in class com.univocity.api.net.HttpRequest
Returns the data parameters sent by on the body of this request if it is a RequestMethod.POST request.
getDataParameter(String) - Method in class com.univocity.api.net.HttpRequest
Returns the values associated with a parameter of the body a RequestMethod.POST request
getDefaultValue() - Method in class com.univocity.api.common.ParameterizedString
Returns the default value to be used for parameters that have no value associated.
getDirectory(String, boolean, boolean, boolean, String...) - Method in class com.univocity.api.config.PropertyBasedConfiguration
Given a property of the configuration, reads the property value as a path to a directory, replacing any variables between '!{' and '}', and returns an instance of File for that path, ensuring the physical directory matches a given criteria (e.g.
getDirectory(String, boolean, boolean, boolean, boolean, String...) - Method in class com.univocity.api.config.PropertyBasedConfiguration
Given a property of the configuration, reads the property value as a path to a directory, replacing any variables between '!{' and '}', and returns an instance of File for that path, ensuring the physical directory matches a given criteria (e.g.
getDirectory(String, File, boolean, boolean, String...) - Method in class com.univocity.api.config.PropertyBasedConfiguration
Given a property of the configuration, reads the property value as a path to a directory, replacing any variables between '!{' and '}', and returns an instance of File for that path, ensuring the physical directory matches a given criteria (e.g.
getDomainName() - Method in class com.univocity.api.net.UrlReaderProvider
Returns the domain name in the current URL.
getEncoding() - Method in class com.univocity.api.io.FileProvider
Returns the encoding used to manipulate the provided file.
getEndTime() - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns the data transfer end time, in milliseconds.
getEndTime(String, String) - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns the data transfer end time, in milliseconds.
getEndTime(String) - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns the data transfer end time, in milliseconds.
getEntryCaseInsensitive(Map<String, V>, String) - Static method in class com.univocity.api.common.Utils
Returns the Map.Entry stored in a map by searching for a given String key case-insensitively.
getFile(String, boolean, boolean, boolean, String...) - Method in class com.univocity.api.config.PropertyBasedConfiguration
Given a property of the configuration, reads the property value as a path to a file, replacing any variables between '!{' and '}', and returns an instance of File for that path, ensuring the physical file matches a given criteria (e.g.
getFile(String, boolean, boolean, boolean, boolean, String...) - Method in class com.univocity.api.config.PropertyBasedConfiguration
Given a property of the configuration, reads the property value as a path to a file, replacing any variables between '!{' and '}', and returns an instance of File for that path, ensuring the physical file matches a given criteria (e.g.
getFile(String, File, boolean, boolean, String...) - Method in class com.univocity.api.config.PropertyBasedConfiguration
Given a property of the configuration, reads the property value as a path to a file, replacing any variables between '!{' and '}', and returns an instance of File for that path, ensuring the physical file matches a given criteria (e.g.
getFile() - Method in class com.univocity.api.io.FileProvider
Returns the File instance given in the constructor of this class, or null if a path to a resource is being used.
getFileName() - Method in class com.univocity.api.net.UrlReaderProvider
Returns the file name specified in URL, if it exists.
getFilePath() - Method in class com.univocity.api.io.FileProvider
Returns the resource path given in the constructor of this class, or null if a File is being used.
getFirstDataParameter(String) - Method in class com.univocity.api.net.HttpRequest
Returns the first DataParameter details associated with a given data parameter name.
getFollowRedirects() - Method in class com.univocity.api.net.HttpRequest
Returns a flag indicating if the request should follow redirects.
getFormat(String) - Method in class com.univocity.api.common.ParameterizedString
Returns the format associated with a given parameter
getFormattedAverageRate(NumberFormat, TimeUnit, String) - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns a formatted String representing the average rate at which the data is being transferred to the target.
getFormattedAverageRate() - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns a formatted String representing the average rate, per second, at which the data is being transferred to the target
getFormattedRatePerSecond(NumberFormat, String) - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns a formatted String representing the approximate rate at which the data was transferred during the previous second.
getFormattedRatePerSecond() - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns a formatted String representing the approximate rate, per second, at which the data was being transferred to the target during the previous second.
getFormattedTotalSize(NumberFormat, String) - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns a formatted String representing the total size of the source to be transferred to the target, if available.
getFormattedTotalSize() - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns a formatted String representing the total size of the source to be transferred to the target, if available.
getFormattedTotalTransferredSoFar(NumberFormat) - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns a formatted String representing the amount size of data already to be transferred to the target
getFormattedTotalTransferredSoFar() - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns a formatted String representing the amount size of data already to be transferred to the target
getFormattedTransferPercentage(NumberFormat, String) - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns a formatted String representing the percentage of data already transferred
getFormattedTransferPercentage() - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns the percentage of data already transferred, formatted a decimal number between 0% and 100% inclusive, or ?% if unknown
getHeaders() - Method in class com.univocity.api.net.HttpMessage
Returns the headers and their corresponding values in this HTTP message.
getHeaders() - Method in interface com.univocity.api.net.HttpResponse
Returns the headers and their corresponding values in this HTTP response.
getHeaderValue(String) - Method in class com.univocity.api.net.HttpMessage
Returns the value(s) currently defined for a given header.
getHeaderValues(String) - Method in class com.univocity.api.net.HttpMessage
Returns the list of values currently defined for a given header.
getIndexAfterLastParameter() - Method in class com.univocity.api.common.ParameterizedString
Returns the index after the last parameter in this parameterized string.
getIndexBeforeFirstParameter() - Method in class com.univocity.api.common.ParameterizedString
Returns the index before the first parameter in this parameterized string.
getInstance() - Static method in class com.univocity.api.statistics.NoopDataTransfer
Returns the singleton NoopDataTransfer.instance of a NoopDataTransfer in generic-friendly way
getInteger(String) - Method in class com.univocity.api.config.PropertyBasedConfiguration
Returns the Integer value associated with a property in the configuration
getInteger(String, Integer) - Method in class com.univocity.api.config.PropertyBasedConfiguration
Returns the Integer value associated with a property in the configuration
getInterval() - Method in class com.univocity.api.io.RateLimiter
Returns the current rate interval
getList(String) - Method in class com.univocity.api.config.PropertyBasedConfiguration
Returns a List of values associated with a property in the configuration.
getList(String, String) - Method in class com.univocity.api.config.PropertyBasedConfiguration
Returns a List of values associated with a property in the configuration
getLocalCopyTarget() - Method in class com.univocity.api.net.UrlReaderProvider
Returns a FileProvider which indicates where in the filesystem a file with a copy of the response body, obtained after invoking the HTTP request via the UrlReaderProvider.getResponse() method, should be stored.
getMessage() - Method in exception com.univocity.api.net.HttpException
 
getMultiHeaders() - Method in class com.univocity.api.net.HttpMessage
Returns the headers and their corresponding values in this HTTP message.
getMultiHeaders() - Method in interface com.univocity.api.net.HttpResponse
Returns the headers and their corresponding values in this HTTP response.
getName() - Method in class com.univocity.api.io.RateLimiter
Returns the name associated with this rate limiter, used for logging.
getName() - Method in class com.univocity.api.net.DataParameter
Returns the name of this data parameter
getParameters() - Method in class com.univocity.api.common.ParameterizedString
Returns a set of all parameter names found in the input string given in the constructor of this class.
getParameterValues() - Method in class com.univocity.api.common.ParameterizedString
Returns the current parameter names and their values.
getPath() - Method in class com.univocity.api.net.UrlReaderProvider
Gets the path of the resource identified by the URL.
getPostDataCharset() - Method in class com.univocity.api.net.HttpRequest
Returns the POST data character set for x-www-form-urlencoded POST data
getPostDataCharsetName() - Method in class com.univocity.api.net.HttpRequest
Returns the name of the POST data character set for x-www-form-urlencoded POST data
getPropertiesDescription() - Method in class com.univocity.api.config.PropertyBasedConfiguration
Describes the sort of configuration managed by this class.
getProperty(String, String) - Method in class com.univocity.api.config.PropertyBasedConfiguration
Returns the value associated with a property in the configuration
getProperty(String) - Method in class com.univocity.api.config.PropertyBasedConfiguration
Returns the value associated with a property in the configuration
getProperty(String, String...) - Method in class com.univocity.api.config.PropertyBasedConfiguration
Returns the value associated with a property in the configuration, replacing variables between '!{' and '}'.
getProtocol() - Method in class com.univocity.api.net.UrlReaderProvider
Returns the protocol of the current URL.
getProxy() - Method in class com.univocity.api.net.HttpRequest
Returns the the proxy this request should use to connect to
getProxyPassword() - Method in class com.univocity.api.net.HttpRequest
Returns the password to be used when connecting with a proxy
getProxyUser() - Method in class com.univocity.api.net.HttpRequest
Returns the username to be used when authenticating with a proxy
getRateLimiter() - Method in class com.univocity.api.net.HttpRequest
Returns the RateLimiter associated with this request, if any.
getRatePerSecond() - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns the approximate transfer rate at which the data was transferred during the previous second.
getRedirectionUrl() - Method in interface com.univocity.api.net.HttpResponse
Gets the redirection URL if the request has been redirected and HttpRequest.getFollowRedirects() evaluates to true
getReferrer() - Method in class com.univocity.api.net.HttpMessage
Returns the current Referer request header that identifies the address of the web-page that linked to the resource being requested.
getRequest() - Method in exception com.univocity.api.net.HttpException
Returns the HttpRequest used to attempt to obtain a response from the remote server
getRequest() - Method in class com.univocity.api.net.UrlReaderProvider
Returns a HttpRequest object with configuration options for executing the HTTP request.
getRequestBody() - Method in class com.univocity.api.net.HttpRequest
Returns the plain request body to be sent by this request.
getRequestMethod() - Method in class com.univocity.api.net.HttpMessage
Returns the RequestMethod to be used by this request.
getResource() - Method in class com.univocity.api.io.InputQueue
Grabs the next input of the queue, opens it as an instanceof Reader with the help of method InputQueue.open(Object), loads the variables associated with the input, and returns the Reader.
getResource() - Method in interface com.univocity.api.io.ResourceProvider
Returns the resource provided by this class
getResource() - Method in class com.univocity.api.io.StringReaderProvider
Returns a new StringReader for reading the String provided in the constructor of this class or via the StringReaderProvider.setString(String) method.
getResource() - Method in class com.univocity.api.io.StringWriterProvider
Obtains a new StringWriter instance.
getResource() - Method in class com.univocity.api.net.UrlReaderProvider
Returns a Reader instance ready to process the content of the body of the HTTP response obtained after invoking UrlReaderProvider.getResponse().
getResponse() - Method in class com.univocity.api.net.UrlReaderProvider
Invokes the HTTP request and returns the response as a HttpResponse object.
getRetries() - Method in class com.univocity.api.net.UrlReaderProvider
Return the number of retries to be performed in case the HTTP request call fails.
getRetriesPerformed() - Method in interface com.univocity.api.net.HttpResponse
Returns the number of retries performed by the UrlReaderProvider until a response was obtained.
getRetryInterval() - Method in class com.univocity.api.net.UrlReaderProvider
Returns the interval (in milliseconds) to wait before trying to execute the HTTP request after a failure.
getSource() - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns the source of data
getSslSocketFactory() - Method in class com.univocity.api.net.HttpRequest
Get the current custom SSL socket factory, if any.
getStartTime() - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns the data transfer start time, in milliseconds.
getStartTime(String, String) - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns the data transfer start time, as a formatted date.
getStartTime(String) - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns the data transfer start time, as a formatted date.
getStatusCode() - Method in exception com.univocity.api.net.HttpException
Returns the HTTP status code returned by the remote server.
getStatusCode() - Method in interface com.univocity.api.net.HttpResponse
Returns the integer HTTP response status code.
getStatusMessage() - Method in exception com.univocity.api.net.HttpException
Returns the HTTP status message returned by the remote server, if available.
getStatusMessage() - Method in interface com.univocity.api.net.HttpResponse
Returns the HTTP response status message
getString() - Method in class com.univocity.api.io.StringWriterProvider
Returns the contents written to the string so far.
getTarget() - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns the destination of the data transferred from the source.
getTimeElapsed() - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns the number of milliseconds the data transfer took so far.
getTimeElapsed(TimeUnit) - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns how long the data transfer took so far, using a given time unit.
getTimeout() - Method in class com.univocity.api.net.HttpRequest
Returns the time limit (in milliseconds) for an initial connection to be established from this request.
getTotalSize() - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns the total size of the source to be transferred to the target, if available.
getTotalTransferredSoFar() - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns the total amount transferred already.
getTransferPercentage() - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns the percentage of data already transferred, (where 0.0 represents 0% and 1.0 represents 100%)
getUnitDescription() - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns a description of the unit of data being transferred.
getUnitDivisor() - Method in class com.univocity.api.statistics.DataTransferStatistics
Returns the unit divisor currently in use.
getUploadStream() - Method in class com.univocity.api.net.DataParameter
Returns the upload stream provider that produces an InputStream of the data to be uploaded when called
getUrl() - Method in class com.univocity.api.net.HttpRequest
Returns the request URL, with any parameters replaced by their values (if any)
getUrl() - Method in interface com.univocity.api.net.HttpResponse
The URL object used to produce this HttpResponse
getUrl() - Method in class com.univocity.api.net.UrlReaderProvider
Returns the URL used to produce the current response.
getUrlInstance() - Method in class com.univocity.api.net.UrlReaderProvider
Returns a URL instance used to produce the current response.
getUrlParameter(String) - Method in class com.univocity.api.net.HttpRequest
Returns the value of a given parameter of the URL provided in the constructor of this class.
getUrlParameter(String, boolean) - Method in class com.univocity.api.net.HttpRequest
Returns the value of a given parameter of the URL provided in the constructor of this class.
getUrlParameters() - Method in class com.univocity.api.net.HttpRequest
Returns the names of all available URL parameters in an unmodifiable set.
getUserAgent() - Method in class com.univocity.api.net.HttpMessage
Returns the current User-Agent request header, which identifies the user agent originating the request.
getValidatedDirectory(String, boolean, boolean, boolean, boolean) - Method in class com.univocity.api.config.PropertyBasedConfiguration
Given a path to a directory, returns an instance of File for that path, ensuring the physical directory matches a given criteria (e.g.
getValidatedFile(String, boolean, boolean, boolean, boolean) - Method in class com.univocity.api.config.PropertyBasedConfiguration
Given a path to a file, returns an instance of File for that path, ensuring the physical file matches a given criteria (e.g.
getValue() - Method in interface com.univocity.api.common.ValueGetter
Provides a value to the caller.
getValue() - Method in class com.univocity.api.net.DataParameter
Returns the plain String value associated with this data parameter
getValueCaseInsensitive(Map<String, V>, String) - Static method in class com.univocity.api.common.Utils
Returns the value stored in a map by searching for a given String key case-insensitively.
getWaitingCount() - Method in class com.univocity.api.io.RateLimiter
Returns the number of threads blocked and waiting for their turn to execute
guessAndValidateName(String, File, String) - Static method in class com.univocity.api.common.Args
Attempts to discover the plain name of a given file, without directories or its extension

H

hasBody() - Method in enum com.univocity.api.net.RequestMethod
Checks whether this request method type supports a message body
hasCookie(String) - Method in class com.univocity.api.net.HttpMessage
Verifies whether a cookie has been set
hashCode() - Method in class com.univocity.api.common.ParameterizedString
 
hashCode() - Method in class com.univocity.api.io.FileProvider
 
hashCode() - Method in class com.univocity.api.net.DataParameter
 
hashCode() - Method in class com.univocity.api.net.HttpRequest
 
hashCode() - Method in class com.univocity.api.net.UrlReaderProvider
 
hashCode() - Method in class com.univocity.api.statistics.DataTransferStatistics
 
hasHeader(String) - Method in class com.univocity.api.net.HttpMessage
Checks whether this HTTP message has a given header defined.
hasHeaderWithValue(String, String) - Method in class com.univocity.api.net.HttpMessage
Verifies whether a given header has a value
headers - Variable in class com.univocity.api.net.HttpMessage
 
HttpException - Exception in com.univocity.api.net
A HttpException is thrown when a HTTP request made using a HttpRequest object did not result resulted a 2xx (i.e.
HttpException(String, int, String, HttpRequest) - Constructor for exception com.univocity.api.net.HttpException
Creates a new HTTP status exception
HttpMessage - Class in com.univocity.api.net
Basic details of a HTTP message (request or response)
HttpMessage() - Constructor for class com.univocity.api.net.HttpMessage
 
HttpRequest - Class in com.univocity.api.net
A reusable, cloneable HTTP request configuration, with support for parameterization of the URL.
HttpRequest(String, RateLimiter) - Constructor for class com.univocity.api.net.HttpRequest
Creates a new request for a given request URL
HttpResponse - Interface in com.univocity.api.net
A response object resulting from a HTTP request (HttpRequest) invoked from the UrlReaderProvider.
HttpResponseReader - Interface in com.univocity.api.net
A custom HttpResponse reader which provides better control over how to handle the response body of a HttpResponse object produced by a UrlReaderProvider.

I

IllegalConfigurationException - Exception in com.univocity.api.exception
IllegalConfigurationException is the exception thrown by uniVocity to notify of an illegal configuration.
IllegalConfigurationException(String, Throwable) - Constructor for exception com.univocity.api.exception.IllegalConfigurationException
Constructs a new IllegalConfigurationException exception with the specified detail message and cause.
IllegalConfigurationException(String) - Constructor for exception com.univocity.api.exception.IllegalConfigurationException
Constructs a new IllegalConfigurationException exception with the specified detail message, and no cause.
IllegalConfigurationException(Throwable) - Constructor for exception com.univocity.api.exception.IllegalConfigurationException
Constructs a new IllegalConfigurationException exception with the specified cause of error.
increaseWaitTime(long) - Method in class com.univocity.api.io.RateLimiter
Increases the wait time of the next process that will be put to wait.
InputFileQueue - Class in com.univocity.api.io
A queue of a sequence of files to be processed.
InputFileQueue() - Constructor for class com.univocity.api.io.InputFileQueue
 
InputQueue<T> - Class in com.univocity.api.io
A queue of a sequence of inputs to be processed.
InputQueue() - Constructor for class com.univocity.api.io.InputQueue
Creates an empty queue.
InputReaderQueue - Class in com.univocity.api.io
A queue of a sequence of ReaderProvider and plain Reader inputs to be processed.
InputReaderQueue() - Constructor for class com.univocity.api.io.InputReaderQueue
 
instance - Static variable in class com.univocity.api.statistics.NoopDataTransfer
The only instance available of a NoopDataTransfer
isAborted() - Method in interface com.univocity.api.statistics.DataTransfer
Returns a flag indicating whether the data transfer was aborted.
isAborted() - Method in class com.univocity.api.statistics.DataTransferListener
 
isAborted() - Method in class com.univocity.api.statistics.DataTransferStatistics
 
isAborted() - Method in class com.univocity.api.statistics.NoopDataTransfer
 
isBlank(String) - Static method in class com.univocity.api.common.Args
Tests if a given String is null/empty/blank/
isEmpty() - Method in class com.univocity.api.io.InputQueue
Queries whether the input is empty (i.e.
isEmpty() - Method in class com.univocity.api.io.StringWriterProvider
 
isEmpty() - Method in class com.univocity.api.io.WriterProvider
Queries whether or not the resource to be written contains any sort of content.
isIgnoreHttpErrors() - Method in class com.univocity.api.net.HttpRequest
Returns whether this HTTP request to ignore HTTP errors returned by the remote server and process the response anyway.
isKeepAliveEnabled() - Method in class com.univocity.api.net.HttpMessage
Returns a flag indicating whether the connection is meant to be reused for further requests (i.e.
isNotBlank(String) - Static method in class com.univocity.api.common.Args
Tests if a given String is not null/empty/blank/
isoDateStringToCalendar(String) - Static method in class com.univocity.api.common.Args
Converts a yyyy-MM-dd formatted string to a Calendar instance.
isResponseAvailable() - Method in class com.univocity.api.net.UrlReaderProvider
Returns a flag indicating whether the HTTP request has been executed and a response is already available through UrlReaderProvider.getResponse().
isRunning() - Method in interface com.univocity.api.statistics.DataTransfer
Returns a flag indicating whether the data transfer is running.
isRunning() - Method in class com.univocity.api.statistics.DataTransferListener
 
isRunning() - Method in class com.univocity.api.statistics.DataTransferStatistics
 
isRunning() - Method in class com.univocity.api.statistics.NoopDataTransfer
 
isStarted() - Method in interface com.univocity.api.statistics.DataTransfer
Returns a flag indicating whether the data transfer has been started.
isStarted() - Method in class com.univocity.api.statistics.DataTransferListener
 
isStarted() - Method in class com.univocity.api.statistics.DataTransferStatistics
 
isStarted() - Method in class com.univocity.api.statistics.NoopDataTransfer
 
iterator() - Method in class com.univocity.api.statistics.DataTransferListener
 

J

join(Iterable<?>, String) - Static method in class com.univocity.api.common.Utils
Joins the String representation of all non-null values in a given collection into a String, with a given separator between each value.
joinValues(Map<K, V>, String) - Static method in class com.univocity.api.common.Utils
Joins each collection of values in a given Map into their String representation, with a given separator between each value.

L

listVariables(String) - Method in class com.univocity.api.config.PropertyBasedConfiguration
Parses a string to find variables between '${' and '}'
Loggers - Class in com.univocity.api.common
A central location to provide logger names used internally.
Loggers() - Constructor for class com.univocity.api.common.Loggers
 

N

NETWORKING - Static variable in class com.univocity.api.common.Loggers
Logger for operations involving network activity.
newDataTransfer(S, long, T) - Method in class com.univocity.api.statistics.DataTransferListener
Creates a a new DataTransfer
newDataTransfer(UrlReaderProvider, long, File) - Method in class com.univocity.api.statistics.DownloadListener
 
newRequest(String) - Method in class com.univocity.api.net.UrlReaderProvider
Clones this object with all its configuration and a new URL, but without the result of the HTTP request (i.e.
noBlanks(Object[], String) - Static method in class com.univocity.api.common.Args
Ensures the elements in a given array are not null/empty/blank.
noneEmpty(Collection<T>, String) - Static method in class com.univocity.api.common.Args
Ensures a given collection is not null/empty and doesn't contain null/empty objects or blank Strings
NoopDataTransfer - Class in com.univocity.api.statistics
A singleton DataTransfer that does nothing.
normalizeFilePath(String) - Method in class com.univocity.api.config.PropertyBasedConfiguration
Replaces pairs of backslashes in a file path to a single forward slash .
notBlank(CharSequence, String) - Static method in class com.univocity.api.common.Args
Ensures a given CharSequence argument is not null/empty/blank
notEmpty(T[], String) - Static method in class com.univocity.api.common.Args
Ensures a given array argument is not null/empty and no elements are null/empty
notEmpty(Collection<?>, String) - Static method in class com.univocity.api.common.Args
Ensures a given collection is not null/empty
notEmpty(int[], String) - Static method in class com.univocity.api.common.Args
Ensures a given int[] array argument is not null/empty
notEmpty(char[], String) - Static method in class com.univocity.api.common.Args
Ensures a given char array argument is not null/empty
notEmpty(CharSequence, String) - Static method in class com.univocity.api.common.Args
Ensures a given CharSequence argument is not null/empty
NotificationHandler<T> - Interface in com.univocity.api.common
A simple callback interface to notify the user of some action or update performed by the framework.
notify(T, boolean) - Method in interface com.univocity.api.common.NotificationHandler
Notifies of some action or update.
notify(T, boolean) - Method in class com.univocity.api.common.TimedNotificationHandler
 
notNull(Object, String) - Static method in class com.univocity.api.common.Args
Ensures a given argument is not null.

O

offer(T) - Method in class com.univocity.api.io.InputQueue
Adds an input to be processed to the end of the queue
onNotification(T, boolean) - Method in class com.univocity.api.common.TimedNotificationHandler
Invoked when a notification has been received after the notification interval has been elapsed, or if the notification is the last one to be received.
open(FileProvider) - Method in class com.univocity.api.io.InputFileQueue
 
open(T) - Method in class com.univocity.api.io.InputQueue
Opens an input and returns an instanceof Reader which will be used to consume it.
open(ReaderProvider) - Method in class com.univocity.api.io.InputReaderQueue
 
OrderedProperties - Class in com.univocity.api.config
An override over Properties to return properties in the order they are defined in the file.
OrderedProperties() - Constructor for class com.univocity.api.config.OrderedProperties
Creates a new instances of this ordered Properties object.

P

ParameterizedString - Class in com.univocity.api.common
Utility class for handling Strings with parameters.
ParameterizedString(String, String, String) - Constructor for class com.univocity.api.common.ParameterizedString
Creates a new parameterized string with custom open and closing brackets
ParameterizedString(String) - Constructor for class com.univocity.api.common.ParameterizedString
Creates a new parameterized string with parameter names enclosed within { and }
parse(String) - Method in class com.univocity.api.common.ParameterizedString
Parses the String input and extracts the parameter values storing them as regular parameters.
peek() - Method in class com.univocity.api.io.InputQueue
Returns the current input at the head of the queue.
positive(Number, String) - Static method in class com.univocity.api.common.Args
Ensures a given number is positive (and greater than zero).
positiveOrZero(Number, String) - Static method in class com.univocity.api.common.Args
Ensures a given number is positive or equal to zero.
printDetails() - Method in class com.univocity.api.net.HttpRequest
Returns a String with all relevant details of this HTTP request, including cookies, headers, data
processResponse(HttpResponse, InputStream, Charset) - Method in interface com.univocity.api.net.HttpResponseReader
Processes a HttpResponse obtained through a HttpRequest invocation via a UrlReaderProvider.
properties - Variable in class com.univocity.api.config.PropertyBasedConfiguration
 
PropertyBasedConfiguration - Class in com.univocity.api.config
A configuration class based on properties.
PropertyBasedConfiguration(InputStream) - Constructor for class com.univocity.api.config.PropertyBasedConfiguration
Creates a configuration instance from an InputStream
PropertyBasedConfiguration(Reader) - Constructor for class com.univocity.api.config.PropertyBasedConfiguration
Creates a configuration instance from a Reader
PropertyBasedConfiguration(File) - Constructor for class com.univocity.api.config.PropertyBasedConfiguration
Creates a configuration instance from a File
PropertyBasedConfiguration(String...) - Constructor for class com.univocity.api.config.PropertyBasedConfiguration
Creates a configuration instance from a list of paths to files containing properties.
propertyNames() - Method in class com.univocity.api.config.OrderedProperties
 
put(Object, Object) - Method in class com.univocity.api.config.OrderedProperties
 
putValueCaseInsensitive(Map<String, List<V>>, String, V, boolean) - Static method in class com.univocity.api.common.Utils
Adds a given value into a list of values of a map, where the key should be handled case-insensitively.

R

Range - Annotation Type in com.univocity.api
Defines a range of values that a method's parameters may take.
RateLimiter - Class in com.univocity.api.io
A very simple method call rate limiter, based on a time interval.
RateLimiter(long) - Constructor for class com.univocity.api.io.RateLimiter
Creates a new rate limiter configured to allow for a given interval of time to elapse before allowing a process to continue.
RateLimiter(String, long) - Constructor for class com.univocity.api.io.RateLimiter
Creates a new rate limiter configured to allow for a given interval of time to elapse before allowing a process to continue.
readContent(HttpResponseReader) - Method in interface com.univocity.api.net.HttpResponse
Reads this HTTP response using a custom class (i.e.
ReaderProvider - Class in com.univocity.api.io
Base abstract class to define classes that provide instances of Reader
ReaderProvider() - Constructor for class com.univocity.api.io.ReaderProvider
 
readVariable(String) - Method in class com.univocity.api.io.InputQueue
Returns the value assigned to a given variable associated with the current input being read.
readVariable(String, O) - Method in class com.univocity.api.io.InputQueue
Returns the value assigned to a given variable associated with the current input being read.
readVariable(String, Class<O>) - Method in class com.univocity.api.io.InputQueue
Returns the value assigned to a given variable associated with the current input being read.
remove(Object) - Method in class com.univocity.api.config.OrderedProperties
 
removeCookie(String) - Method in class com.univocity.api.net.HttpRequest
Removes a given cookie and its value from the Cookie header of this HTTP request
removeDataParameter(String) - Method in class com.univocity.api.net.HttpRequest
Removes a given data parameter from the body of a RequestMethod.POST request
removeHeader(String) - Method in class com.univocity.api.net.HttpRequest
Removes a given header and all values associated with it from this HTTP request
replaceSystemProperties(String) - Static method in class com.univocity.api.common.Args
Replaces system properties between { and } in a given String with the property values, and returns the result.
replaceVariables(String, String, String) - Method in class com.univocity.api.config.PropertyBasedConfiguration
Replaces a variable inside '${' and '}' within a String with a value.
requestMethod - Variable in class com.univocity.api.net.HttpMessage
 
RequestMethod - Enum in com.univocity.api.net
The set of HTTP/1.1 methods, plus RFC 5789.
ResourceProvider<T> - Interface in com.univocity.api.io
Generic interface to define classes that provide a given resource.

S

set(Map<String, ?>) - Method in class com.univocity.api.common.ParameterizedString
Sets multiple parameter values
set(String, Object) - Method in class com.univocity.api.common.ParameterizedString
Sets a parameter value
setBodySizeLimit(int) - Method in class com.univocity.api.net.HttpRequest
Defines a size limit when reading the HTTP response body, effectively truncating the response if the number of characters read exceed the given limit.
setCharset(String) - Method in class com.univocity.api.net.HttpRequest
Defines a charset to be used when reading the response resulting from this HTTP request.
setCharset(Charset) - Method in class com.univocity.api.net.HttpRequest
Defines a charset to be used when reading the response resulting from this HTTP request.
setClassLoader(ClassLoader) - Static method in class com.univocity.api.Builder
Defines the class loader to be used to load uniVocity implementation classes (from univocity.jar)
setConvertDefaultValueToNull(boolean) - Method in class com.univocity.api.common.ParameterizedString
Defines whether values parsed from this ParameterizedString should be converted to null, when equal to the String representation of the value returned by ParameterizedString.getDefaultValue().
setCookie(String, String) - Method in class com.univocity.api.net.HttpRequest
Sets a cookie to be added to the Cookie HTTP header.
setCookies(Map<String, String>) - Method in class com.univocity.api.net.HttpRequest
Replaces the cookies to be added to the Cookie HTTP header.
setDataParameter(DataParameter) - Method in class com.univocity.api.net.HttpRequest
Adds/replaces a parameter of the body of RequestMethod.POST requests as a plain String
setDataParameter(String, Object) - Method in class com.univocity.api.net.HttpRequest
Replaces/adds a data parameter to the body of this request
setDataParameters(Map<String, String[]>, String...) - Method in class com.univocity.api.net.HttpRequest
Sets multiple parameters to the body of RequestMethod.POST requests as a plain Strings.
setDefaultValue(Object) - Method in class com.univocity.api.common.ParameterizedString
Defines a default value to be used for parameters that have no value associated.
setFollowRedirects(boolean) - Method in class com.univocity.api.net.HttpRequest
Configures the request to follow redirects.
setHeader(String, String) - Method in class com.univocity.api.net.HttpRequest
Defines a header and its value.
setHeader(String, String, boolean) - Method in class com.univocity.api.net.HttpRequest
Defines a header and its value.
setHeaders(Map<String, String>) - Method in class com.univocity.api.net.HttpRequest
Replaces any previous headers with the given values.
setHeaders(Map<String, String>, boolean) - Method in class com.univocity.api.net.HttpRequest
Replaces any previous headers with the given values.
setIgnoreHttpErrors(boolean) - Method in class com.univocity.api.net.HttpRequest
Configures the this HTTP request to ignore HTTP errors returned by the remote server and process the response anyway.
setInterval(long) - Method in class com.univocity.api.io.RateLimiter
Modifies the rate interval
setKeepAliveEnabled(boolean) - Method in class com.univocity.api.net.HttpRequest
reused for further requests, or to close if the connection should be discarded and closed as soon as the Sets the Connection request header to explicitly to keep-alive if the connection is meant to be response is processed.
setNotificationHandler(NotificationHandler<DataTransferStatistics<S, T>>) - Method in class com.univocity.api.statistics.DataTransferStatistics
Associates a notification handler callback to receive updates from the data transfer operation
setNotificationHandler(long, NotificationHandler<DataTransferStatistics<S, T>>) - Method in class com.univocity.api.statistics.DataTransferStatistics
Associates a notification handler callback to receive updates from the data transfer operation at at most after a given amount of time has elapsed.
setPostDataCharset(String) - Method in class com.univocity.api.net.HttpRequest
Sets the POST data character set for x-www-form-urlencoded POST data
setPostDataCharset(Charset) - Method in class com.univocity.api.net.HttpRequest
Sets the POST data character set for x-www-form-urlencoded POST data
setProxy(Proxy) - Method in class com.univocity.api.net.HttpRequest
Configures this request to connect through a proxy.
setProxy(Proxy, String) - Method in class com.univocity.api.net.HttpRequest
Configures this request to connect through a proxy with authentication.
setProxy(Proxy, String, char[]) - Method in class com.univocity.api.net.HttpRequest
Configures this request to connect through a proxy with authentication.
setProxy(String, int) - Method in class com.univocity.api.net.HttpRequest
Configures this request to connect through a proxy.
setProxy(String, int, String) - Method in class com.univocity.api.net.HttpRequest
Configures this request to connect through a proxy.
setProxy(String, int, String, char[]) - Method in class com.univocity.api.net.HttpRequest
Configures this request to connect through a proxy.
setProxy(Proxy.Type, String, int, String, char[]) - Method in class com.univocity.api.net.HttpRequest
Configures this request to connect through a proxy.
setRateLimiter(RateLimiter) - Method in class com.univocity.api.net.HttpRequest
Associates a RateLimiter with this request to prevent multiple simultaneous requests.
setReferrer(String) - Method in class com.univocity.api.net.HttpRequest
Defines a Referer request header that identifies the address of the web-page that linked to the resource being requested.
setRequestBody(String) - Method in class com.univocity.api.net.HttpRequest
Defines a plain request body to be sent by this request.
setRequestMethod(RequestMethod) - Method in class com.univocity.api.net.HttpRequest
Sets the RequestMethod to be used by this request.
setRetries(int) - Method in class com.univocity.api.net.UrlReaderProvider
Defines a number of retries to be performed in case the HTTP request call fails.
setRetryInterval(long) - Method in class com.univocity.api.net.UrlReaderProvider
Defines the interval (in milliseconds) to wait before trying to execute the HTTP request after a failure.
setSslSocketFactory(SSLSocketFactory) - Method in class com.univocity.api.net.HttpRequest
Set a custom SSL socket factory.
setString(String) - Method in class com.univocity.api.io.StringReaderProvider
Assigns a new String to this ReaderProvider.
setSystemProperty(String) - Method in class com.univocity.api.config.PropertyBasedConfiguration
Sets a given property of the configuration as a system property.
setSystemProperty(String, boolean) - Method in class com.univocity.api.config.PropertyBasedConfiguration
Sets a given property of the configuration as a system property.
setTimeout(int) - Method in class com.univocity.api.net.HttpRequest
Defines a time limit (in milliseconds) for an initial connection to be established from this request.
setUnit(String) - Method in class com.univocity.api.statistics.DataTransferStatistics
Defines a description of the unit of data being transferred.
setUnit(String, long) - Method in class com.univocity.api.statistics.DataTransferStatistics
Defines a description of the unit of data being transferred and updates the unit divisor to amounts will be returned taking into account the division of the totals by the given divisor.
setUnit(String, long) - Method in class com.univocity.api.statistics.DownloadListener
Defines a description of the unit of data being transferred and updates the unit divisor to amounts will be returned taking into account the division of the totals by the given divisor.
setUrl(String) - Method in class com.univocity.api.net.HttpRequest
Modifies the URL this HTTP request.
setUrlParameter(String, Object) - Method in class com.univocity.api.net.HttpRequest
Assigns a value to a given parameter of the URL provided in the constructor of this class.
setUrlParameter(String, Object, boolean) - Method in class com.univocity.api.net.HttpRequest
Assigns a value to a given parameter of the URL provided in the constructor of this class.
setUserAgent(String) - Method in class com.univocity.api.net.HttpRequest
Defines a User-Agent request header, which identifies the user agent originating the request.
size() - Method in class com.univocity.api.io.InputQueue
Returns the number of inputs to be processed that are waiting in the queue
size() - Method in class com.univocity.api.statistics.DataTransferListener
Returns the number of active transfers currently maintained by this list
started(S, long, T) - Method in interface com.univocity.api.statistics.DataTransfer
Notifies a data transfer has been started.
started(S, long, T) - Method in class com.univocity.api.statistics.DataTransferListener
 
started(S, long, T) - Method in class com.univocity.api.statistics.DataTransferStatistics
 
started(Object, long, Object) - Method in class com.univocity.api.statistics.NoopDataTransfer
 
storeLocalCopyIn(FileProvider) - Method in class com.univocity.api.net.UrlReaderProvider
Defines a file into which a copy of the response body, obtained after invoking the HTTP request via the UrlReaderProvider.getResponse() method, should be stored be stored.
storeLocalCopyIn(File) - Method in class com.univocity.api.net.UrlReaderProvider
Defines a file into which a copy of the response body, obtained after invoking the HTTP request via the UrlReaderProvider.getResponse() method, should be stored.
storeLocalCopyIn(File, Charset) - Method in class com.univocity.api.net.UrlReaderProvider
Defines a file into which a copy of the response body, obtained after invoking the HTTP request via the UrlReaderProvider.getResponse() method, should be stored.
storeLocalCopyIn(File, String) - Method in class com.univocity.api.net.UrlReaderProvider
Defines a file into which a copy of the response body, obtained after invoking the HTTP request via the UrlReaderProvider.getResponse() method, should be stored.
storeLocalCopyIn(String) - Method in class com.univocity.api.net.UrlReaderProvider
Defines a file into which a copy of the response body, obtained after invoking the HTTP request via the UrlReaderProvider.getResponse() method, should be stored.
storeLocalCopyIn(String, Charset) - Method in class com.univocity.api.net.UrlReaderProvider
Defines a file into which a copy of the response body, obtained after invoking the HTTP request via the UrlReaderProvider.getResponse() method, should be stored.
storeLocalCopyIn(String, String) - Method in class com.univocity.api.net.UrlReaderProvider
Defines a file into which a copy of the response body, obtained after invoking the HTTP request via the UrlReaderProvider.getResponse() method, should be stored
StringFilter - Interface in com.univocity.api.common
A simple interface used to test a given String
StringReaderProvider - Class in com.univocity.api.io
A ReaderProvider for Strings.
StringReaderProvider() - Constructor for class com.univocity.api.io.StringReaderProvider
Creates a new instance with an empty String.
StringReaderProvider(String) - Constructor for class com.univocity.api.io.StringReaderProvider
Creates a new instance with a given String.
StringTransformation - Interface in com.univocity.api.common
A transformation operation over a String, that results in another String
StringWriterProvider - Class in com.univocity.api.io
A WriterProvider for Strings.
StringWriterProvider() - Constructor for class com.univocity.api.io.StringWriterProvider
Creates a new, empty StringWriterProvider

T

TimedNotificationHandler<T> - Class in com.univocity.api.common
A basic NotificationHandler implementation that filters out excessive notifications and only processes them after a given interval has been elapsed since the last notification was processed, or if the last notification is received.
TimedNotificationHandler(long) - Constructor for class com.univocity.api.common.TimedNotificationHandler
Creates a timed notification handler, which will ensure the TimedNotificationHandler.onNotification(Object, boolean) method is called at a given frequency.
toString() - Method in class com.univocity.api.common.ParameterizedString
Returns the original String provided in the constructor of this class, no parameters are replaced
toString() - Method in class com.univocity.api.config.PropertyBasedConfiguration
 
toString() - Method in class com.univocity.api.io.FileProvider
 
toString() - Method in class com.univocity.api.net.DataParameter
 
toString() - Method in class com.univocity.api.net.HttpRequest
 
toString() - Method in class com.univocity.api.net.UrlReaderProvider
Prints this object as the original HTTP request URL.
toString() - Method in class com.univocity.api.statistics.DataTransferStatistics
 
transferred(S, long, T) - Method in interface com.univocity.api.statistics.DataTransfer
Notifies how much data has been transferred from source to target.
transferred(S, long, T) - Method in class com.univocity.api.statistics.DataTransferListener
 
transferred(S, long, T) - Method in class com.univocity.api.statistics.DataTransferStatistics
 
transferred(Object, long, Object) - Method in class com.univocity.api.statistics.NoopDataTransfer
 
transform(I) - Method in interface com.univocity.api.common.Transformation
Converts an input value of type I to an output value of type O.
Transformation<I,O> - Interface in com.univocity.api.common
A value transformation operation.
TRUE - Static variable in class com.univocity.api.common.TrueStringFilter
 
TrueStringFilter - Class in com.univocity.api.common
Constant StringFilter that accepts anything
TrueStringFilter() - Constructor for class com.univocity.api.common.TrueStringFilter
 

U

UI - Annotation Type in com.univocity.api
A annotation that allows configuration options to assist the graphical user interface in displaying components associated with the method.
UNIVOCITY_LOCAL_STORE - Static variable in class com.univocity.api.common.Loggers
 
UrlReaderProvider - Class in com.univocity.api.net
A ReaderProvider for URLs (parameterized or not).
UrlReaderProvider(String) - Constructor for class com.univocity.api.net.UrlReaderProvider
Creates a new instance to read content from a given URL.
UrlReaderProvider(String, RateLimiter) - Constructor for class com.univocity.api.net.UrlReaderProvider
Creates a new instance to read content from a given URL.
Utils - Class in com.univocity.api.common
A central place for utility methods.
Utils() - Constructor for class com.univocity.api.common.Utils
 

V

validFile(File, String) - Static method in class com.univocity.api.common.Args
Ensures a given File argument is not null, exists and does not point to a directory
validTransactionIsolationLevel(int) - Static method in class com.univocity.api.common.Args
Ensures a given SQL isolation level is a valid and known JDBC value that exists int Connection
ValueGetter<T> - Interface in com.univocity.api.common
A simple interface to provide values
valueOf(String) - Static method in enum com.univocity.api.net.RequestMethod
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.univocity.api.net.RequestMethod
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitAndGo(long) - Method in class com.univocity.api.io.RateLimiter
Blocks the current process if the previous call to this method happened at a time less than the configured interval.
waitAndGo(String, long) - Method in class com.univocity.api.io.RateLimiter
Blocks the current process if the previous call to this method happened at a time less than the configured interval.
waitAndGo() - Method in class com.univocity.api.io.RateLimiter
Blocks the current process if the previous call to this method happened at a time less than the configured interval.
waitAndGo(String) - Method in class com.univocity.api.io.RateLimiter
Blocks the current process if the previous call to this method happened at a time less than the configured interval.
WriterProvider - Class in com.univocity.api.io
Base abstract class to define classes that provide instances of Writer.
WriterProvider() - Constructor for class com.univocity.api.io.WriterProvider
 

A B C D E F G H I J L N O P R S T U V W

Copyright © 2018 uniVocity Software Pty Ltd. All rights reserved.