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

A

AbstractContextBasedEventHandler - Class in com.itextpdf.commons.actions
Base class for events handling depending on the context.
AbstractContextBasedEventHandler(IContext) - Constructor for class com.itextpdf.commons.actions.AbstractContextBasedEventHandler
Creates a new instance of the handler with the defined fallback for events within unknown contexts.
AbstractContextBasedITextEvent - Class in com.itextpdf.commons.actions
Represents a context-based event.
AbstractContextBasedITextEvent(ProductData, IMetaInfo) - Constructor for class com.itextpdf.commons.actions.AbstractContextBasedITextEvent
Creates an event containing auxiliary meta data.
AbstractContextManagerConfigurationEvent - Class in com.itextpdf.commons.actions.contexts
Class is recommended for internal usage.
AbstractContextManagerConfigurationEvent() - Constructor for class com.itextpdf.commons.actions.contexts.AbstractContextManagerConfigurationEvent
Creates an instance of context manager configuration event.
AbstractEventWrapper - Class in com.itextpdf.commons.actions
Base class to wrap events.
AbstractEventWrapper(AbstractProductProcessITextEvent, EventConfirmationType) - Constructor for class com.itextpdf.commons.actions.AbstractEventWrapper
Creates a wrapper for the event.
AbstractEventWrapper(SequenceId, AbstractProductProcessITextEvent, EventConfirmationType) - Constructor for class com.itextpdf.commons.actions.AbstractEventWrapper
Creates a wrapper of event associated with SequenceId.
AbstractIdentifiableElement - Class in com.itextpdf.commons.actions.sequence
The class allows to make any element identifiable so that it is possible to store some metadata for it.
AbstractIdentifiableElement() - Constructor for class com.itextpdf.commons.actions.sequence.AbstractIdentifiableElement
 
AbstractITextConfigurationEvent - Class in com.itextpdf.commons.actions
Abstract class which represents system configuration events.
AbstractITextConfigurationEvent() - Constructor for class com.itextpdf.commons.actions.AbstractITextConfigurationEvent
 
AbstractITextEvent - Class in com.itextpdf.commons.actions
Abstract class which defines events only for internal usage.
AbstractITextEvent() - Constructor for class com.itextpdf.commons.actions.AbstractITextEvent
Creates an instance of abstract iText event.
AbstractITextProductEventProcessor - Class in com.itextpdf.commons.actions.processors
Abstract class with some standard functionality for product event processing.
AbstractITextProductEventProcessor(String) - Constructor for class com.itextpdf.commons.actions.processors.AbstractITextProductEventProcessor
Creates a new instance of an abstract processor for the provided product.
AbstractProductITextEvent - Class in com.itextpdf.commons.actions
Abstract class which defines general product events by encapsulating ProductData of the product which generated event.
AbstractProductITextEvent(ProductData) - Constructor for class com.itextpdf.commons.actions.AbstractProductITextEvent
Creates instance of abstract product iText event based on passed product data.
AbstractProductProcessITextEvent - Class in com.itextpdf.commons.actions
Abstract class which defines product process event.
AbstractProductProcessITextEvent(SequenceId, ProductData, IMetaInfo, EventConfirmationType) - Constructor for class com.itextpdf.commons.actions.AbstractProductProcessITextEvent
Creates an event associated with SequenceId.
AbstractProductProcessITextEvent(ProductData, IMetaInfo, EventConfirmationType) - Constructor for class com.itextpdf.commons.actions.AbstractProductProcessITextEvent
Creates an event which is not associated with any object.
AbstractStatisticsAggregator - Class in com.itextpdf.commons.actions
Abstract class for statistics aggregation.
AbstractStatisticsAggregator() - Constructor for class com.itextpdf.commons.actions.AbstractStatisticsAggregator
 
AbstractStatisticsEvent - Class in com.itextpdf.commons.actions
Abstract class which defines statistics event.
AbstractStatisticsEvent(ProductData) - Constructor for class com.itextpdf.commons.actions.AbstractStatisticsEvent
Creates instance of abstract statistics iText event based on passed product data.
acknowledgeAgplUsageDisableWarningMessage() - Static method in class com.itextpdf.commons.actions.EventManager
Deliberately turns off the warning message about AGPL usage.
Action - Interface in com.itextpdf.commons.utils
Functional interface which takes 0 parameters and returns nothing.
addDaysToCalendar(Calendar, int) - Static method in class com.itextpdf.commons.utils.DateTimeUtil
Adds the specified amount of days to the given calendar field.
addDaysToDate(Date, int) - Static method in class com.itextpdf.commons.utils.DateTimeUtil
Adds the specified amount of days to the given date.
addEntry(String, File) - Method in class com.itextpdf.commons.utils.ZipFileWriter
Add file from disk into zip archive.
addEntry(String, InputStream) - Method in class com.itextpdf.commons.utils.ZipFileWriter
Add file into zip archive with data from stream.
addEvent(SequenceId, AbstractProductProcessITextEvent) - Method in class com.itextpdf.commons.actions.AbstractITextConfigurationEvent
Registers a new event for provided identifier.
addJsonEntry(String, Object) - Method in class com.itextpdf.commons.utils.ZipFileWriter
Add file into zip archive with object serialized as JSON.
addProcessor(ITextProductEventProcessor) - Method in class com.itextpdf.commons.actions.AbstractITextConfigurationEvent
Adds a new ITextProductEventProcessor for a product.
aggregate(AbstractStatisticsEvent) - Method in class com.itextpdf.commons.actions.AbstractStatisticsAggregator
Aggregates data from the provided event.
AggregatedException - Exception in com.itextpdf.commons.exceptions
Composite exception class.
AggregatedException(List<RuntimeException>) - Constructor for exception com.itextpdf.commons.exceptions.AggregatedException
Creates an instance of aggregated exception based on the collection of exceptions.
AggregatedException(String, List<RuntimeException>) - Constructor for exception com.itextpdf.commons.exceptions.AggregatedException
Creates an instance of aggregated exception based on the collection of exceptions.
areTwoJsonObjectEquals(String, String) - Static method in class com.itextpdf.commons.utils.JsonUtil
Compares two json strings without considering the order of the elements.

