iText io.jar Source Code

io.jar is a component in iText Java library to provide input/output functionalities. iText Java library allows you to generate and manage PDF documents.

The Source Code files are provided together with the JAR file in the binary packge like iText7-Core-7.1.4.zip. You can download it at iText 7 Core Download site.

You can compile it to generate your JAR file, using io.pom as the build configuration file.

The source code of io-7.1.4.jar is provided below:

✍: FYIcenter.com

com/itextpdf/io/codec/brotli/dec/WordTransformType.java

/* Copyright 2015 Google Inc. All Rights Reserved.

   Distributed under MIT license.
   See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/

package com.itextpdf.io.codec.brotli.dec;

/**
 * Enumeration of all possible word transformations.
 *
 * <p>There are two simple types of transforms: omit X first/last symbols, two character-case
 * transforms and the identity transform.
 */
final class WordTransformType {
  static final int IDENTITY = 0;
  static final int OMIT_LAST_1 = 1;
  static final int OMIT_LAST_2 = 2;
  static final int OMIT_LAST_3 = 3;
  static final int OMIT_LAST_4 = 4;
  static final int OMIT_LAST_5 = 5;
  static final int OMIT_LAST_6 = 6;
  static final int OMIT_LAST_7 = 7;
  static final int OMIT_LAST_8 = 8;
  static final int OMIT_LAST_9 = 9;
  static final int UPPERCASE_FIRST = 10;
  static final int UPPERCASE_ALL = 11;
  static final int OMIT_FIRST_1 = 12;
  static final int OMIT_FIRST_2 = 13;
  static final int OMIT_FIRST_3 = 14;
  static final int OMIT_FIRST_4 = 15;
  static final int OMIT_FIRST_5 = 16;
  static final int OMIT_FIRST_6 = 17;
  static final int OMIT_FIRST_7 = 18;
  static final int OMIT_FIRST_8 = 19;
  static final int OMIT_FIRST_9 = 20;

  static int getOmitFirst(int type) {
    return type >= OMIT_FIRST_1 ? (type - OMIT_FIRST_1 + 1) : 0;
  }

  static int getOmitLast(int type) {
    return type <= OMIT_LAST_9 ? (type - OMIT_LAST_1 + 1) : 0;
  }
}

com/itextpdf/io/codec/brotli/dec/WordTransformType.java

 

Or download all of them as a single archive file:

File name: io-7.1.4-sources.jar
File size: 608762 bytes
Release date: 2018-10-09
Download 

 

iText layout.jar Source Code

iText kernel.jar Source Code

Download and Install iText Java Library

⇑⇑ iText for PDF Generation

2018-04-09, 90308👍, 5💬