package org.biomoby.registry.properties;

import java.util.HashMap;
import java.util.Map;

/**
 * This class incorporates the logic needed to obtain environment variables from
 * the MacOS and Mac OS X.
 * 
 * @author Eddie created Nov 28, 2005
 */
public class MacOS implements Environment {

	/**
	 * the singleton
	 */
	public static final MacOS os = new MacOS();

	// constructor doesnt do anything
	private MacOS() {
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see org.biomoby.registry.properties.Environment#getEnv()
	 */
	public Map getEnv() {
		// TODO - what belongs here?
		HashMap map = new HashMap();
		return map;
	}

	/**
	 * Register the terms that System.getProperty("os.name") returns with this
	 * os
	 * 
	 */
	public static final void register() {
		RegistryOS.register("Mac OS", os);
		RegistryOS.register("Mac OS X", os);
	}
}
