tuweni / org.apache.tuweni.io / Resources / find

find

@MustBeClosed static fun find(glob: String!): Stream<URL!>! (source)

Resolve resources using the default class loader.

Parameters

glob - String!: The glob pattern for matching resource paths against.

Exceptions

IOException - If an I/O error occurs.

Return
Stream<URL!>!: A stream of URLs to all resources.

@MustBeClosed static fun find(@Nullable classLoader: ClassLoader?, glob: String!): Stream<URL!>! (source)

Resolve resources using the default class loader.

Parameters

classLoader - ClassLoader?: The class loader to use for resolving resources.

glob - String!: The glob pattern for matching resource paths against.

Exceptions

IOException - If an I/O error occurs.

Return
Stream<URL!>!: A stream of URLs to all resources.