Save diary

This commit is contained in:
L3o15 2025-05-01 13:38:51 +02:00
parent bf6ae5179e
commit 7fa64e8fc4
2 changed files with 39 additions and 26 deletions

63
.idea/workspace.xml generated
View file

@ -4,7 +4,7 @@
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="af162031-d7bc-4a6c-bf85-8552ba253018" name="Changes" comment="Build fix" />
<list default="true" id="af162031-d7bc-4a6c-bf85-8552ba253018" name="Changes" comment="Bug fix" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@ -29,30 +29,31 @@
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent">{
&quot;keyToString&quot;: {
&quot;Application.PatenteELibbrettoPregohMain.executor&quot;: &quot;Run&quot;,
&quot;Downloaded.Files.Path.Enabled&quot;: &quot;true&quot;,
&quot;Repository.Attach.Annotations&quot;: &quot;false&quot;,
&quot;Repository.Attach.JavaDocs&quot;: &quot;false&quot;,
&quot;Repository.Attach.Sources&quot;: &quot;false&quot;,
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
&quot;RunOnceActivity.git.unshallow&quot;: &quot;true&quot;,
&quot;SHARE_PROJECT_CONFIGURATION_FILES&quot;: &quot;true&quot;,
&quot;git-widget-placeholder&quot;: &quot;master&quot;,
&quot;kotlin-language-version-configured&quot;: &quot;true&quot;,
&quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
&quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
&quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
&quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
&quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
&quot;project.structure.last.edited&quot;: &quot;Project&quot;,
&quot;project.structure.proportion&quot;: &quot;0.15&quot;,
&quot;project.structure.side.proportion&quot;: &quot;0.2&quot;,
&quot;settings.editor.selected.configurable&quot;: &quot;preferences.pluginManager&quot;,
&quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"Application.PatenteELibbrettoPregohMain.executor": "Run",
"Downloaded.Files.Path.Enabled": "true",
"Repository.Attach.Annotations": "false",
"Repository.Attach.JavaDocs": "false",
"Repository.Attach.Sources": "false",
"RunOnceActivity.ShowReadmeOnStart": "true",
"RunOnceActivity.git.unshallow": "true",
"SHARE_PROJECT_CONFIGURATION_FILES": "true",
"git-widget-placeholder": "master",
"kotlin-language-version-configured": "true",
"last_opened_file_path": "/Users/leonardo-orizio/Desktop/Scuola/UniBs/PrimoAnno/Fondamenti di info/ProgettoArnaldo/PatenteELibbrettoPregoh",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.tslint": "true",
"node.js.selected.package.eslint": "(autodetect)",
"node.js.selected.package.tslint": "(autodetect)",
"nodejs_package_manager_path": "npm",
"project.structure.last.edited": "Project",
"project.structure.proportion": "0.15",
"project.structure.side.proportion": "0.2",
"settings.editor.selected.configurable": "preferences.pluginManager",
"vue.rearranger.settings.migration": "true"
}
}</component>
}]]></component>
<component name="RecentsManager">
<key name="CreateClassDialog.RecentsKey">
<recent name="it.unibs.fp.patenteelibbrettopregoh" />
@ -84,6 +85,7 @@
<workItem from="1745060286799" duration="3585000" />
<workItem from="1746090394771" duration="7577000" />
<workItem from="1746098459756" duration="164000" />
<workItem from="1746099005276" duration="376000" />
</task>
<task id="LOCAL-00001" summary="First commit">
<option name="closed" value="true" />
@ -141,7 +143,15 @@
<option name="project" value="LOCAL" />
<updated>1746098566296</updated>
</task>
<option name="localTasksCounter" value="8" />
<task id="LOCAL-00008" summary="Bug fix">
<option name="closed" value="true" />
<created>1746099310889</created>
<option name="number" value="00008" />
<option name="presentableId" value="LOCAL-00008" />
<option name="project" value="LOCAL" />
<updated>1746099310889</updated>
</task>
<option name="localTasksCounter" value="9" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
@ -186,6 +196,7 @@
<MESSAGE value="Parsing in JSON, Javadoc" />
<MESSAGE value="Build" />
<MESSAGE value="Build fix" />
<option name="LAST_COMMIT_MESSAGE" value="Build fix" />
<MESSAGE value="Bug fix" />
<option name="LAST_COMMIT_MESSAGE" value="Bug fix" />
</component>
</project>

View file

@ -236,6 +236,8 @@ public class Parser {
} else if (formato == Formato.JSON) {
salvaDiarioJSON(fileName, pagineDiario);
}
System.out.println("Diario salvato nella cartella corrente con nome: " + fileName);
}
/**