All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.cayenne.project.FileProjectSaver.class Maven / Gradle / Ivy

????3?
6??
?	p??
?	p??	p??
??
p???

?
??????
???????
p??
p?
p?
p?
p
p
?
"-
p	
(

"
"

"	p-

"
4
(
"


 !
"
(#
$%
&'
(
)*+
,
"-.
'
"/
0123
O4
N5
M6
p7
M89
U:;<
W=>
Z
"?@
pA
^BC
DEFG
H
eI
dJKL
pMN
O
)PQRSSaveUnitInnerClasses
nameMapper:Lorg/apache/cayenne/configuration/ConfigurationNameMapper;RuntimeVisibleAnnotationsLorg/apache/cayenne/di/Inject;resourceGetter;Lorg/apache/cayenne/configuration/ConfigurationNodeVisitor;	SignaturecLorg/apache/cayenne/configuration/ConfigurationNodeVisitor;saveableNodesGetter?Lorg/apache/cayenne/configuration/ConfigurationNodeVisitor;>;fileEncodingLjava/lang/String;()VCodeLineNumberTableLocalVariableTablethis-Lorg/apache/cayenne/project/FileProjectSaver;getSupportedVersion()Ljava/lang/String;save'(Lorg/apache/cayenne/project/Project;)Vproject$Lorg/apache/cayenne/project/Project;saveAsM(Lorg/apache/cayenne/project/Project;Lorg/apache/cayenne/resource/Resource;)V
baseDirectory&Lorg/apache/cayenne/resource/Resource;
StackMapTableN(Lorg/apache/cayenne/project/Project;Lorg/apache/cayenne/resource/Resource;Z)Vnode4Lorg/apache/cayenne/configuration/ConfigurationNode;unit6Lorg/apache/cayenne/project/FileProjectSaver$SaveUnit;unusedResourcesLjava/util/Collection;exLjava/io/IOException;baseResourcedeleteOldResourcesZnodesunitsLocalVariableTypeTable&Ljava/util/Collection;LLjava/util/Collection;NLjava/util/Collection;?T9createSaveUnit?(Lorg/apache/cayenne/configuration/ConfigurationNode;Lorg/apache/cayenne/resource/Resource;)Lorg/apache/cayenne/project/FileProjectSaver$SaveUnit;e$Ljava/lang/IllegalArgumentException;targetLocationtargetResource	targetUrlLjava/net/URL;UR?QcheckAccess(Ljava/util/Collection;)V
targetFileLjava/io/File;parentVQ(Ljava/util/Collection;)VsaveToTempFilesprintWriterLjava/io/PrintWriter;&Ljava/io/UnsupportedEncodingException;Ljava/io/FileNotFoundException;name1;=saveToTempFileN(Lorg/apache/cayenne/project/FileProjectSaver$SaveUnit;Ljava/io/PrintWriter;)V
saveCommit Ljava/net/MalformedURLException;tempFileKclearTempFilesclearRenamedFilesxunit	sourceUrl
sourceFileisTarget
Exceptions
isFilesEquals(Ljava/io/File;Ljava/io/File;)Z	firstFile
secondFileisFirstFileExistsisSecondFileExists
firstFilePathsecondFilePathdeleteUnusedFiles
unusedFileunusedResource)(Ljava/util/Collection;)V
SourceFileFileProjectSaver.java??4org/apache/cayenne/project/ConfigurationSourceGetterxy.org/apache/cayenne/project/SaveableNodesGetter|yUTF-8~7WXY??java/lang/NullPointerExceptionNull 'baseDirectory'?Z[\]^java/util/Collectionjava/util/ArrayList_`?abcTdefg2org/apache/cayenne/configuration/ConfigurationNode??hi??????????jk4org/apache/cayenne/project/FileProjectSaver$SaveUnitlmnopi??java/io/IOException*org/apache/cayenne/CayenneRuntimeException?qr??stu$org/apache/cayenne/resource/Resourcevwtuxyz{|}~??"java/lang/IllegalArgumentException^Can't save configuration to the following location: '%s'. Is this a valid file location?. (%s)java/lang/Object??????V???e?e&Error creating directory tree for '%s'?????eTarget file '%s' is a directory?eCan't write to file '%s'??U?`cayenne-project????Error creating temp file (%s)???ejava/io/PrintWriterjava/io/OutputStreamWriterjava/io/FileOutputStream??????????java/lang/Throwable?q$java/io/UnsupportedEncodingExceptionUnsupported encoding '%s' (%s)java/io/FileNotFoundExceptionFile not found '%s' (%s)??-org/apache/cayenne/project/ConfigurationSaver????%Unable to remove old master file '%s'??Unable to move '%s' to '%s'4org/apache/cayenne/project/ConfigurationSourceSetter'org/apache/cayenne/resource/URLResource?o????java/net/MalformedURLExceptionMalformed URL for file '%s'??Could not delete file '%s'???ijava/net/URL+org/apache/cayenne/project/FileProjectSaver'org/apache/cayenne/project/ProjectSaverjava/util/Iteratorjava/lang/Stringjava/io/File"org/apache/cayenne/project/ProjectgetConfigurationResource(()Lorg/apache/cayenne/resource/Resource;(Ljava/lang/String;)VgetRootNode6()Lorg/apache/cayenne/configuration/ConfigurationNode;
acceptVisitorO(Lorg/apache/cayenne/configuration/ConfigurationNodeVisitor;)Ljava/lang/Object;size()I(I)Viterator()Ljava/util/Iterator;hasNext()Znext()Ljava/lang/Object;add(Ljava/lang/Object;)ZgetUnusedResources()Ljava/util/Collection;
access$000^(Lorg/apache/cayenne/project/FileProjectSaver$SaveUnit;)Lorg/apache/cayenne/resource/Resource;getURL()Ljava/net/URL;remove(Ljava/lang/Throwable;)Vclear0(Lorg/apache/cayenne/project/FileProjectSaver;)V
access$102?(Lorg/apache/cayenne/project/FileProjectSaver$SaveUnit;Lorg/apache/cayenne/configuration/ConfigurationNode;)Lorg/apache/cayenne/configuration/ConfigurationNode;
access$002?(Lorg/apache/cayenne/project/FileProjectSaver$SaveUnit;Lorg/apache/cayenne/resource/Resource;)Lorg/apache/cayenne/resource/Resource;8org/apache/cayenne/configuration/ConfigurationNameMapperconfigurationLocationH(Lorg/apache/cayenne/configuration/ConfigurationNode;)Ljava/lang/String;getRelativeResource:(Ljava/lang/String;)Lorg/apache/cayenne/resource/Resource;org/apache/cayenne/util/UtiltoFile(Ljava/net/URL;)Ljava/io/File;
access$202T(Lorg/apache/cayenne/project/FileProjectSaver$SaveUnit;Ljava/io/File;)Ljava/io/File;
getMessage=(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V
access$200F(Lorg/apache/cayenne/project/FileProjectSaver$SaveUnit;)Ljava/io/File;
getParentFile()Ljava/io/File;existsmkdirsgetAbsolutePath((Ljava/lang/String;[Ljava/lang/Object;)VisDirectorycanWritegetNamelengthcreateTempFileB(Ljava/lang/String;Ljava/lang/String;Ljava/io/File;)Ljava/io/File;
access$302
access$300delete(Ljava/io/File;)V+(Ljava/io/OutputStream;Ljava/lang/String;)V(Ljava/io/Writer;)Vclose
addSuppressed
access$100l(Lorg/apache/cayenne/project/FileProjectSaver$SaveUnit;)Lorg/apache/cayenne/configuration/ConfigurationNode;*(Ljava/io/PrintWriter;Ljava/lang/String;)VrenameTo(Ljava/io/File;)ZtoURL(Ljava/net/URL;)V)(Lorg/apache/cayenne/resource/Resource;)VgetCanonicalPathequals!p6qtuvwxyz{|yz}~???[!*?*?Y??*?Y??*?	??89:= >?!?????-
??A??????C*++????
E
F????????i,?
?
Y??*+,???IJLM? ??????????&	?+?*???:?Y??:?:??!??:*,??W???*?*?*?*??:*???I*? +?!:?:??$??":?#?$?%W???*?&?:?(Y?)?+?!?*?Yennpny??'?^PQ"SATPUSWYZ_[e]k^n]ya}b?d?e?f?g?h?l?j?k?p?q?f
A??????:???
?????????????????"???? ?:?????"????*	?+????'Z?
????*?B????\|?"Y*?+N-+?,W-+*???-?.W*?/+?0:,?1:-?#?
-?.W?$:-?2?3W?":?(Y5?6YSY?7S?8?-?NX[4?:u	vw!y-z7|>}E?N?X?[?]?r?z??R]??|??|??|??	s??-O?7E??N.???.?E???????????????J?+?M,???,??"N-?9:?::?;?!?S????@??(YA?6Y?>S????;?!?B??(YC?6Y?>S?????v??6
?? ?'?/?7?E?M?U?k?{??????4 q??'j??w????????????????E????%?z????&F+?M,??8,??"N-?9?D:??E?F:-?9?::-?G?HW?:?(YI?6Y?JS?8?-?K?;?-?K?LW?MY?NY?OY-?K?P*?	?Q?R::*-?S?U??T?H:?V?<?T?4::?:	?!??T?:

?V??T	??H:?(YX?6Y*?	SY?YS?8?:?(Y[?6Y-?K?>SY?\S?8???ű>KN'???U???U??????U???z??Wz?Z?j??#?1?5?>?K?N?P?h?r?z???????????????????? ?:?B?E??\	P???a????? "??#?>??(??F??F???F???????)???????????:?????????G?H??
?????????????????B?`??#?z????Y+?]?^Y,*?_?`?W??
??? ???????????+?M,???,??"N-?9:?;?!?L??(Ya?6Y?>S???-?K:?b?!?(Yc?6Y?>SY?>S???-?HW-?]?dY?eY?f?g?h?W?:?(Yj?6Y?>S?8???S?z??i?F?? ?(?0?>?F?L?V?l?t?z????????????>??? ???Lh????????????????!???>???-?e???z?????=+?M,??/,??"N-?K?-?K?;?-?K?LW-?HW??α???+?3?9?<?? ??=??=???=?????1?z?????	?+?M,???,??"N-?#????-?#?$:?2:?:????;????6+?:??&??":*?9?k?	6?????!?L??(Yl?6Y?mS?????c?/694?V??!?$?/?69?;?>FI	L
jx{
~??????\	;??j??/u??6??>f??LX????????????????L
?????????????
?
?)??"?????'z?????0+?;>,?;6+?m:,?m:???n???? ?H0??0??0??+??%??????.?????@?'???$U+?M,??G,??oN-?2:?:????;?????L??(Yl?6Y?mS??????? #4?.$( ,#)%+(.0/32;3Q6T7?>%?? ??()??7??U??U???U???+??????????
???'z???s
"pr




© 2015 - 2025 Weber Informatics LLC | Privacy Policy