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:
JRE 8 rt.jar - com.* Package Source Code
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime environment included in JDK 8. JRE 8 rt.jar libraries are divided into 6 packages:
com.* - Internal Oracle and Sun Microsystems libraries java.* - Standard Java API libraries. javax.* - Extended Java API libraries. jdk.* - JDK supporting libraries. org.* - Third party libraries. sun.* - Old libraries developed by Sun Microsystems.
JAR File Information:
Directory of C:\fyicenter\jdk-1.8.0_191\jre\lib 63,596,151 rt.jar
Here is the list of Java classes of the com.* package in JRE 1.8.0_191 rt.jar. Java source codes are also provided.
✍: FYIcenter
⏎ com/sun/image/codec/jpeg/JPEGImageDecoder.java
/* * * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ /********************************************************************** ********************************************************************** ********************************************************************** *** COPYRIGHT (c) 1997-1998 Eastman Kodak Company. *** *** As an unpublished work pursuant to Title 17 of the United *** *** States Code. All rights reserved. *** ********************************************************************** ********************************************************************** **********************************************************************/ package com.sun.image.codec.jpeg; /** * JPEGImageDecoder Interface * * JPEGImageDecoder decompresses an JPEG InputStream into a Raster or * a BufferedImage depending upon the method invoked. Decoding the * JPEG input stream is controlled by the parameters in the * JPEGDecodeParam object. If no JPEGDecodeParam object has been * specified then one is created to contain information about a * decompressed JPEG stream.<P> * * The JPEGDecodeParam object is updated with information from the * file header during decompression. If the input stream contains * tables only information (no image data), the JPEGDecodeParam object * will be updated and NULL returned for the output image. If the * input stream contains only image data, the parameters and tables in * the current JPEGDecodeParam object will be used to decode in * decoding the JPEG stream. If no tables are set in the * JPEGDecodeParam object, an exception will be thrown.<P> * * ColorSpace comments: First off JPEG by specification is color * blind! That said, some color space conversion is done in the name * of better compression ratios. If a BufferedImage is requested * common color conversions will be applied. Some updates to the * standard color space designations have been made to allow this * decoder to handle alpha channels. See the JPEGDecodeParam * description for more details on additional color space * designations ( @see JPEGDecodeParam ).<P> * * This decoder can process interchange, abbreviated and progressive * jpeg streams. However, progressive jpeg streams are treated as * interchange streams. They return once with the entire image in the * image buffer. */ import java.io.InputStream; import java.io.IOException; import java.awt.Point; import java.awt.color.ColorSpace; import java.awt.image.BufferedImage; import java.awt.image.ColorModel; import java.awt.image.DirectColorModel; import java.awt.image.DataBuffer; import java.awt.image.DataBufferByte; import java.awt.image.DataBufferInt; import java.awt.image.Raster; import java.awt.image.SampleModel; import java.awt.image.WritableRaster; /** * This interface describes a JPEG data stream decoder. This decoder * takes an InputStream that contains JPEG encoded image data. The * JPEGImageDecoder will decode the JPEG image data according to the * parameters set in a JPEGDecodeParam object. The resulting image * data is returned in either a Raster or a BufferedImage. * <p> * Note that the classes in the com.sun.image.codec.jpeg package are not * part of the core Java APIs. They are a part of Sun's JDK and JRE * distributions. Although other licensees may choose to distribute these * classes, developers cannot depend on their availability in non-Sun * implementations. We expect that equivalent functionality will eventually * be available in a core API or standard extension. * <p> * * @see JPEGCodec * @see JPEGDecodeParam * @see Raster * @see BufferedImage */ public interface JPEGImageDecoder { /** * Returns the JPEGDecodeParam object that resulted from the most * recent decoding event. */ public JPEGDecodeParam getJPEGDecodeParam(); /** * Sets the JPEGDecodeParam object used to determine the features * of the decompression performed on the JPEG encoded data. This * is ussually only needed for decoding abbreviated JPEG data * streams. * @param jdp JPEGDecodeParam object */ public void setJPEGDecodeParam(JPEGDecodeParam jdp); /** * Get the input stream that decoding will occur from. * @return The stream that the decoder is currently assciated with. */ public InputStream getInputStream(); /** * Decode the JPEG stream that was passed as part of * construction. The JPEG decompression will be performed * according to the current settings of the JPEGDecodeParam * object. For a tables only stream this will return null. * @return Raster containg the image data. Colorspace and other * pertinent information can be obtained from the * JPEGDecodeParam object. * @exception ImageFormatException if irregularities in the JPEG * stream or an unknown condition is encountered. */ public Raster decodeAsRaster() throws IOException, ImageFormatException; /** * Decodes the current JPEG data stream. The result of decoding * this InputStream is a BufferedImage the ColorModel associated * with this BufferedImage is determined based on the encoded * COLOR_ID of the JPEGDecodeParam object. For a tables only * stream this will return null. * @return BufferedImage containing the image data. * @exception ImageFormatException if irregularities in the JPEG * stream or an unknown condition is encountered. */ public BufferedImage decodeAsBufferedImage() throws IOException, ImageFormatException; } // end class JPEGImageDecoder
⏎ com/sun/image/codec/jpeg/JPEGImageDecoder.java
Or download all of them as a single archive file:
File name: jre-rt-com-1.8.0_191-src.zip File size: 8099783 bytes Release date: 2018-10-28 Download
⇒ Backup JDK 8 Installation Directory
2023-02-07, 254041👍, 3💬
Popular Posts:
JSP(tm) Standard Tag Library 1.0 implementation - Jakarta Taglibs hosts the Standard Taglib 1.0, an ...
The Digester package lets you configure an XML -> Java object mapping module, which triggers certain...
How to download and install ojdbc6.jar for Oracle 11g R2? ojdbc6.jar for Oracle 11g R2 is a Java 6, ...
ASM is an all purpose Java bytecode manipulation and analysis framework. It can be used to modify ex...
A stream buffer is a stream-based representation of an XML infoset in Java. Stream buffers are desig...