All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zusmart.base.activity.ActivityUtils Maven / Gradle / Ivy

Go to download

提供基础的工具类及方法类,Logging,Scanner,Buffer,NetWork,Future,Thread

There is a newer version: 1.0.6
Show newest version
package com.zusmart.base.activity;

import com.zusmart.base.logging.Logger;
import com.zusmart.base.logging.LoggerFactory;

public abstract class ActivityUtils {

	private static final Logger logger = LoggerFactory.getLogger(ActivityUtils.class);

	public static void close(Activity activity) {
		if (null != activity) {
			try {
				activity.close();
			} catch (Exception e) {
				logger.error(e.getMessage(), e);
			}
		}
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy