Reputation: 2748
Is it possible to initialize an inputstream via another inputstream in java ?
Upvotes: 0
Views: 1104
Reputation: 4324
You mean BufferedInputStream(new FileInputStream()) or something similar?
If so, then yes, it is possible. I would recommend check each InputStream's constructor API to see if they take an InputStream overloaded one. Regards!
Upvotes: 0