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:
JDK 11 java.desktop.jmod - Desktop Module
JDK 11 java.desktop.jmod is the JMOD file for JDK 11 Desktop module.
JDK 11 Desktop module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.desktop.jmod.
JDK 11 Desktop module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Desktop module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.desktop.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ com/sun/imageio/plugins/jpeg/JPEGMetadataFormat.java
/* * Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.imageio.plugins.jpeg; import javax.imageio.metadata.IIOMetadataFormat; import javax.imageio.metadata.IIOMetadataFormatImpl; import javax.imageio.ImageTypeSpecifier; import javax.imageio.plugins.jpeg.JPEGQTable; import javax.imageio.plugins.jpeg.JPEGHuffmanTable; import java.util.List; import java.util.ArrayList; abstract class JPEGMetadataFormat extends IIOMetadataFormatImpl { // 2-byte length reduces max to 65533 private static final int MAX_JPEG_DATA_SIZE = 65533; String resourceBaseName = this.getClass().getName() + "Resources"; JPEGMetadataFormat(String formatName, int childPolicy) { super(formatName, childPolicy); setResourceBaseName(resourceBaseName); } // Format shared between image and stream formats void addStreamElements(String parentName) { addElement("dqt", parentName, 1, 4); addElement("dqtable", "dqt", CHILD_POLICY_EMPTY); addAttribute("dqtable", "elementPrecision", DATATYPE_INTEGER, false, "0"); List<String> tabids = new ArrayList<>(); tabids.add("0"); tabids.add("1"); tabids.add("2"); tabids.add("3"); addAttribute("dqtable", "qtableId", DATATYPE_INTEGER, true, null, tabids); addObjectValue("dqtable", JPEGQTable.class, true, null); addElement("dht", parentName, 1, 4); addElement("dhtable", "dht", CHILD_POLICY_EMPTY); List<String> classes = new ArrayList<>(); classes.add("0"); classes.add("1"); addAttribute("dhtable", "class", DATATYPE_INTEGER, true, null, classes); addAttribute("dhtable", "htableId", DATATYPE_INTEGER, true, null, tabids); addObjectValue("dhtable", JPEGHuffmanTable.class, true, null); addElement("dri", parentName, CHILD_POLICY_EMPTY); addAttribute("dri", "interval", DATATYPE_INTEGER, true, null, "0", "65535", true, true); addElement("com", parentName, CHILD_POLICY_EMPTY); addAttribute("com", "comment", DATATYPE_STRING, false, null); addObjectValue("com", byte[].class, 1, MAX_JPEG_DATA_SIZE); addElement("unknown", parentName, CHILD_POLICY_EMPTY); addAttribute("unknown", "MarkerTag", DATATYPE_INTEGER, true, null, "0", "255", true, true); addObjectValue("unknown", byte[].class, 1, MAX_JPEG_DATA_SIZE); } public boolean canNodeAppear(String elementName, ImageTypeSpecifier imageType) { // Just check if it appears in the format if (isInSubtree(elementName, getRootName())){ return true; } return false; } /** * Returns {@code true} if the named element occurs in the * subtree of the format starting with the node named by * {@code subtreeName}, including the node * itself. {@code subtreeName} may be any node in * the format. If it is not, an * {@code IllegalArgumentException} is thrown. */ protected boolean isInSubtree(String elementName, String subtreeName) { if (elementName.equals(subtreeName)) { return true; } String [] children = getChildNames(elementName); for (int i=0; i < children.length; i++) { if (isInSubtree(elementName, children[i])) { return true; } } return false; } }
⏎ com/sun/imageio/plugins/jpeg/JPEGMetadataFormat.java
Or download all of them as a single archive file:
File name: java.desktop-11.0.1-src.zip File size: 7974380 bytes Release date: 2018-11-04 Download
⇒ JDK 11 java.instrument.jmod - Instrument Module
2022-08-06, 159998👍, 5💬
Popular Posts:
ZooKeeper is a centralized service for maintaining configuration information, naming, providing dist...
commons-net.jar is the bytecode of Apache Commons Net library, which implements the client side of m...
JDOM provides a solution for using XML from Java that is as simple as Java itself. There is no compe...
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...
How to run "jar" command from JDK tools.jar file? "jar" is the JAR (Java Archive) file management co...