org.mule.api.util
Interface StreamCloser

All Known Implementing Classes:
XMLStreamCloser

public interface StreamCloser

Closes a stream. A stream closer can close multiple stream types.


Method Summary
 boolean canClose(Class<?> streamType)
           
 void close(Object stream)
           
 

Method Detail

canClose

boolean canClose(Class<?> streamType)

close

void close(Object stream)
           throws Exception
Throws:
Exception


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.