B

Base64 - Class in com.itextpdf.commons.utils
Encodes and decodes to and from Base64 notation.
Base64.InputStream - Class in com.itextpdf.commons.utils
A Base64.InputStream will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.OutputStream - Class in com.itextpdf.commons.utils
A Base64.OutputStream will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.

C

close() - Method in class com.itextpdf.commons.utils.Base64.OutputStream
Flushes and closes (I think, in the superclass) the stream.
close() - Method in class com.itextpdf.commons.utils.ZipFileReader
 
close() - Method in class com.itextpdf.commons.utils.ZipFileWriter
 
com.itextpdf.commons.actions - package com.itextpdf.commons.actions
 
com.itextpdf.commons.actions.confirmations - package com.itextpdf.commons.actions.confirmations
 
com.itextpdf.commons.actions.contexts - package com.itextpdf.commons.actions.contexts
 
com.itextpdf.commons.actions.data - package com.itextpdf.commons.actions.data
 
com.itextpdf.commons.actions.processors - package com.itextpdf.commons.actions.processors
 
com.itextpdf.commons.actions.producer - package com.itextpdf.commons.actions.producer
 
com.itextpdf.commons.actions.sequence - package com.itextpdf.commons.actions.sequence
 
com.itextpdf.commons.exceptions - package com.itextpdf.commons.exceptions
 
com.itextpdf.commons.logs - package com.itextpdf.commons.logs
 
com.itextpdf.commons.utils - package com.itextpdf.commons.utils
 
CommonsExceptionMessageConstant - Class in com.itextpdf.commons.exceptions
Class that bundles all the error message templates as constants.
CommonsLogMessageConstant - Class in com.itextpdf.commons.logs
Class that bundles all the error message templates as constants.
CommonsProductData - Class in com.itextpdf.commons.actions.data
Stores an instance of ProductData related to iText commons module.
ConfirmedEventWrapper - Class in com.itextpdf.commons.actions.confirmations
A wrapper for a AbstractProductProcessITextEvent storing additional data about the event.
ConfirmedEventWrapper(AbstractProductProcessITextEvent, String, String) - Constructor for class com.itextpdf.commons.actions.confirmations.ConfirmedEventWrapper
Creates a wrapper for the event with additional data about the event.
ConfirmEvent - Class in com.itextpdf.commons.actions.confirmations
Used to confirm that process associated with some AbstractProductProcessITextEvent ended successfully.
ConfirmEvent(SequenceId, AbstractProductProcessITextEvent) - Constructor for class com.itextpdf.commons.actions.confirmations.ConfirmEvent
Creates an instance of confirmation event.
ConfirmEvent(AbstractProductProcessITextEvent) - Constructor for class com.itextpdf.commons.actions.confirmations.ConfirmEvent
Creates an instance of confirmation event.
constructFileByDirectoryAndName(String, String) - Static method in class com.itextpdf.commons.utils.FileUtil
 
ContextManager - Class in com.itextpdf.commons.actions.contexts
The class that retrieves context of its invocation.
convertToBytes(char[], String) - Static method in class com.itextpdf.commons.utils.EncodingUtil
Converts to byte array an array of chars, taking the provided encoding into account.
convertToString(byte[], String) - Static method in class com.itextpdf.commons.utils.EncodingUtil
Converts to String an array of bytes, taking the provided encoding into account.
copy(String, String) - Static method in class com.itextpdf.commons.utils.FileUtil
Creates a copy of a file.
CORE_BARCODES - Static variable in class com.itextpdf.commons.actions.NamespaceConstant
 
CORE_EVENTS - Static variable in class com.itextpdf.commons.actions.NamespaceConstant
 
CORE_FORMS - Static variable in class com.itextpdf.commons.actions.NamespaceConstant
 
CORE_IO - Static variable in class com.itextpdf.commons.actions.NamespaceConstant
 
CORE_KERNEL - Static variable in class com.itextpdf.commons.actions.NamespaceConstant
 
CORE_LAYOUT - Static variable in class com.itextpdf.commons.actions.NamespaceConstant
 
CORE_PDFA - Static variable in class com.itextpdf.commons.actions.NamespaceConstant
 
CORE_SIGN - Static variable in class com.itextpdf.commons.actions.NamespaceConstant
 
CORE_SVG - Static variable in class com.itextpdf.commons.actions.NamespaceConstant
 
CORE_SXP - Static variable in class com.itextpdf.commons.actions.NamespaceConstant
 
createDirectories(String) - Static method in class com.itextpdf.commons.utils.FileUtil
Creates a directory at the provided path.
createPrintWriter(OutputStream, String) - Static method in class com.itextpdf.commons.utils.FileUtil
 
createProcessor(String) - Method in class com.itextpdf.commons.actions.processors.DefaultProductProcessorFactory
Creates default product processor using a product name.
createProcessor(String) - Method in interface com.itextpdf.commons.actions.processors.IProductProcessorFactory
Creates product processor using a product name.
createProcessor(String) - Method in class com.itextpdf.commons.actions.processors.UnderAgplProductProcessorFactory
Creates under AGPL product processor using a product name.
createStatisticsAggregatorFromName(String) - Method in class com.itextpdf.commons.actions.AbstractStatisticsEvent
Creates statistics aggregator based on provided statistics name.
createTempCopy(String, String, String) - Static method in class com.itextpdf.commons.utils.FileUtil
Creates a temporary copy of a file.
createTempDirectory(String) - Static method in class com.itextpdf.commons.utils.FileUtil
Creates a temporary directory.
createTempFile(String) - Static method in class com.itextpdf.commons.utils.FileUtil
Creates a temporary file at the provided path.
createTempFile(String, String) - Static method in class com.itextpdf.commons.utils.FileUtil
Creates a temporary file.

