com.vaadin.flow.client.

Class ClientResourcesUtils


  • public final class ClientResourcesUtils
    extends Object

    Utilities to load client access resources from the client side module.

    Since:

    1.2

    Author:

    Vaadin Ltd

    • Method Detail

      • getResource

        public static InputStream getResource(String path)

        Get content of the resource in the client-side module.

        Parameters:

        path - the resource path

        Returns:

        the content of the resource as InputStream or null if there is no resource with the path