Is the directory listing behaviour of getResourceAsStream documented anywhere?

Viewed 133

Various answers (e.g. Get a list of resources from classpath directory) indicate that if you call getResourceAsStream on a directory, the returned stream will contain a list of items in the directory, one per line. This doesn't appear to be documented in the ClassLoader Javadoc. Is it specified anywhere else, or is it just an implementation detail that people have come to rely on?

1 Answers
Related