D

DateTimeUtil - Class in com.itextpdf.commons.utils
This file is a helper class for internal usage only.
DECODE - Static variable in class com.itextpdf.commons.utils.Base64
Specify decoding.
decode(byte[], int, int, int) - Static method in class com.itextpdf.commons.utils.Base64
Very low-level access to decoding ASCII characters in the form of a byte array.
decode(String) - Static method in class com.itextpdf.commons.utils.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decode(String, int) - Static method in class com.itextpdf.commons.utils.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decodeFileToFile(String, String) - Static method in class com.itextpdf.commons.utils.Base64
Reads infile and decodes it to outfile.
decodeFromFile(String) - Static method in class com.itextpdf.commons.utils.Base64
Convenience method for reading a base64-encoded file and decoding it.
decodeToFile(String, String) - Static method in class com.itextpdf.commons.utils.Base64
Convenience method for decoding data to a file.
decodeToObject(String) - Static method in class com.itextpdf.commons.utils.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
DefaultITextProductEventProcessor - Class in com.itextpdf.commons.actions.processors
Defines a default strategy of product event processing.
DefaultITextProductEventProcessor(String) - Constructor for class com.itextpdf.commons.actions.processors.DefaultITextProductEventProcessor
Creates an instance of product event processor.
DefaultProductProcessorFactory - Class in com.itextpdf.commons.actions.processors
Default factory class to construct ITextProductEventProcessor instance.
DefaultProductProcessorFactory() - Constructor for class com.itextpdf.commons.actions.processors.DefaultProductProcessorFactory
 
deleteFile(File) - Static method in class com.itextpdf.commons.utils.FileUtil
Deletes a file and returns whether the operation succeeded.
deserializeFromStream(InputStream, Class<T>) - Static method in class com.itextpdf.commons.utils.JsonUtil
Deserializes passed JSON stream to object with passed type.
deserializeFromStream(InputStream, TypeReference<T>) - Static method in class com.itextpdf.commons.utils.JsonUtil
Deserializes passed JSON stream to object with passed type.
deserializeFromStream(InputStream, JavaType) - Static method in class com.itextpdf.commons.utils.JsonUtil
Deserializes passed JSON stream to object with passed type.
deserializeFromString(String, Class<T>) - Static method in class com.itextpdf.commons.utils.JsonUtil
Deserializes passed JSON string to object with passed type.
deserializeFromString(String, TypeReference<T>) - Static method in class com.itextpdf.commons.utils.JsonUtil
Deserializes passed JSON string to object with passed type.
deserializeFromString(String, JavaType) - Static method in class com.itextpdf.commons.utils.JsonUtil
Deserializes passed JSON string to object with passed type.
directoryExists(String) - Static method in class com.itextpdf.commons.utils.FileUtil
Checks whether there is a directory at the provided path.
doAction() - Method in class com.itextpdf.commons.actions.AbstractITextConfigurationEvent
Method defines the logic of action processing.
doAction() - Method in class com.itextpdf.commons.actions.producer.ProducerBuilder
Configuration events for util internal purposes are not expected to be sent.
DONT_BREAK_LINES - Static variable in class com.itextpdf.commons.utils.Base64
Don't break lines when encoding (violates strict Base64 specification)

E

ELEMENT_ALREADY_HAS_IDENTIFIER - Static variable in class com.itextpdf.commons.exceptions.CommonsExceptionMessageConstant
Message warns about overriding of the identifier of identifiable element.
ENCODE - Static variable in class com.itextpdf.commons.utils.Base64
Specify encoding.
encodeBytes(byte[]) - Static method in class com.itextpdf.commons.utils.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int) - Static method in class com.itextpdf.commons.utils.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int) - Static method in class com.itextpdf.commons.utils.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int, int) - Static method in class com.itextpdf.commons.utils.Base64
Encodes a byte array into Base64 notation.
encodeFileToFile(String, String) - Static method in class com.itextpdf.commons.utils.Base64
Reads infile and encodes it to outfile.
encodeFromFile(String) - Static method in class com.itextpdf.commons.utils.Base64
Convenience method for reading a binary file and base64-encoding it.
encodeObject(Serializable) - Static method in class com.itextpdf.commons.utils.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeObject(Serializable, int) - Static method in class com.itextpdf.commons.utils.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeToFile(byte[], String) - Static method in class com.itextpdf.commons.utils.Base64
Convenience method for encoding data to a file.
EncodingUtil - Class in com.itextpdf.commons.utils
This file is a helper class for internal usage only.
equals(Object) - Method in class com.itextpdf.commons.actions.data.ProductData
 
equals(Map<K, V>, Map<K, V>) - Static method in class com.itextpdf.commons.utils.MapUtil
Checks if two maps are equal: the are of the same types and has equal number of stored entries and both has the same set of keys ans each key is associated with an appropriate value.
ERROR_DURING_EVENT_PROCESSING - Static variable in exception com.itextpdf.commons.exceptions.AggregatedException
Notifies that event processing failed.
EventConfirmationType - Enum in com.itextpdf.commons.actions.confirmations
Defines the strategy of AbstractProductProcessITextEvent confirming.
EventManager - Class in com.itextpdf.commons.actions
Entry point for event handling mechanism.
execute() - Method in interface com.itextpdf.commons.utils.Action
Execute action.

F

