Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
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 (322)
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/tiff/TIFFStreamMetadata.java
/* * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.imageio.plugins.tiff; import java.nio.ByteOrder; import javax.imageio.metadata.IIOMetadata; import javax.imageio.metadata.IIOMetadataNode; import javax.imageio.metadata.IIOInvalidTreeException; import org.w3c.dom.NamedNodeMap; import org.w3c.dom.Node; public class TIFFStreamMetadata extends IIOMetadata { // package scope static final String NATIVE_METADATA_FORMAT_NAME = "javax_imageio_tiff_stream_1.0"; static final String NATIVE_METADATA_FORMAT_CLASS_NAME = "javax.imageio.plugins.tiff.TIFFStreamMetadataFormat"; private static final String bigEndianString = ByteOrder.BIG_ENDIAN.toString(); private static final String littleEndianString = ByteOrder.LITTLE_ENDIAN.toString(); public ByteOrder byteOrder = ByteOrder.BIG_ENDIAN; public TIFFStreamMetadata() { super(false, NATIVE_METADATA_FORMAT_NAME, NATIVE_METADATA_FORMAT_CLASS_NAME, null, null); } public boolean isReadOnly() { return false; } // Shorthand for throwing an IIOInvalidTreeException private static void fatal(Node node, String reason) throws IIOInvalidTreeException { throw new IIOInvalidTreeException(reason, node); } public Node getAsTree(String formatName) { IIOMetadataNode root = new IIOMetadataNode(nativeMetadataFormatName); IIOMetadataNode byteOrderNode = new IIOMetadataNode("ByteOrder"); byteOrderNode.setAttribute("value", byteOrder.toString()); root.appendChild(byteOrderNode); return root; } // public void setFromTree(String formatName, Node root) { // } private void mergeNativeTree(Node root) throws IIOInvalidTreeException { Node node = root; if (!node.getNodeName().equals(nativeMetadataFormatName)) { fatal(node, "Root must be " + nativeMetadataFormatName); } node = node.getFirstChild(); if (node == null || !node.getNodeName().equals("ByteOrder")) { fatal(node, "Root must have \"ByteOrder\" child"); } NamedNodeMap attrs = node.getAttributes(); String order = attrs.getNamedItem("value").getNodeValue(); if (order == null) { fatal(node, "ByteOrder node must have a \"value\" attribute"); } if (order.equals(bigEndianString)) { this.byteOrder = ByteOrder.BIG_ENDIAN; } else if (order.equals(littleEndianString)) { this.byteOrder = ByteOrder.LITTLE_ENDIAN; } else { fatal(node, "Incorrect value for ByteOrder \"value\" attribute"); } } public void mergeTree(String formatName, Node root) throws IIOInvalidTreeException { if (formatName.equals(nativeMetadataFormatName)) { if (root == null) { throw new NullPointerException("root == null!"); } mergeNativeTree(root); } else { throw new IllegalArgumentException("Not a recognized format!"); } } public void reset() { this.byteOrder = ByteOrder.BIG_ENDIAN; } }
⏎ com/sun/imageio/plugins/tiff/TIFFStreamMetadata.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, ≈322🔥, 5💬
Popular Posts:
How to download and install ojdbc14.jar for Oracle 10g R2? ojdbc14.jar for Oracle 10g R2 is a Java 1...
What is the jaxp\TypeInfoWriter.java provided in the Apache Xerces package? I have Apache Xerces 2.1...
What Is HttpComponents httpcore-4.2.2.jar? HttpComponents httpcore-4.2.2.jar is the JAR file for Apa...
maven-core-3.8.6.jar is the JAR file for Apache Maven 3.8.6 Core module. Apache Maven is a software ...
JDK 17 jdk.jfr.jmod is the JMOD file for JDK 17 JFR module. JDK 17 JFR module compiled class files a...