You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
p62xrbca7/java/util/prefs/WindowsPreferencesFactory.java

52 lines
800 B

/*
* Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package java.util.prefs;
/**
* Implementation of <tt>PreferencesFactory</tt> to return
* WindowsPreferences objects.
*
* @author Konstantin Kladko
* @see Preferences
* @see WindowsPreferences
* @since 1.4
*/
class WindowsPreferencesFactory implements PreferencesFactory {
/**
* Returns WindowsPreferences.userRoot
*/
public Preferences userRoot() {
return WindowsPreferences.userRoot;
}
/**
* Returns WindowsPreferences.systemRoot
*/
public Preferences systemRoot() {
return WindowsPreferences.systemRoot;
}
}