An input stream can be created to be read from a file or from any other data source. Therefore, it makes no sense to attach the file name to the input stream. Take a look at assetInfo to see if this class provides this data (you can even look inside the class using reflection). Please note that the creator or assetInfo made a design error without exposing this information OR you are trying to do it now.
source share