I have the cross-platform `Java` application and I need to show the content of the `Favorites` folder for any `OS`, if it has any.

How can I get this property in `Java`?

Downvoters, here is what I mean:

**Windows file explorer favorites:**

![Windows file explorer favorites](https://i.stack.imgur.com/1q5Ze.png)

**Mac OS file explorer favorites:**

![Mac OS file explorer favorites](https://i.stack.imgur.com/5czRi.jpg)