FILE_NAME_ALREADY_EXIST - Static variable in class com.itextpdf.commons.exceptions.CommonsExceptionMessageConstant
 
FILE_NAME_CAN_NOT_BE_NULL - Static variable in class com.itextpdf.commons.exceptions.CommonsExceptionMessageConstant
 
FILE_NAME_SHOULD_BE_UNIQUE - Static variable in class com.itextpdf.commons.exceptions.CommonsExceptionMessageConstant
 
FILE_SHOULD_EXIST - Static variable in class com.itextpdf.commons.exceptions.CommonsExceptionMessageConstant
 
fileExists(String) - Static method in class com.itextpdf.commons.utils.FileUtil
Checks whether there is a file at the provided path.
FileUtil - Class in com.itextpdf.commons.utils
This file is a helper class for internal usage only.
flushBase64() - Method in class com.itextpdf.commons.utils.Base64.OutputStream
Method added by PHIL.
format(Date, String) - Static method in class com.itextpdf.commons.utils.DateTimeUtil
Format passing date with specified pattern.
format(String, Object...) - Static method in class com.itextpdf.commons.utils.MessageFormatUtil
This method provides a generic way for formatting strings.
formatWithDefaultPattern(Date) - Static method in class com.itextpdf.commons.utils.DateTimeUtil
Format passing date with default yyyy-MM-dd pattern.

G

GenericContext - Class in com.itextpdf.commons.actions.contexts
Generic context that allows AbstractContextBasedITextEvent based on the whitelist of supported events.
GenericContext(Collection<String>) - Constructor for class com.itextpdf.commons.actions.contexts.GenericContext
Creates a Generic Context instance with support of provided namespaces and products.
getActiveProcessor(String) - Method in class com.itextpdf.commons.actions.AbstractITextConfigurationEvent
Gets a processor registered for a product.
getAggregatedExceptions() - Method in exception com.itextpdf.commons.exceptions.AggregatedException
Gets a list of aggregated exceptions.
getBufferedOutputStream(String) - Static method in class com.itextpdf.commons.utils.FileUtil
 
getCalendar(Date) - Static method in class com.itextpdf.commons.utils.DateTimeUtil
Gets the date as Calendar.
getClassFromContext() - Method in class com.itextpdf.commons.actions.AbstractContextBasedITextEvent
Obtains the current event context class.
getClassFromContext() - Method in class com.itextpdf.commons.actions.AbstractEventWrapper
 
getConfirmationType() - Method in class com.itextpdf.commons.actions.AbstractProductProcessITextEvent
getConfirmedEvent() - Method in class com.itextpdf.commons.actions.confirmations.ConfirmEvent
Returns the AbstractProductProcessITextEvent associated with confirmed process.
getContext(Class<?>) - Method in class com.itextpdf.commons.actions.contexts.ContextManager
Gets the context associated with the passed class object.
getContext(String) - Method in class com.itextpdf.commons.actions.contexts.ContextManager
Gets the context associated with the passed class object.
getCurrentTimeCalendar() - Static method in class com.itextpdf.commons.utils.DateTimeUtil
Gets a default GregorianCalendar.
getCurrentTimeDate() - Static method in class com.itextpdf.commons.utils.DateTimeUtil
Gets current time consistently.
getCurrentTimeZoneOffset() - Static method in class com.itextpdf.commons.utils.DateTimeUtil
Deprecated.
Unused and will be removed in the next major release. Use DateTimeUtil.getCurrentTimeZoneOffset(Date) instead.
getCurrentTimeZoneOffset(Date) - Static method in class com.itextpdf.commons.utils.DateTimeUtil
Gets the offset of time zone from UTC at the specified date.
getEvent() - Method in class com.itextpdf.commons.actions.AbstractEventWrapper
Obtains the wrapped event.
getEvents(SequenceId) - Method in class com.itextpdf.commons.actions.AbstractITextConfigurationEvent
Gets events registered for provided identifier.
getEventType() - Method in class com.itextpdf.commons.actions.AbstractEventWrapper
 
getEventType() - Method in class com.itextpdf.commons.actions.AbstractProductProcessITextEvent
Returns an event type.
getExitCode() - Method in class com.itextpdf.commons.utils.ProcessInfo
Getter for a process exit code.
getFileNames() - Method in class com.itextpdf.commons.utils.ZipFileReader
Get all file entries paths inside the reading zip file.
getFileOutputStream(File) - Static method in class com.itextpdf.commons.utils.FileUtil
 
getFileOutputStream(String) - Static method in class com.itextpdf.commons.utils.FileUtil
 
getFontsDir() - Static method in class com.itextpdf.commons.utils.FileUtil
Gets the default windows font directory.
getFreeMemory() - Static method in class com.itextpdf.commons.utils.SystemUtil
 
getHashCode(Map<K, V>) - Static method in class com.itextpdf.commons.utils.MapUtil
Calculates the hash code of the map.
getId() - Method in class com.itextpdf.commons.actions.sequence.SequenceId
Obtains an id.
getInputStreamForFile(String) - Static method in class com.itextpdf.commons.utils.FileUtil
 
getInstance() - Static method in class com.itextpdf.commons.actions.contexts.ContextManager
Gets the singleton instance of this class.
getInstance() - Static method in class com.itextpdf.commons.actions.data.CommonsProductData
Getter for an instance of ProductData related to iText commons module.
getInstance() - Static method in class com.itextpdf.commons.actions.EventManager
Allows an access to the instance of EventManager.
getMessage() - Method in exception com.itextpdf.commons.exceptions.AggregatedException
Builds message for the exception including its own message and all messages from the aggregated exceptions.
getMinCompatibleLicensingModuleVersion() - Method in class com.itextpdf.commons.actions.data.ProductData
Getter for the minimal compatible licensekey version.
getParentDirectoryUri(File) - Static method in class com.itextpdf.commons.utils.FileUtil
 
