Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
iText 5 itextpdf.jar Source Code
itextpdf.jar is a component in iText 5 Java library to provide core functionalities. iText Java library allows you to generate and manage PDF documents.
The Source Code files are provided at iText GitHub site.
You can compile it to generate your JAR file, using pom.xml as the build configuration file.
The source code of itextpdf-5.5.14.jar is provided below:
✍: FYIcenter.com
⏎ com/itextpdf/text/pdf/qrcode/ByteArray.java
/* * Copyright 2008 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.itextpdf.text.pdf.qrcode; /** * This class implements an array of unsigned bytes. * * @author dswitkin@google.com (Daniel Switkin) * @since 5.0.2 */ public final class ByteArray { private static final int INITIAL_SIZE = 32; private byte[] bytes; private int size; public ByteArray() { bytes = null; size = 0; } public ByteArray(int size) { bytes = new byte[size]; this.size = size; } public ByteArray(byte[] byteArray) { bytes = byteArray; size = bytes.length; } /** * Access an unsigned byte at location index. * @param index The index in the array to access. * @return The unsigned value of the byte as an int. */ public int at(int index) { return bytes[index] & 0xff; } public void set(int index, int value) { bytes[index] = (byte) value; } public int size() { return size; } public boolean isEmpty() { return size == 0; } public void appendByte(int value) { if (size == 0 || size >= bytes.length) { int newSize = Math.max(INITIAL_SIZE, size << 1); reserve(newSize); } bytes[size] = (byte) value; size++; } public void reserve(int capacity) { if (bytes == null || bytes.length < capacity) { byte[] newArray = new byte[capacity]; if (bytes != null) { System.arraycopy(bytes, 0, newArray, 0, bytes.length); } bytes = newArray; } } // Copy count bytes from array source starting at offset. public void set(byte[] source, int offset, int count) { bytes = new byte[count]; size = count; for (int x = 0; x < count; x++) { bytes[x] = source[offset + x]; } } }
⏎ com/itextpdf/text/pdf/qrcode/ByteArray.java
Or download all of them as a single archive file:
File name: itextpdf-5.5.14-fyi.zip File size: 2163839 bytes Release date: 2009-10-09 Download
⇒ iText-2.1.6.jar - iText, a JAVA-PDF library
⇐ iText layout.jar Source Code
2021-07-03, 149631👍, 0💬
Popular Posts:
JDK 11 java.security.jgss.jmod is the JMOD file for JDK 11 Security JGSS (Java Generic Security Serv...
What Is poi-ooxml-3.5.jar? poi-ooxml-3.5.jar is one of the JAR files for Apache POI 3.5, which provi...
What Is activation.jar? I heard it's related to JAF (JavaBeans Activation Framework) 1.0.2? The if y...
JDK 17 jdk.compiler.jmod is the JMOD file for JDK 17 Compiler tool, which can be invoked by the "jav...
How to download and install Apache XMLBeans Source Package? The source package contains Java source ...