Generated by
JDiff

com.itextpdf.io.source Documentation Differences

This file contains all the changes in documentation in the package com.itextpdf.io.source as colored differences. Deletions are shown like this , and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a tag will cause all subsequent paragraphs to be displayed differently.

Class PdfTokenizer, byte[] decodeStringContent(byte[], boolean)

Resolve escape symbols or hexadecimal symbols.
NOTE Due to PdfReference 1.7 part 3.2.3 String value contain ASCII characters, so we can convert it directly to byte array. @param content string bytes to be decoded @param hexWriting true if given string is hex-encoded, e.g. '<69546578#>'. False otherwise, e.g. '((iText( some version)#)' @return byte[] for decrypting or for creating java.lang.String.
Class PdfTokenizer, byte[] decodeStringContent(byte[], int, int, boolean)

Resolve escape symbols or hexadecimal symbols.

NOTE Due to PdfReference 1.7 part 3.2.3 String value contain ASCII characters, so we can convert it directly to byte array. @param content string bytes to be decoded @param from given start index @param to given end index @param hexWriting true if given string is hex-encoded, e.g. '<69546578#>'. False otherwise, e.g. '((iText( some version)#)' @return byte[] for decrypting or for creating java.lang.String.


Class RandomAccessFileOrArray, void close()

Closes the underlying source. @throws java.io.IOException in case of any I/O error.
Class RandomAccessFileOrArray, long length()

Gets the total amount of bytes in the source. @return source's size. @throws java.io.IOException in case of any I/O error.
Class RandomAccessFileOrArray, void seek(long)

Sets the current position in the source to the specified index. @param pos the position to set @throws java.io.IOException in case of any I/O error.

Class RandomAccessSourceFactory, IRandomAccessSource createBestSource(FileChannel)

Creates a IRandomAccessSource based on memory mapping a file channel. Unless you are explicitly working with a {@code FileChannel} already, it is better to use RandomAccessSourceFactory.createBestSource(String). If the file is large, it will be opened using a paging strategy. @param channel the name of the file or resource to create the IRandomAccessSource for @return the newly created IRandomAccessSource @throws java.io.IOException in case of any I/O error
Class RandomAccessSourceFactory, IRandomAccessSource createBestSource(String)

Creates a IRandomAccessSource based on a filename string. If the filename describes a URL, a URL based source is created If the filename describes a file on disk, the contents may be read into memory (if {@code forceRead} is true), opened using memory mapped file channel (if usePlainRandomAccess is false), or opened using RandomAccessFile access (if usePlainRandomAccess is true) This call will automatically fail over to using RandomAccessFile if the memory map operation fails @param filename the name of the file or resource to create the IRandomAccessSource for @return the newly created IRandomAccessSource @throws java.io.IOException in case of any I/O error
Class RandomAccessSourceFactory, IRandomAccessSource createSource(InputStream)

Creates a IRandomAccessSource based on an InputStream. The full content of the InputStream is read into memory and used as the source for the IRandomAccessSource @param inputStream the stream to read from @return the newly created IRandomAccessSource @throws java.io.IOException in case of any I/O error.
Class RandomAccessSourceFactory, IRandomAccessSource createSource(URL)

Creates a IRandomAccessSource based on a URL. The data available at the URL is read into memory and used as the source for the IRandomAccessSource @param url the url to read from @return the newly created IRandomAccessSource @throws java.io.IOException in case of any I/O error.