getProcessErrOutput() - Method in class com.itextpdf.commons.utils.ProcessInfo
Getter for an error process output.
getProcessors() - Method in class com.itextpdf.commons.actions.AbstractITextConfigurationEvent
Gets an unmodifiable map of registered processors.
getProcessStdOutput() - Method in class com.itextpdf.commons.utils.ProcessInfo
Getter for a standard process output.
getProducer() - Method in class com.itextpdf.commons.actions.processors.AbstractITextProductEventProcessor
 
getProducer() - Method in interface com.itextpdf.commons.actions.processors.ITextProductEventProcessor
Gets the producer line for the product.
getProducerLine() - Method in class com.itextpdf.commons.actions.confirmations.ConfirmedEventWrapper
Gets producer line defined by the ITextProductEventProcessor which registered the event.
getProductData() - Method in class com.itextpdf.commons.actions.AbstractProductITextEvent
Gets a product data which generated the event.
getProductName() - Method in class com.itextpdf.commons.actions.AbstractProductITextEvent
Gets a name of product which generated the event.
getProductName() - Method in class com.itextpdf.commons.actions.data.ProductData
Getter for a technical name of the product.
getProductName() - Method in class com.itextpdf.commons.actions.processors.AbstractITextProductEventProcessor
 
getProductName() - Method in interface com.itextpdf.commons.actions.processors.ITextProductEventProcessor
Gets the name of the product to which this processor corresponds.
getProductUsageType() - Method in class com.itextpdf.commons.actions.confirmations.ConfirmedEventWrapper
Obtains the license type for the product which generated the event.
getPropertyOrEnvironmentVariable(String) - Static method in class com.itextpdf.commons.utils.SystemUtil
Gets either java property or environment variable with given name.
getPublicProductName() - Method in class com.itextpdf.commons.actions.data.ProductData
Getter for a product name.
getRandomAccessFile(File) - Static method in class com.itextpdf.commons.utils.FileUtil
 
getRelativeTime(Date) - Static method in class com.itextpdf.commons.utils.DateTimeUtil
Gets the number of milliseconds since January 1, 1970, 00:00:00 GMT represented by specified date.
getRelativeTimeMillis() - Static method in class com.itextpdf.commons.utils.SystemUtil
Should be used in relative constructs (for example to check how many milliseconds have passed).
getSequenceId() - Method in class com.itextpdf.commons.actions.AbstractProductProcessITextEvent
Retrieves an identifier of event source.
getSequenceId(AbstractIdentifiableElement) - Static method in class com.itextpdf.commons.actions.sequence.SequenceIdManager
Gets an identifier of the element.
getSinceCopyrightYear() - Method in class com.itextpdf.commons.actions.data.ProductData
Getter for the first year of copyright period.
getStatisticsNames() - Method in class com.itextpdf.commons.actions.AbstractStatisticsEvent
Gets all statistics names related to this event.
getTimeBasedIntSeed() - Static method in class com.itextpdf.commons.utils.SystemUtil
 
getTimeBasedSeed() - Static method in class com.itextpdf.commons.utils.SystemUtil
 
getToCopyrightYear() - Method in class com.itextpdf.commons.actions.data.ProductData
Getter for the last year of copyright period.
getUsageType() - Method in class com.itextpdf.commons.actions.processors.AbstractITextProductEventProcessor
 
getUsageType() - Method in class com.itextpdf.commons.actions.processors.DefaultITextProductEventProcessor
 
getUsageType() - Method in interface com.itextpdf.commons.actions.processors.ITextProductEventProcessor
Gets the usage type of the product to which this processor corresponds.
getUsageType() - Method in class com.itextpdf.commons.actions.processors.UnderAgplITextProductEventProcessor
 
getUtcMillisFromEpoch(Calendar) - Static method in class com.itextpdf.commons.utils.DateTimeUtil
Gets the Calendar as UTC milliseconds from the epoch.
getVersion() - Method in class com.itextpdf.commons.actions.data.ProductData
Getter for a version of the product.
GZIP - Static variable in class com.itextpdf.commons.utils.Base64
Specify that data should be gzip-compressed.

H

hashCode() - Method in class com.itextpdf.commons.actions.data.ProductData
 

I

IContext - Interface in com.itextpdf.commons.actions.contexts
The class that determines weather event should be processed or not.
IEvent - Interface in com.itextpdf.commons.actions
Base marker interface for any generated event of any source.
IEventHandler - Interface in com.itextpdf.commons.actions
The interface for an event handler.
IMetaInfo - Interface in com.itextpdf.commons.actions.contexts
The meta info that can holds information about instance that throws the event.
InputStream(InputStream) - Constructor for class com.itextpdf.commons.utils.Base64.InputStream
Constructs a Base64.InputStream in DECODE mode.
InputStream(InputStream, int) - Constructor for class com.itextpdf.commons.utils.Base64.InputStream
Constructs a Base64.InputStream in either ENCODE or DECODE mode.
INVALID_STATISTICS_NAME - Static variable in class com.itextpdf.commons.logs.CommonsLogMessageConstant
Message notifies that an invalid statistics name was received, because there is no aggregator for it.
INVALID_USAGE_CONFIGURATION_FORBIDDEN - Static variable in class com.itextpdf.commons.exceptions.CommonsExceptionMessageConstant
 
INVALID_USAGE_FORMAT_REQUIRED - Static variable in class com.itextpdf.commons.exceptions.CommonsExceptionMessageConstant
 
