Back to project page FileShare.
The source code is released under:
MIT License
If you think the Android project FileShare listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.csyangchsh.fileshare.util; /*from www . j a va 2 s .c o m*/ import java.io.Closeable; import java.io.IOException; /** * @author csyangchsh * Date: 14/8/29 */ public abstract class Util { public static final void safeClose(Closeable closeable) { if (closeable != null) { try { closeable.close(); } catch (IOException e) { } } } }