< prev index next >
src/java.desktop/share/classes/javax/sound/sampled/AudioPermission.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1999, 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
--- 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
*** 39,55 ****
* The following table lists the possible {@code AudioPermission} target names.
* For each name, the table provides a description of exactly what that
* permission allows, as well as a discussion of the risks of granting code the
* permission.
*
! * <table border=1 cellpadding=5 summary="permission target name, what the permission allows, and associated risks">
* <tr>
* <th>Permission Target Name</th>
* <th>What the Permission Allows</th>
* <th>Risks of Allowing this Permission</th>
* </tr>
! *
* <tr>
* <td>play</td>
* <td>Audio playback through the audio device or devices on the system.
* Allows the application to obtain and manipulate lines and mixers for
* audio playback (rendering).</td>
--- 39,59 ----
* The following table lists the possible {@code AudioPermission} target names.
* For each name, the table provides a description of exactly what that
* permission allows, as well as a discussion of the risks of granting code the
* permission.
*
! * <table class="striped">
! * <caption>Permission target name, what the permission allows, and associated
! * risks</caption>
! * <thead>
* <tr>
* <th>Permission Target Name</th>
* <th>What the Permission Allows</th>
* <th>Risks of Allowing this Permission</th>
* </tr>
! * </thead>
! * <tbody>
* <tr>
* <td>play</td>
* <td>Audio playback through the audio device or devices on the system.
* Allows the application to obtain and manipulate lines and mixers for
* audio playback (rendering).</td>
*** 67,76 ****
--- 71,81 ----
* <td>In some cases use of this permission may affect other
* applications because manipulation of a mixer affects the audio for all lines
* using that mixer.
* This permission can enable an applet or application to eavesdrop on a user.</td>
* </tr>
+ * </tbody>
* </table>
*
* @author Kara Kytle
* @since 1.3
*/
< prev index next >