equal
deleted
inserted
replaced
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"); |