IProductProcessorFactory - Interface in com.itextpdf.commons.actions.processors
Class represents a factory for ITextProductEventProcessor objects.
isAllowed(AbstractContextBasedITextEvent) - Method in class com.itextpdf.commons.actions.contexts.GenericContext
Checks if the source product of the event is supported by the context.
isAllowed(AbstractContextBasedITextEvent) - Method in interface com.itextpdf.commons.actions.contexts.IContext
Determines weather event should be processed or not.
isAllowed(AbstractContextBasedITextEvent) - Method in class com.itextpdf.commons.actions.contexts.UnknownContext
Depending on its internal state allows or rejects all event.
isFileNotEmpty(String) - Static method in class com.itextpdf.commons.utils.FileUtil
Checks whether is provided file not empty.
isInPast(Date) - Static method in class com.itextpdf.commons.utils.DateTimeUtil
Defines if date is in past.
isRegistered(IEventHandler) - Method in class com.itextpdf.commons.actions.EventManager
Check if the handler was registered for event handling process.
ITEXT - Static variable in class com.itextpdf.commons.actions.NamespaceConstant
 
ITEXT_CORE - Static variable in class com.itextpdf.commons.actions.ProductNameConstant
 
ITEXT_CORE_NAMESPACES - Static variable in class com.itextpdf.commons.actions.NamespaceConstant
 
ITextException - Exception in com.itextpdf.commons.exceptions
General iText exception.
ITextException() - Constructor for exception com.itextpdf.commons.exceptions.ITextException
Creates a new ITextException with no error message and cause.
ITextException(String) - Constructor for exception com.itextpdf.commons.exceptions.ITextException
Creates a new ITextException.
ITextException(Throwable) - Constructor for exception com.itextpdf.commons.exceptions.ITextException
Creates a new ITextException.
ITextException(String, Throwable) - Constructor for exception com.itextpdf.commons.exceptions.ITextException
Creates a new ITextException.
ITextProductEventProcessor - Interface in com.itextpdf.commons.actions.processors
Interface for product event processors.

J

JSON_OBJECT_CAN_NOT_BE_NULL - Static variable in class com.itextpdf.commons.exceptions.CommonsExceptionMessageConstant
 
JsonUtil - Class in com.itextpdf.commons.utils
Utility class for JSON serialization and deserialization operations.

L

listFilesInDirectory(String, boolean) - Static method in class com.itextpdf.commons.utils.FileUtil
Lists all the files located at the provided directory.
listFilesInDirectoryByFilter(String, FileFilter) - Static method in class com.itextpdf.commons.utils.FileUtil
Lists all the files located at the provided directory, which are accepted by the provided filter.
LOCAL_FILE_COMPRESSION_FAILED - Static variable in class com.itextpdf.commons.logs.CommonsLogMessageConstant
Message notifies that files archiving operation failed.

M

MapUtil - Class in com.itextpdf.commons.utils
Utility class for work with collections.
merge(AbstractStatisticsAggregator) - Method in class com.itextpdf.commons.actions.AbstractStatisticsAggregator
Merges data from the provided aggregator into this aggregator.
merge(Map<K, V>, Map<K, V>, BiFunction<V, V, V>) - Static method in class com.itextpdf.commons.utils.MapUtil
Merges data from source Map into destination Map using provided function if key exists in both Maps.
MessageFormatUtil - Class in com.itextpdf.commons.utils
This file is a helper class for internal usage only.
modifyProducer(List<? extends AbstractProductProcessITextEvent>, String) - Static method in class com.itextpdf.commons.actions.producer.ProducerBuilder
Modifies an old producer line according to events registered for the document.

N

NamespaceConstant - Class in com.itextpdf.commons.actions
Class that stores namespaces of iText open source products.
NO_EVENTS_WERE_REGISTERED_FOR_THE_DOCUMENT - Static variable in class com.itextpdf.commons.exceptions.CommonsExceptionMessageConstant
 
NO_OPTIONS - Static variable in class com.itextpdf.commons.utils.Base64
No options specified.

O

onAcceptedEvent(AbstractContextBasedITextEvent) - Method in class com.itextpdf.commons.actions.AbstractContextBasedEventHandler
Handles the accepted event.
onEvent(IEvent) - Method in class com.itextpdf.commons.actions.AbstractContextBasedEventHandler
Performs context validation and if event is allowed to be processed passes it to AbstractContextBasedEventHandler.onAcceptedEvent(AbstractContextBasedITextEvent).
onEvent(IEvent) - Method in class com.itextpdf.commons.actions.EventManager
Handles the event.
onEvent(IEvent) - Method in interface com.itextpdf.commons.actions.IEventHandler
Handles the event.
onEvent(AbstractProductProcessITextEvent) - Method in class com.itextpdf.commons.actions.processors.AbstractITextProductEventProcessor
 
onEvent(AbstractProductProcessITextEvent) - Method in class com.itextpdf.commons.actions.processors.DefaultITextProductEventProcessor
 
onEvent(AbstractProductProcessITextEvent) - Method in interface com.itextpdf.commons.actions.processors.ITextProductEventProcessor
onEvent(AbstractProductProcessITextEvent) - Method in class com.itextpdf.commons.actions.processors.UnderAgplITextProductEventProcessor
 
ORDERED - Static variable in class com.itextpdf.commons.utils.Base64
Encode using the special "ordered" dialect of Base64 described here: http://www.faqs.org/qa/rfcc-1940.html.
OutputStream(OutputStream) - Constructor for class com.itextpdf.commons.utils.Base64.OutputStream
Constructs a Base64.OutputStream in ENCODE mode.
OutputStream(OutputStream, int) - Constructor for class com.itextpdf.commons.utils.Base64.OutputStream
Constructs a Base64.OutputStream in either ENCODE or DECODE mode.

P

