code: @Override
      public void open(AudioInputStream stream) throws LineUnavailableException, IOException {
          opening();
          clip.open(stream);
      }
docs: Opens the clip with the format and audio data present in the provided audio
  input stream.  Opening a clip means that it should acquire any required
  system resources and become operational.  If this operation
  input stream.  If this operation
  succeeds, the line is marked open and an
  <code>{@link LineEvent.Type#OPEN OPEN}</code> event is dispatched
  to the line's listeners.
  <p>
  Invoking this method on a line which is already open is illegal
  and may result in an IllegalStateException.
  <p>
  Note that some lines, once closed, cannot be reopened.  Attempts
  to reopen such a line will always result in a
  <code>{@link LineUnavailableException}</code>.
  
  @param stream an audio input stream from which audio data will be read into
  the clip
  @throws LineUnavailableException if the line cannot be
  opened due to resource restrictions
  @throws IOException if an I/O exception occurs during reading of
  the stream
  @throws IllegalArgumentException if the stream's audio format
  is not fully specified or invalid
  @throws IllegalStateException if the line is already open
  @throws SecurityException if the line cannot be
  opened due to security restrictions
  
  @see #close
  @see #isOpen
  @see LineListener