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:
What Is poi-ooxml-5.2.3.jar?
What Is poi-ooxml-5.2.3.jar?
✍: FYIcenter.com
poi-ooxml-5.2.3.jar is one of the JAR files for Apache POI 5.2.3, which
provides an API for Microsoft document files of Word, Excel, PowerPoint, and Visio.
poi-ooxml-5.2.3.jar supports Apache POI components that read and write Microsoft's Open Office XML document format, which is used in recent versions of Microsoft Office tools like Word 2007, Excel 2007, PowerPoint 2007, etc.
poi-ooxml-5.2.3.jar is distributed as part of the poi-bin-5.2.3-20220909.zip download file.
JAR File Size and Download Location:
JAR name: poi-ooxml-5.2.3.jar Target JDK version: 9 Dependency: poi.jar xmlbeans.jar ooxml-schemas.jar commons-collections.jar junit.jar File name: poi-ooxml.jar, poi-ooxml-5.2.3.jar File size: 2010497 bytes Release date: 09-09-2022 Download: Apache POI Website
Here are Java Source Code files for poi-ooxml-5.2.3.jar:
⏎ org/apache/poi/xssf/binary/XSSFBParser.java
/* ==================================================================== Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You 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 org.apache.poi.xssf.binary; import java.io.IOException; import java.io.InputStream; import com.zaxxer.sparsebits.SparseBitSet; import org.apache.poi.util.IOUtils; import org.apache.poi.util.Internal; import org.apache.poi.util.LittleEndianInputStream; /** * Experimental parser for Microsoft's ooxml xlsb format. * Not thread safe, obviously. Need to create a new one * for each thread. * * @since 3.16-beta3 */ @Internal public abstract class XSSFBParser { //arbitrarily selected; may need to increase private static final int DEFAULT_MAX_RECORD_LENGTH = 1_000_000; private static int MAX_RECORD_LENGTH = DEFAULT_MAX_RECORD_LENGTH; private final LittleEndianInputStream is; private final SparseBitSet records; /** * @param length the max record length allowed for XSSFBParser */ public static void setMaxRecordLength(int length) { MAX_RECORD_LENGTH = length; } /** * @return the max record length allowed for XSSFBParser */ public static int getMaxRecordLength() { return MAX_RECORD_LENGTH; } public XSSFBParser(InputStream is) { this.is = new LittleEndianInputStream(is); records = null; } /** * * @param is inputStream * @param bitSet call {@link #handleRecord(int, byte[])} only on those records in this bitSet */ protected XSSFBParser(InputStream is, SparseBitSet bitSet) { this.is = new LittleEndianInputStream(is); records = bitSet; } public void parse() throws IOException { while (true) { int bInt = is.read(); if (bInt == -1) { return; } readNext((byte) bInt); } } private void readNext(byte b1) throws IOException { int recordId = 0; //if highest bit == 1 if ((b1 >> 7 & 1) == 1) { byte b2 = is.readByte(); b1 &= ~(1<<7); //unset highest bit b2 &= ~(1<<7); //unset highest bit (if it exists?) recordId = ((int)b2 << 7)+(int)b1; } else { recordId = b1; } long recordLength = 0; int i = 0; boolean halt = false; while (i < 4 && ! halt) { byte b = is.readByte(); halt = (b >> 7 & 1) == 0; //if highest bit !=1 then continue b &= ~(1<<7); recordLength += (long) (int)b << (i*7); //multiply by 128^i i++; } if (records == null || records.get(recordId)) { byte[] buff = IOUtils.safelyAllocate(recordLength, MAX_RECORD_LENGTH); is.readFully(buff); handleRecord(recordId, buff); } else { long length = IOUtils.skipFully(is, recordLength); if (length != recordLength) { throw new XSSFBParseException("End of file reached before expected.\t"+ "Tried to skip "+recordLength + ", but only skipped "+length); } } } //It hurts, hurts, hurts to create a new byte array for every record. //However, on a large Excel spreadsheet, this parser was 1/3 faster than //the ooxml sax parser (5 seconds for xssfb and 7.5 seconds for xssf. //The code is far cleaner to have the parser read all //of the data rather than having every component promise that it will read //the correct amount. abstract public void handleRecord(int recordType, byte[] data) throws XSSFBParseException; }
⏎ org/apache/poi/xssf/binary/XSSFBParser.java
Or download all of them as a single archive file:
File name: poi-ooxml-5.2.3-src.zip File size: 1396572 bytes Release date: 2022-09-09 Download
⇒ What Is poi-excelant-5.2.3.jar?
2017-04-01, 51758👍, 0💬
Popular Posts:
JDK 11 jdk.hotspot.agent.jmod is the JMOD file for JDK 11 Hotspot Agent module. JDK 11 Hotspot Agent...
JDK 6 tools.jar is the JAR file for JDK 6 tools. It contains Java classes to support different JDK t...
What Is jaxb-impl-2.1.12.jar? Java Architecture for XML Binding (JAXB) is a Java API that allows Jav...
JDK 11 jdk.rmic.jmod is the JMOD file for JDK 11 RMI (Remote Method Invocation) Compiler Tool tool, ...
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...