Class CaseInsensitiveBuildParams

  • All Implemented Interfaces:
    Map<String,​String>

    public class CaseInsensitiveBuildParams
    extends Object
    implements Map<String,​String>
    This is a special version of Map<String, String> designed to hold build parameters for case-insensitive process environment (Windows). This means that the access to environment variables is done is case-insensitive manner. For example if you initially place mapping "env.Path" -> "some path" you can access it with get("env.PATH"). Also updating the mapping by invoking put("env.pAtH", "some path 2") is valid as well.

    WARNING:

    Note that the sets obtained by invoking entrySet() or keySet() ARE NOT case-insensitive. When you iterate through these sets you should do case-insensitive comparison by yourself when appropriate.

    Author:
    Sergey.Anchipolevsky Date: 10.01.2008