Package org.mule.model.streaming

Examples of org.mule.model.streaming.DeleteOnCloseFileInputStream


        public InputStream getInputStream() throws IOException
        {
           if (_file != null)
           {
               // Automatically close and delete the temp file when end of input has been reached (MULE-6732).
               return new BufferedInputStream(new AutoCloseInputStream(new DeleteOnCloseFileInputStream(_file)));
           }
           else
           {
               //part content is in a ByteArrayOutputStream
               return new ByteArrayInputStream(((ByteArrayOutputStream)_out).toByteArray());
View Full Code Here

TOP

Related Classes of org.mule.model.streaming.DeleteOnCloseFileInputStream

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.