org.apache.cayenne.pref.UpgradeCayennePreference.class Maven / Gradle / Ivy
???? 1 ?
0 ]
^ _ ` a
^ b c
d e f
g
h i
j k
l
m
^ n o p q r
s
^ t u v
w
^ x y z
{
| }
| ~
^
? ?
| ?
? ? ?
% ? ?
' ? ?
? ?
? ?
? ? ? ? ? PREFERENCES_NAME_OLD Ljava/lang/String;
ConstantValue LAST_PROJ_FILES_OLD EDITOR_LAFNAME_OLD ? EDITOR_THEMENAME_OLD ? EDITOR_LOGFILE_ENABLED_OLD EDITOR_LOGFILE_OLD '(Lorg/apache/cayenne/pref/Preference;)V Code LineNumberTable LocalVariableTable this 2Lorg/apache/cayenne/pref/UpgradeCayennePreference; delegate $Lorg/apache/cayenne/pref/Preference; upgrade ()V i I
prefEditor Ljava/util/prefs/Preferences; frefLastProjFiles arr Ljava/util/Vector; size e Ljava/io/FileNotFoundException; Ljava/io/IOException; ep 3Lorg/apache/commons/collections/ExtendedProperties; prefsFile Ljava/io/File; preferencesDirectory ()Ljava/io/File; getRootPreference ()Ljava/util/prefs/Preferences; getCayennePreference getCurrentPreference
SourceFile UpgradeCayennePreference.java ; < ? ? X "org/apache/cayenne/pref/Preference org/apache/cayenne ? ? java/io/File U V 0org/apache/cayenne/pref/UpgradeCayennePreference modeler.preferences ; ? ? ? 1org/apache/commons/collections/ExtendedProperties ; E java/io/FileInputStream ; ? ? ? ? ? editor -org/apache/cayenne/modeler/ModelerPreferences logfileEnabled Editor.logfileEnabled ? ? ? ? logfile Editor.logfile ? ? ? ? lastSeveralProjectFiles Editor.lastSeveralProjectFiles ? ? ? M ? ? ? ? E ? ? ? ? ? ? ? ? java/io/FileNotFoundException ? E java/io/IOException %java/util/prefs/BackingStoreException ? ? ? ? V D E B C W X Y X +org/apache/cayenne/pref/PreferenceDecorator Editor.lookAndFeel Editor.theme java/util/prefs/Preferences userRoot
nodeExists (Ljava/lang/String;)Z #(Ljava/io/File;Ljava/lang/String;)V exists ()Z (Ljava/io/File;)V load (Ljava/io/InputStream;)V node 1(Ljava/lang/String;)Ljava/util/prefs/Preferences;
getBoolean
putBoolean (Ljava/lang/String;Z)V getString &(Ljava/lang/String;)Ljava/lang/String; put '(Ljava/lang/String;Ljava/lang/String;)V getVector &(Ljava/lang/String;)Ljava/util/Vector; java/util/Vector ()I remove (I)Ljava/lang/Object; clear java/lang/String valueOf (I)Ljava/lang/String; get java/lang/Object toString ()Ljava/lang/String; printStackTrace .org/apache/cayenne/modeler/util/CayenneUserDir getInstance 2()Lorg/apache/cayenne/modeler/util/CayenneUserDir; getDirectory ! 0 1 2 3 4 2 3 5 2 3 6 7 2 3 8 9 2 3 : 2 3 ; <