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-5.2.3.jar?
What Is poi-5.2.3.jar?
✍: FYIcenter.com
poi-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-5.2.3.jar supports Apache POI components that read and write Microsoft's OLE 2 Compound document format, which is used in early versions of Microsoft Office tools like Word 97, Excel 97, PowerPoint 97, etc.
poi-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-5.2.3.jar Target JDK version: 9 File name: poi.jar, poi-5.2.3.jar File size: 2964641 bytes Release date: 09-09-2022 Download: Apache POI Website
Here are Java Source Code files for poi-5.2.3.jar:
⏎ org/apache/poi/util/LittleEndianByteArrayInputStream.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.util; import java.io.ByteArrayInputStream; /** * Adapts a plain byte array to {@link LittleEndianInput} */ public class LittleEndianByteArrayInputStream extends ByteArrayInputStream implements LittleEndianInput { /** * Creates <code>LittleEndianByteArrayInputStream</code> * that uses <code>buf</code> as its * buffer array. The initial value of <code>pos</code> * is <code>offset</code> and the initial value * of <code>count</code> is the minimum of <code>offset+length</code> * and <code>buf.length</code>. * The buffer array is not copied. The buffer's mark is * set to the specified offset. * * @param buf the input buffer. * @param offset the offset in the buffer of the first byte to read. * @param length the maximum number of bytes to read from the buffer. */ public LittleEndianByteArrayInputStream(byte[] buf, int offset, int length) { // NOSONAR super(buf, offset, length); } /** * Creates <code>LittleEndianByteArrayInputStream</code> * that uses <code>buf</code> as its * buffer array. The initial value of <code>pos</code> * is <code>offset</code> and the initial value * of <code>count</code> is the minimum of <code>offset+buf.length</code> * and <code>buf.length</code>. * The buffer array is not copied. The buffer's mark is * set to the specified offset. * * @param buf the input buffer. * @param offset the offset in the buffer of the first byte to read. */ public LittleEndianByteArrayInputStream(byte[] buf, int offset) { this(buf, offset, buf.length - offset); } /** * Creates a <code>LittleEndianByteArrayInputStream</code> * so that it uses <code>buf</code> as its * buffer array. * The buffer array is not copied. * The initial value of <code>pos</code> * is <code>0</code> and the initial value * of <code>count</code> is the length of * <code>buf</code>. * * @param buf the input buffer. */ public LittleEndianByteArrayInputStream(byte[] buf) { super(buf); } protected void checkPosition(int i) { if (i > count - pos) { throw new IllegalStateException("Buffer overrun, having " + count + " bytes in the stream and position is at " + pos + ", but trying to increment position by " + i); } } public int getReadIndex() { return pos; } public void setReadIndex(int pos) { if (pos < 0 || pos >= count) { throw new IndexOutOfBoundsException(); } this.pos = pos; } @Override public byte readByte() { checkPosition(1); return (byte)read(); } @Override public int readInt() { final int size = LittleEndianConsts.INT_SIZE; checkPosition(size); int le = LittleEndian.getInt(buf, pos); long skipped = super.skip(size); assert skipped == size : "Buffer overrun"; return le; } @Override public long readLong() { final int size = LittleEndianConsts.LONG_SIZE; checkPosition(size); long le = LittleEndian.getLong(buf, pos); long skipped = super.skip(size); assert skipped == size : "Buffer overrun"; return le; } @Override public short readShort() { final int size = LittleEndianConsts.SHORT_SIZE; checkPosition(size); short le = LittleEndian.getShort(buf, pos); long skipped = super.skip(size); assert skipped == size : "Buffer overrun"; return le; } @Override public int readUByte() { return readByte() & 0x00FF; } @Override public int readUShort() { return readShort() & 0x00FFFF; } public long readUInt() { return readInt() & 0x00FFFFFFFFL; } @Override public double readDouble() { return Double.longBitsToDouble(readLong()); } @Override public void readFully(byte[] buffer, int off, int len) { checkPosition(len); read(buffer, off, len); } @Override public void readFully(byte[] buffer) { checkPosition(buffer.length); read(buffer, 0, buffer.length); } @Override public void readPlain(byte[] buf, int off, int len) { readFully(buf, off, len); } /** * Change the limit of the ByteArrayInputStream * @param size the new limit - is truncated to length of internal buffer */ public void limit(int size) { count = Math.min(size, buf.length); } }
⏎ org/apache/poi/util/LittleEndianByteArrayInputStream.java
Or download all of them as a single archive file:
File name: poi-5.2.3-src.zip File size: 2479830 bytes Release date: 2022-09-09 Download
⇒ What Is poi-ooxml-5.2.3.jar?
⇐ What Is poi-bin-5.2.3-20220909.zip?
2017-04-04, 56958👍, 0💬
Popular Posts:
What Is commons-io-2.11.jar? commons-io-2.11.jar is the JAR file for Commons IO 2.5, which is a libr...
maven-model-builder-3.8. 6.jaris the JAR file for Apache Maven 3.8.6 Model Builder module. Apache Ma...
Apache Log4j API provides the interface that applications should code to and provides the adapter co...
JDK 11 java.security.jgss.jmod is the JMOD file for JDK 11 Security JGSS (Java Generic Security Serv...
MXP1 is a stable XmlPull parsing engine that is based on ideas from XPP and in particular XPP2 but c...