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 jxl.jar 2.6.12
What is jxl.jar 2.6.12?
✍: fyicenter.com
jxl.jar 2.6.12 is the JAR file for Java Excel API 2.6.12, which is a Java library for reading, writing and modifying Microsoft Excel spreadsheet files.
JAR File Size and Download Location:
JAR name: jxl-2.6.12.jar Target JDK version: 1.6 Dependency: None File name: jxl.jar File size: 725735 bytes Release date: 24-Oct-2009 Download: Java Excel API Website.
Here are Java Source Code files for jxl-2.6.12.jar:
⏎ jxl/biff/drawing/EscherContainer.java
/********************************************************************* * * Copyright (C) 2003 Andrew Khan * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ***************************************************************************/ package jxl.biff.drawing; import java.util.ArrayList; import java.util.Iterator; import jxl.common.Logger; /** * An escher container. This record may contain other escher containers or * atoms */ class EscherContainer extends EscherRecord { /** * The logger */ private static Logger logger = Logger.getLogger(EscherContainer.class); /** * Initialized flag */ private boolean initialized; /** * The children of this container */ private ArrayList children; /** * Constructor * * @param erd the raw data */ public EscherContainer(EscherRecordData erd) { super(erd); initialized = false; children = new ArrayList(); } /** * Constructor used when writing out escher data * * @param type the type */ protected EscherContainer(EscherRecordType type) { super(type); setContainer(true); children = new ArrayList(); } /** * Accessor for the children of this container * * @return the children */ public EscherRecord[] getChildren() { if (!initialized) { initialize(); } Object[] ca = children.toArray(new EscherRecord[children.size()]); return (EscherRecord[]) ca; } /** * Adds a child to this container * * @param child the item to add */ public void add(EscherRecord child) { children.add(child); } /** * Removes a child from this container * * @param child the item to remove */ public void remove(EscherRecord child) { boolean result = children.remove(child); } /** * Initialization */ private void initialize() { int curpos = getPos() + HEADER_LENGTH; int endpos = Math.min(getPos() + getLength(), getStreamLength()); EscherRecord newRecord = null; while (curpos < endpos) { EscherRecordData erd = new EscherRecordData(getEscherStream(), curpos); EscherRecordType type = erd.getType(); if (type == EscherRecordType.DGG) { newRecord = new Dgg(erd); } else if (type == EscherRecordType.DG) { newRecord = new Dg(erd); } else if (type == EscherRecordType.BSTORE_CONTAINER) { newRecord = new BStoreContainer(erd); } else if (type == EscherRecordType.SPGR_CONTAINER) { newRecord = new SpgrContainer(erd); } else if (type == EscherRecordType.SP_CONTAINER) { newRecord = new SpContainer(erd); } else if (type == EscherRecordType.SPGR) { newRecord = new Spgr(erd); } else if (type == EscherRecordType.SP) { newRecord = new Sp(erd); } else if (type == EscherRecordType.CLIENT_ANCHOR) { newRecord = new ClientAnchor(erd); } else if (type == EscherRecordType.CLIENT_DATA) { newRecord = new ClientData(erd); } else if (type == EscherRecordType.BSE) { newRecord = new BlipStoreEntry(erd); } else if (type == EscherRecordType.OPT) { newRecord = new Opt(erd); } else if (type == EscherRecordType.SPLIT_MENU_COLORS) { newRecord = new SplitMenuColors(erd); } else if (type == EscherRecordType.CLIENT_TEXT_BOX) { newRecord = new ClientTextBox(erd); } else { newRecord = new EscherAtom(erd); } children.add(newRecord); curpos += newRecord.getLength(); } initialized = true; } /** * Gets the data for this container (and all of its children recursively * * @return the binary data */ byte[] getData() { if (!initialized) { initialize(); } byte[] data = new byte[0]; for (Iterator i = children.iterator(); i.hasNext();) { EscherRecord er = (EscherRecord) i.next(); byte[] childData = er.getData(); if (childData != null) { byte[] newData = new byte[data.length + childData.length]; System.arraycopy(data, 0, newData, 0, data.length); System.arraycopy(childData, 0, newData, data.length, childData.length); data = newData; } } return setHeaderData(data); } }
⏎ jxl/biff/drawing/EscherContainer.java
Or download all of them as a single archive file:
File name: jxl-2.6.12-src.zip File size: 824057 bytes Release date: 2009-10-24 Download
⇐ What Is jexcelapi_2_6_12.zip
2017-06-09, 70051👍, 6💬
Popular Posts:
JDK 11 jdk.jlink.jmod is the JMOD file for JDK 11 JLink tool, which can be invoked by the "jlink" co...
JDK 17 jdk.localedata.jmod is the JMOD file for JDK 17 Localedata module. JDK 17 Locale Data module ...
Where to find answers to frequently asked questions on Downloading and Using JDK (Java Development K...
JDK 11 jdk.crypto.ec.jmod is the JMOD file for JDK 11 Crypto EC module. JDK 11 Crypto EC module comp...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...