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(java.lang.Class<?> streamType)
           
 void close(java.lang.Object stream)
           
 

Method Detail

canClose

boolean canClose(java.lang.Class<?> streamType)

close

void close(java.lang.Object stream)
           throws java.lang.Exception
Throws:
java.lang.Exception


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