Package jmri.profile

Class NullProfile

All Implemented Interfaces:

public class NullProfile
extends Profile
An empty JMRI application profile. Profiles allow a JMRI application to load completely separate set of preferences at each launch without relying on host OS-specific tricks to ensure this happens.

A NullProfile allows an application using JMRI as a library to set the active JMRI profile to an identity set by that application, if the use of a standard JMRI profile is not acceptable.

This class deliberately overrides all methods of Profile that access the name and id fields to remove protections and restrictions on those fields.

See Also: