Module :
java.prefs - Package :
java.util.prefs
Version documentée : Java SE 17
Classe « AbstractPreferences »
Informations générales
Héritage
java.lang.Object
java.util.prefs.Preferences
java.util.prefs.AbstractPreferences
Définition
public abstract class AbstractPreferences extends java.util.prefs.Preferences
Description
A venir.
Liste des attributs
Tous les attributs
Attributs d'instance
Attributs statiques
Attributs dépréciés
protected |
Object |
lock |
|
protected |
boolean |
newNode |
|
Liste des constructeurs
Constructeurs
Constructeurs dépréciés
Liste des propriétés (getters/setters)
Propriétés
Propriétés dépréciées
protected |
boolean |
removed |
R/- |
public |
boolean |
userNode |
R/- |
Propriétés héritées de la classe java.util.prefs.Preferences
userNode
Propriétés héritées de la classe java.lang.Object
class
Liste des méthodes
Toutes les méthodes
Méthodes d'instance
Méthodes statiques
Méthodes concrètes
Méthodes abstraites
Méthodes dépréciées
public |
String |
absolutePath() |
|
public |
void |
addNodeChangeListener( NodeChangeListener ncl ) |
|
public |
void |
addPreferenceChangeListener( PreferenceChangeListener pcl ) |
|
protected |
AbstractPreferences[] |
cachedChildren() |
|
public |
String[] |
childrenNames() |
|
protected abstract |
String[] |
childrenNamesSpi() |
|
protected abstract |
AbstractPreferences |
childSpi( String name ) |
|
public |
void |
clear() |
|
public |
void |
exportNode( OutputStream os ) |
|
public |
void |
exportSubtree( OutputStream os ) |
|
public |
void |
flush() |
|
protected abstract |
void |
flushSpi() |
|
public |
String |
get( String key, String def ) |
|
public |
boolean |
getBoolean( String key, boolean def ) |
|
public |
byte[] |
getByteArray( String key, byte[] def ) |
|
protected |
AbstractPreferences |
getChild( String nodeName ) |
|
public |
double |
getDouble( String key, double def ) |
|
public |
float |
getFloat( String key, float def ) |
|
public |
int |
getInt( String key, int def ) |
|
public |
long |
getLong( String key, long def ) |
|
protected abstract |
String |
getSpi( String key ) |
|
protected |
boolean |
isRemoved() |
|
public |
boolean |
isUserNode() |
|
public |
String[] |
keys() |
|
protected abstract |
String[] |
keysSpi() |
|
public |
String |
name() |
|
public |
Preferences |
node( String path ) |
|
public |
boolean |
nodeExists( String path ) |
|
public |
Preferences |
parent() |
|
public |
void |
put( String key, String value ) |
|
public |
void |
putBoolean( String key, boolean value ) |
|
public |
void |
putByteArray( String key, byte[] value ) |
|
public |
void |
putDouble( String key, double value ) |
|
public |
void |
putFloat( String key, float value ) |
|
public |
void |
putInt( String key, int value ) |
|
public |
void |
putLong( String key, long value ) |
|
protected abstract |
void |
putSpi( String key, String value ) |
|
public |
void |
remove( String key ) |
|
public |
void |
removeNode() |
|
public |
void |
removeNodeChangeListener( NodeChangeListener ncl ) |
|
protected abstract |
void |
removeNodeSpi() |
|
public |
void |
removePreferenceChangeListener( PreferenceChangeListener pcl ) |
|
protected abstract |
void |
removeSpi( String key ) |
|
public |
void |
sync() |
|
protected abstract |
void |
syncSpi() |
|
public |
String |
toString() |
|
Méthodes héritées de la classe java.util.prefs.Preferences
absolutePath, addNodeChangeListener, addPreferenceChangeListener, childrenNames, clear, exportNode, exportSubtree, flush, get, getBoolean, getByteArray, getDouble, getFloat, getInt, getLong, importPreferences, isUserNode, keys, name, node, nodeExists, parent, put, putBoolean, putByteArray, putDouble, putFloat, putInt, putLong, remove, removeNode, removeNodeChangeListener, removePreferenceChangeListener, sync, systemNodeForPackage, systemRoot, toString, userNodeForPackage, userRoot
Méthodes héritées de la classe java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :