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
⏎ javax/sound/midi/spi/MidiFileWriter.java
/* * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.sound.midi.spi; import java.io.File; import java.io.IOException; import java.io.OutputStream; import java.util.Arrays; import javax.sound.midi.Sequence; /** * A {@code MidiFileWriter} supplies MIDI file-writing services. Classes that * implement this interface can write one or more types of MIDI file from a * {@link Sequence} object. * * @author Kara Kytle * @since 1.3 */ public abstract class MidiFileWriter { /** * Obtains the set of MIDI file types for which file writing support is * provided by this file writer. * * @return array of file types. If no file types are supported, an array of * length 0 is returned. */ public abstract int[] getMidiFileTypes(); /** * Obtains the file types that this file writer can write from the sequence * specified. * * @param sequence the sequence for which MIDI file type support is queried * @return array of file types. If no file types are supported, returns an * array of length 0. * @throws NullPointerException if {@code sequence} is {@code null} */ public abstract int[] getMidiFileTypes(Sequence sequence); /** * Indicates whether file writing support for the specified MIDI file type * is provided by this file writer. * * @param fileType the file type for which write capabilities are queried * @return {@code true} if the file type is supported, otherwise * {@code false} */ public boolean isFileTypeSupported(final int fileType) { return Arrays.stream(getMidiFileTypes()) .anyMatch(type -> fileType == type); } /** * Indicates whether a MIDI file of the file type specified can be written * from the sequence indicated. * * @param fileType the file type for which write capabilities are queried * @param sequence the sequence for which file writing support is queried * @return {@code true} if the file type is supported for this sequence, * otherwise {@code false} * @throws NullPointerException if {@code sequence} is {@code null} */ public boolean isFileTypeSupported(final int fileType, final Sequence sequence) { return Arrays.stream(getMidiFileTypes(sequence)) .anyMatch(type -> fileType == type); } /** * Writes a stream of bytes representing a MIDI file of the file type * indicated to the output stream provided. * * @param in sequence containing MIDI data to be written to the file * @param fileType type of the file to be written to the output stream * @param out stream to which the file data should be written * @return the number of bytes written to the output stream * @throws IOException if an I/O exception occurs * @throws IllegalArgumentException if the file type is not supported by * this file writer * @throws NullPointerException if {@code in} or {@code out} are * {@code null} * @see #isFileTypeSupported(int, Sequence) * @see #getMidiFileTypes(Sequence) */ public abstract int write(Sequence in, int fileType, OutputStream out) throws IOException; /** * Writes a stream of bytes representing a MIDI file of the file type * indicated to the external file provided. * * @param in sequence containing MIDI data to be written to the external * file * @param fileType type of the file to be written to the external file * @param out external file to which the file data should be written * @return the number of bytes written to the file * @throws IOException if an I/O exception occurs * @throws IllegalArgumentException if the file type is not supported by * this file writer * @throws NullPointerException if {@code in} or {@code out} are * {@code null} * @see #isFileTypeSupported(int, Sequence) * @see #getMidiFileTypes(Sequence) */ public abstract int write(Sequence in, int fileType, File out) throws IOException; }
⏎ javax/sound/midi/spi/MidiFileWriter.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, 194855👍, 5💬
Popular Posts:
What Is commons-net-ftp-2.0.jar? commons-net-ftp-2.0.jar is the JAR file for Apache Commons Net FTP ...
What is the sax\Writer.java provided in the Apache Xerces package? I have Apache Xerces 2.11.0 insta...
JAX-WS is an API for building web services and clients. It is the next generation Web Services API r...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...
The JSR 105 XML Digital Signature 1.0.1 FCS implementation provides an API and implementation that a...