parentDirectory(URL) - Static method in class com.itextpdf.commons.utils.FileUtil
Returns an URL of the parent directory for the resource.
parse(String, String) - Static method in class com.itextpdf.commons.utils.DateTimeUtil
Parses passing date with specified format.
parseWithDefaultPattern(String) - Static method in class com.itextpdf.commons.utils.DateTimeUtil
Parses passing date with default yyyy-MM-dd pattern.
PATTERN_CONTAINS_OPEN_QUOTATION - Static variable in class com.itextpdf.commons.exceptions.CommonsExceptionMessageConstant
 
PATTERN_CONTAINS_UNEXPECTED_CHARACTER - Static variable in class com.itextpdf.commons.exceptions.CommonsExceptionMessageConstant
 
PATTERN_CONTAINS_UNEXPECTED_COMPONENT - Static variable in class com.itextpdf.commons.exceptions.CommonsExceptionMessageConstant
 
PDF_HTML - Static variable in class com.itextpdf.commons.actions.NamespaceConstant
 
PDF_HTML - Static variable in class com.itextpdf.commons.actions.ProductNameConstant
 
PDF_OCR - Static variable in class com.itextpdf.commons.actions.NamespaceConstant
 
PDF_OCR_TESSERACT4 - Static variable in class com.itextpdf.commons.actions.NamespaceConstant
 
PDF_OCR_TESSERACT4 - Static variable in class com.itextpdf.commons.actions.ProductNameConstant
 
PDF_SWEEP - Static variable in class com.itextpdf.commons.actions.NamespaceConstant
 
PDF_SWEEP - Static variable in class com.itextpdf.commons.actions.ProductNameConstant
 
PERMISSIVE - Static variable in class com.itextpdf.commons.actions.contexts.UnknownContext
The IContext that allows all events.
ProcessInfo - Class in com.itextpdf.commons.utils
Class contains a process information, such as process exit code and process output.
ProcessInfo(int, String, String) - Constructor for class com.itextpdf.commons.utils.ProcessInfo
Create a new instance, containing a process information, such as process exit code, process standard and error outputs.
ProducerBuilder - Class in com.itextpdf.commons.actions.producer
Class is used for producer line building.
PRODUCT_NAME_CAN_NOT_BE_NULL - Static variable in class com.itextpdf.commons.exceptions.CommonsExceptionMessageConstant
 
PRODUCT_NAMES - Static variable in class com.itextpdf.commons.actions.ProductNameConstant
 
ProductData - Class in com.itextpdf.commons.actions.data
Class is used to describe used product information.
ProductData(String, String, String, int, int) - Constructor for class com.itextpdf.commons.actions.data.ProductData
Creates a new instance of product data.
ProductData(String, String, String, String, int, int) - Constructor for class com.itextpdf.commons.actions.data.ProductData
Creates a new instance of product data.
ProductEventHandlerRepeatException - Exception in com.itextpdf.commons.exceptions
The class represents a signal to the event handler that it is necessary to repeat the handling of the current event.
ProductEventHandlerRepeatException(String) - Constructor for exception com.itextpdf.commons.exceptions.ProductEventHandlerRepeatException
Creates a new instance of ProductEventHandlerRepeatException based on message.
ProductNameConstant - Class in com.itextpdf.commons.actions
 
putIfNotNull(Map<K, V>, K, V) - Static method in class com.itextpdf.commons.utils.MapUtil
Puts value to map if the value is not null.

R

read() - Method in class com.itextpdf.commons.utils.Base64.InputStream
Reads enough of the input stream to convert to/from Base64 and returns the next byte.
read(byte[], int, int) - Method in class com.itextpdf.commons.utils.Base64.InputStream
Calls Base64.InputStream.read() repeatedly until the end of stream is reached or len bytes are read.
readFromZip(String) - Method in class com.itextpdf.commons.utils.ZipFileReader
Read single file from zip.
register(IEventHandler) - Method in class com.itextpdf.commons.actions.EventManager
Add new IEventHandler to the event handling process.
registerGenericContext(Collection<String>, Collection<String>) - Method in class com.itextpdf.commons.actions.contexts.AbstractContextManagerConfigurationEvent
Registers generic context for products and namespaces which are associated with them.
registerInternalNamespace(String) - Method in class com.itextpdf.commons.actions.AbstractITextConfigurationEvent
Registers internal namespace.
removeFiles(String[]) - Static method in class com.itextpdf.commons.utils.FileUtil
Removes all of the passed files.
removeProcessor(String) - Method in class com.itextpdf.commons.actions.AbstractITextConfigurationEvent
Removes a processor registered for a product.
RESTRICTIVE - Static variable in class com.itextpdf.commons.actions.contexts.UnknownContext
The IContext that forbids all events.
resumeEncoding() - Method in class com.itextpdf.commons.utils.Base64.OutputStream
Resumes encoding of the stream.
retrieveAggregation() - Method in class com.itextpdf.commons.actions.AbstractStatisticsAggregator
Retrieves aggregated data.
runProcessAndCollectErrors(String, String) - Static method in class com.itextpdf.commons.utils.SystemUtil
 
runProcessAndGetExitCode(String, String) - Static method in class com.itextpdf.commons.utils.SystemUtil
 
runProcessAndGetExitCode(String, String, String) - Static method in class com.itextpdf.commons.utils.SystemUtil
 
runProcessAndGetOutput(String, String) - Static method in class com.itextpdf.commons.utils.SystemUtil
 
runProcessAndGetProcessInfo(String, String) - Static method in class com.itextpdf.commons.utils.SystemUtil
 
runProcessAndWait(String, String) - Static method in class com.itextpdf.commons.utils.SystemUtil
 
runProcessAndWait(String, String, String) - Static method in class com.itextpdf.commons.utils.SystemUtil
 

S

