modules/media/src/main/java/javafx/scene/media/AudioClip.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, 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
*** 68,78 **** /** * Create an <code>AudioClip</code> loaded from the supplied source URL. * * @param source URL string from which to load the audio clip. This can be an ! * HTTP, file or jar source. * @throws NullPointerException if the parameter is <code>null</code>. * @throws IllegalArgumentException if the parameter violates * <a href="http://www.ietf.org/rfc/rfc2396.txt">RFC 2396</a>. * @throws MediaException if there is some other problem loading the media. */ --- 68,78 ---- /** * Create an <code>AudioClip</code> loaded from the supplied source URL. * * @param source URL string from which to load the audio clip. This can be an ! * HTTP, HTTPS, FILE or JAR source. * @throws NullPointerException if the parameter is <code>null</code>. * @throws IllegalArgumentException if the parameter violates * <a href="http://www.ietf.org/rfc/rfc2396.txt">RFC 2396</a>. * @throws MediaException if there is some other problem loading the media. */