java - Piping a FileOutputStream to an InputStream without disk i/o -
a third party library casts subclassofoutputstream fileoutputstream internally invoke getchannel() operation though expose outputstream interface in api. (obviously) causes classcastexception.
i need write subclassofoutputstream interface. need write fileoutputstream container, pipe data inputstream, , read bytes inputstream in question subclassofoutputstream instance. there way without disk i/o?
thanks!
Comments
Post a Comment