1 /*2 * @(#)WindowsPreferencesFactory.java 1.7 03/12/193 *4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.6 */7 package java.util.prefs;8 9 /**10 * Implementation of <tt>PreferencesFactory</tt> to return 11 * WindowsPreferences objects.12 *13 * @author Konstantin Kladko14 * @version 1.7, 12/19/0315 * @see Preferences16 * @see WindowsPreferences17 * @since 1.418 */19 class WindowsPreferencesFactory implements PreferencesFactory {20 21 /**22 * Returns WindowsPreferences.userRoot23 */24 public Preferences userRoot() {25 return WindowsPreferences.userRoot;26 }27 28 /**29 * Returns WindowsPreferences.systemRoot30 */31 public Preferences systemRoot() {32 return WindowsPreferences.systemRoot;33 }34 }35