File path/name from InputStream

前端 未结 3 2113
野性不改
野性不改 2020-12-18 21:56

How to obtain File Path/Name from an InputStream in Java ?

3条回答
  •  悲哀的现实
    2020-12-18 22:13

    You can't because the InputStream might not have been a file or path. You can implement your own InputStream that generates data on the fly

提交回复
热议问题