I need to check if there are files in path that in the the format that might contain "*" .
( for example
mathing path can be /tmp/dir1/1224/abcd.doc
in linux is very simple ( set files = "/tmp/*/1224/*.doc" )
How can I do it in java without start searching for "*" and buliding lops?