jdk/src/share/classes/sun/applet/AppletClassLoader.java
changeset 25144 e2bf17cee34b
parent 25122 1ecc464c69d2
parent 24865 09b1d992ca72
child 25768 b10ec9701a7e
equal deleted inserted replaced
25143:aade36e70da0 25144:e2bf17cee34b
   355      * #getResource(String)}.<p>
   355      * #getResource(String)}.<p>
   356      *
   356      *
   357      * @param  name the resource name
   357      * @param  name the resource name
   358      * @return an input stream for reading the resource, or <code>null</code>
   358      * @return an input stream for reading the resource, or <code>null</code>
   359      *         if the resource could not be found
   359      *         if the resource could not be found
   360      * @since  JDK1.1
   360      * @since  1.1
   361      */
   361      */
   362     public InputStream getResourceAsStream(String name)
   362     public InputStream getResourceAsStream(String name)
   363     {
   363     {
   364 
   364 
   365         if (name == null) {
   365         if (name == null) {
   415      * #getResource(String)}.<p>
   415      * #getResource(String)}.<p>
   416      *
   416      *
   417      * @param  name the resource name
   417      * @param  name the resource name
   418      * @return an input stream for reading the resource, or <code>null</code>
   418      * @return an input stream for reading the resource, or <code>null</code>
   419      *         if the resource could not be found
   419      *         if the resource could not be found
   420      * @since  JDK1.1
   420      * @since  1.1
   421      */
   421      */
   422     public InputStream getResourceAsStreamFromJar(String name) {
   422     public InputStream getResourceAsStreamFromJar(String name) {
   423 
   423 
   424         if (name == null) {
   424         if (name == null) {
   425             throw new NullPointerException("name");
   425             throw new NullPointerException("name");