Use css file from local filesystem?

Hi, everyone)

For example.

My java code generated css file to filesystem, like is:
С:\myStyles\userXXX\mystyle.css

How i can use this file in Vaadin code, like is:

public class SettingsButton extends Composite<Div> {

    Icon icon;

    public SettingsButton(String color) {
        icon = new Icon(VaadinIcon.COG);
        icon.setColor(color);
        getContent().add(icon);

        //example
        getContent().setClassName("С:\\myStyles\userXXX\mystyle.css");
    }

}

I can parse my file and do something like .getStyle().set(“params”,“value”), but
in this construction i can’t use selectors like(hover and …)

Have you tried this? https://vaadin.com/docs/v10/flow/importing-dependencies/tutorial-include-css.html

Stefan Uebe:
Have you tried this? https://vaadin.com/docs/v10/flow/importing-dependencies/tutorial-include-css.html

"You can place style sheets and other static resources in any folder inside your WAR file " Not all OS filesystem
UI.getCurrent().getPage().addStyleSheet(“default frontend folder”)