SequenceId - Class in com.itextpdf.commons.actions.sequence
The class represents unique numeric identifier with autoincrement strategy of generation.
SequenceId() - Constructor for class com.itextpdf.commons.actions.sequence.SequenceId
Creates a new instance of identifier.
SequenceIdManager - Class in com.itextpdf.commons.actions.sequence
Util class which is responsible for marking of AbstractIdentifiableElement with appropriate SequenceId.
serializeToMinimalStream(OutputStream, Object) - Static method in class com.itextpdf.commons.utils.JsonUtil
Serializes passed object to minimal JSON without spaces and line breaks and writes it into provided stream.
serializeToMinimalString(Object) - Static method in class com.itextpdf.commons.utils.JsonUtil
Serializes passed object to minimal JSON string without spaces and line breaks.
serializeToStream(OutputStream, Object) - Static method in class com.itextpdf.commons.utils.JsonUtil
Serializes passed object to provided JSON output stream.
serializeToString(Object) - Static method in class com.itextpdf.commons.utils.JsonUtil
Serializes passed object to JSON string.
setMetaInfo(IMetaInfo) - Method in class com.itextpdf.commons.actions.AbstractContextBasedITextEvent
Sets meta info.
setSequenceId(AbstractIdentifiableElement, SequenceId) - Static method in class com.itextpdf.commons.actions.sequence.SequenceIdManager
STREAM_CAN_NOT_BE_NULL - Static variable in class com.itextpdf.commons.exceptions.CommonsExceptionMessageConstant
 
suspendEncoding() - Method in class com.itextpdf.commons.utils.Base64.OutputStream
Suspends encoding of the stream.
SystemUtil - Class in com.itextpdf.commons.utils
This file is a helper class for internal usage only.

U

UNABLE_TO_DESERIALIZE_JSON - Static variable in class com.itextpdf.commons.logs.CommonsLogMessageConstant
Message notifies that some exception has been thrown during json deserialization from object.
UNABLE_TO_SERIALIZE_OBJECT - Static variable in class com.itextpdf.commons.logs.CommonsLogMessageConstant
Message notifies that some exception has been thrown during json serialization to object.
UnderAgplITextProductEventProcessor - Class in com.itextpdf.commons.actions.processors
The class defines an under APGL strategy of product event processing.
UnderAgplITextProductEventProcessor(String) - Constructor for class com.itextpdf.commons.actions.processors.UnderAgplITextProductEventProcessor
Creates a new instance of under AGPL processor for the provided product.
UnderAgplProductProcessorFactory - Class in com.itextpdf.commons.actions.processors
Factory class to construct ITextProductEventProcessor instance under AGPL license.
UnderAgplProductProcessorFactory() - Constructor for class com.itextpdf.commons.actions.processors.UnderAgplProductProcessorFactory
 
UNKNOWN_ITEXT_EXCEPTION - Static variable in class com.itextpdf.commons.exceptions.CommonsExceptionMessageConstant
 
UNKNOWN_PLACEHOLDER_WAS_IGNORED - Static variable in class com.itextpdf.commons.logs.CommonsLogMessageConstant
Message notifies that unknown placeholder was ignored during parsing of the producer line format.
UNKNOWN_PRODUCT - Static variable in exception com.itextpdf.commons.exceptions.UnknownProductException
Message notifies that event corresponding to unknown product was met.
UnknownContext - Class in com.itextpdf.commons.actions.contexts
The fallback IContext.
UnknownContext(boolean) - Constructor for class com.itextpdf.commons.actions.contexts.UnknownContext
Creates a fallback IContext.
UnknownProductException - Exception in com.itextpdf.commons.exceptions
An exception notifies that unknown product was found in iText ecosystem.
UnknownProductException(String) - Constructor for exception com.itextpdf.commons.exceptions.UnknownProductException
Creates a new instance of the exception.
unregister(IEventHandler) - Method in class com.itextpdf.commons.actions.EventManager
Removes handler from event handling process.
unregisterContext(Collection<String>) - Method in class com.itextpdf.commons.actions.contexts.AbstractContextManagerConfigurationEvent
Unregisters certain namespaces.
UNREPORTED_EVENT - Static variable in class com.itextpdf.commons.logs.CommonsLogMessageConstant
Message warns that some event is at confirmation stage but it is not known.
URL_SAFE - Static variable in class com.itextpdf.commons.utils.Base64
Encode using Base64-like encoding that is URL- and Filename-safe as described in Section 4 of RFC3548: http://www.faqs.org/rfcs/rfc3548.html.

V

valueOf(String) - Static method in enum com.itextpdf.commons.actions.confirmations.EventConfirmationType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.itextpdf.commons.actions.confirmations.EventConfirmationType
Returns an array containing the constants of this enum type, in the order they are declared.

W

wrapWithBufferedOutputStream(OutputStream) - Static method in class com.itextpdf.commons.utils.FileUtil
 
write(int) - Method in class com.itextpdf.commons.utils.Base64.OutputStream
Writes the byte to the output stream after converting to/from Base64 notation.
write(byte[], int, int) - Method in class com.itextpdf.commons.utils.Base64.OutputStream
Calls Base64.OutputStream.write(int) repeatedly until len bytes are written.

Z

ZIP_ENTRY_NOT_FOUND - Static variable in class com.itextpdf.commons.exceptions.CommonsExceptionMessageConstant
 
ZipFileReader - Class in com.itextpdf.commons.utils
Allows reading entries from a zip file.
ZipFileReader(String) - Constructor for class com.itextpdf.commons.utils.ZipFileReader
Creates an instance for zip file reading.
ZipFileWriter - Class in com.itextpdf.commons.utils
Allows writing entries into a zip file.
ZipFileWriter(String) - Constructor for class com.itextpdf.commons.utils.ZipFileWriter
Creates an instance for zip file writing.
A B C D E F G H I J L M N O P R S U V W Z 
Skip navigation links

Copyright © 1998–2022 iText Group NV. All rights reserved.