< prev index next >
src/java.desktop/share/classes/javax/sound/midi/spi/SoundbankReader.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 37,58 ****
/**
* A {@code SoundbankReader} supplies soundbank file-reading services. Concrete
* subclasses of {@code SoundbankReader} parse a given soundbank file, producing
* a {@link Soundbank} object that can be loaded into a {@link Synthesizer}.
*
- * @since 1.3
* @author Kara Kytle
*/
public abstract class SoundbankReader {
/**
! * Obtains a soundbank object from the URL provided.
*
! * @param url URL representing the soundbank
* @return soundbank object
! * @throws InvalidMidiDataException if the URL does not point to valid MIDI
! * soundbank data recognized by this soundbank reader
* @throws IOException if an I/O error occurs
* @throws NullPointerException if {@code url} is {@code null}
*/
public abstract Soundbank getSoundbank(URL url)
throws InvalidMidiDataException, IOException;
--- 37,58 ----
/**
* A {@code SoundbankReader} supplies soundbank file-reading services. Concrete
* subclasses of {@code SoundbankReader} parse a given soundbank file, producing
* a {@link Soundbank} object that can be loaded into a {@link Synthesizer}.
*
* @author Kara Kytle
+ * @since 1.3
*/
public abstract class SoundbankReader {
/**
! * Obtains a soundbank object from the {@code URL} provided.
*
! * @param url {@code URL} representing the soundbank
* @return soundbank object
! * @throws InvalidMidiDataException if the {@code URL} does not point to
! * valid MIDI soundbank data recognized by this soundbank reader
* @throws IOException if an I/O error occurs
* @throws NullPointerException if {@code url} is {@code null}
*/
public abstract Soundbank getSoundbank(URL url)
throws InvalidMidiDataException, IOException;
< prev index next >