src/share/classes/javax/sound/midi/MidiDeviceReceiver.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2010, 2013, 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) 2010, 2014, 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
*** 24,41 **** */ package javax.sound.midi; /** ! * <p>{@code MidiDeviceReceiver} is a {@code Receiver} which represents ! * a MIDI input connector of a {@code MidiDevice} ! * (see {@link MidiDevice#getReceiver()}). * * @since 1.7 */ public interface MidiDeviceReceiver extends Receiver { /** * Obtains a MidiDevice object which is an owner of this Receiver. * @return a MidiDevice object which is an owner of this Receiver */ ! public MidiDevice getMidiDevice(); } --- 24,43 ---- */ package javax.sound.midi; /** ! * {@code MidiDeviceReceiver} is a {@code Receiver} which represents a MIDI ! * input connector of a {@code MidiDevice} (see ! * {@link MidiDevice#getReceiver()}). * * @since 1.7 */ public interface MidiDeviceReceiver extends Receiver { + /** * Obtains a MidiDevice object which is an owner of this Receiver. + * * @return a MidiDevice object which is an owner of this Receiver */ ! MidiDevice getMidiDevice(); }