From ba8045fa6093d80908d7305b0968e8b0f3ca56af Mon Sep 17 00:00:00 2001 From: kevin Date: Tue, 27 Sep 2022 16:25:39 +0200 Subject: [PATCH 1/6] =?UTF-8?q?he=20a=C3=B1adido=201=20mas=20de=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/dam/daw/com/es/HolaFicheroPermisos.class | Bin 1715 -> 567 bytes src/dam/daw/com/es/HolaFicheroPermisos.java | 7 ++++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/dam/daw/com/es/HolaFicheroPermisos.class b/bin/dam/daw/com/es/HolaFicheroPermisos.class index 8f94fc291feacc034aa71c379bd9741a898d90b7..85f24f3fe5e340126e1e8262d9c7e0d563065236 100644 GIT binary patch delta 161 zcmdnYyPbvW)W2Q(7#J9A8Du7M{R`mFN-Rs%&q>Tn*LN){$}i$z5MyMp3e77@EzZv= zOHENo&d)8#%tn literal 1715 zcmah}ZBtuS5Pl9&Zf<&8Y61mYRQh5K)g-NA)uw1$2(}nrBrOPyFNd2$IB;Jw_nrVc zVLLd5eu06K4%B?ZUsus1x$Y@}R4H_&w=5&g`;M~DZ0cCxYU%%x6zCRT z>OkOp=1J*aL}e4{pjKcM$>N@?>PCkF;Z6ypTV6WMKU_GnSQr#=4h=KfQwf|Gs7&3i zJdRZqSGLuT4l2{3+wfIj;>vCqZO3)#s%%{6o3bVhy=>gjMr9|m6Srr3y`*H7#WCAniF8Nn z$=GOL?UF*-WGShjwrSh*(x;-ng>eg+V{9I~!NGM-%3@}W7bNhGz}@W8kM27rcN1B6 z!%`+`va`W1+v|WcOp~=X@Q~Mb#RZNS_GA;=de>8 zc3NPx8;--n3CvJ!TR_ry;NT%gNl+B78ujdF0zI~EVNT#|i>ijvUVd5{q9Tn22aEWe z8l5XU7gqI#R)n8AYBq@y%G`{PDAUaB_%cIUW=Jb9CD?xJg_B$zV&t1v9jx(9{T}s< z+2mjq4)!JIH~Zgbzjp8qB#~27hI>t5Fmv(*@tB3{pvtZZ6Sg0G0#wNXe!pWuXvQ|e zMo^`;>61~7o=&>UgdpPvxf5SUZ-tN3ToG#mXUayp+jFwsnM}!Y*oa)k9s(m>CS#6S z$0ZP}G*W>cl4$hN*P>mXRzd5j>-$Lj+A=5U%VvC2U^e2&c;~`P>^#Z_mSn5 zR+vBO1c(3W0O{4#&_0GsZ#Qvaa`b1^f5Ypkt4&@@u^Vh~p_gzqtor?`M0X`*qeW9=kR!zS&L_yHPQl;i-uBadxL+iU52{=!oW NX Date: Tue, 27 Sep 2022 16:32:55 +0200 Subject: [PATCH 2/6] Retoques --- bin/dam/daw/com/es/HolaFicheroPermisos.class | Bin 567 -> 1716 bytes src/dam/daw/com/es/HolaFicheroPermisos.java | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/dam/daw/com/es/HolaFicheroPermisos.class b/bin/dam/daw/com/es/HolaFicheroPermisos.class index 85f24f3fe5e340126e1e8262d9c7e0d563065236..adecb08361d6c5f75238499db64b17728472d482 100644 GIT binary patch literal 1716 zcmah}TUT2}6#j++Cnr5EH35p2D!o`kHAzvd+7xXI!4|_s(t^-<8BT^Ua4uQrOaNWW zWgqn?_zQg2hv1U6`~m(UpLDr*5|EZGJr8I0ZT5Wo+k57ZzkmB3z!X9YJpxy&($81r zUfvD;yo&P=Lr>0XcS}X#l8SsChp~lTfeYJmSLQt#)bfiP+sZWp{daYs&4&VKGUF=( zz0+Y;C2E!_ zRTNit)UFOHGojn?Rbb-EUKs7fb?K^XT<4RrCJeo7+|Wj4C$p2eiQBnbx#eQ1c)wh% zOh+p0Fu1CNYPc8Y%)Ut?jS(j1Wr3kgH|!j7$-yWt6SZnz$A(xTYS(SNhAS4vo@+w+ z>)0sY!Bt$NsIWo(7;0ywT9*iByd`iid;HOPC**D-+m53; z(H3$77hmk~gNF91Dq^N?IhbIklCBKe#SzSR@UDf)=Xq+4hJ)L9k1*~^ub~zOBYd8LCB4nR-q;&1q)@ zM!VrS+MK{F^|l2hjfV~%ah3#S;jYolej?Cg+ZN^p&bO#)813a}q#-KOSah(2PifG( zv-4q9Z)!#OX`<$mD51>5_?Rlq%#E)wq!os=`a*&2yIwfW)e%NMY0beppVaTs%$O}s zR^eoybA5CFz4uE8UqKQ%HD!3#1O_vwcMy+RxDKiunlNGe!Y4qT9N_yq7KCPOGi(G^ z8k=4j)#&P^ySxwreVY_ML4+M&7T!+}i&z&pS2oh!nV0p>)08ZSjmT9TAu!VAY0NS0 zxB{Y;-c+E6BzpVkZ;_U#RnXdZ^8ksTTka(N*$oOfOMj;wKS zrTLR~aQYt(kzPv;9pGZ=%_d%%8vPOVU+`+`dJ{KzB_pqg$gYu?{}pc^;QiDGO%zD| zsEG%uVq5;0Tn*LN){$}i$z5MyMp3e77@EzZv= zOHENo&d)8#%t Date: Tue, 27 Sep 2022 16:34:34 +0200 Subject: [PATCH 3/6] retoques --- src/dam/daw/com/es/HolaFicheroPermisos.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dam/daw/com/es/HolaFicheroPermisos.java b/src/dam/daw/com/es/HolaFicheroPermisos.java index 4564da3..d62c8b7 100644 --- a/src/dam/daw/com/es/HolaFicheroPermisos.java +++ b/src/dam/daw/com/es/HolaFicheroPermisos.java @@ -8,11 +8,11 @@ public class HolaFicheroPermisos { public static void main(String[] args) throws IOException { - // creating a file instance + // crear el file File file1 = new File("C:\\Users\\kevin\\Documents\\workspace-spring-tool-suite-4-4.16.0.RELEASE\\CreoFicheroWindows.txt"); - // check if the file exists + // mira si existe boolean exists = file1.exists(); if(exists == true) { -- 2.20.1 From c40f68b15fb144e01d09342d101fb1188a04482b Mon Sep 17 00:00:00 2001 From: kevin Date: Tue, 27 Sep 2022 14:39:19 +0000 Subject: [PATCH 4/6] README --- README.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..af5a062 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +Hola \ No newline at end of file -- 2.20.1 From f91f7a88ba90994076b4c743b53bf52b763a631f Mon Sep 17 00:00:00 2001 From: kevin Date: Tue, 27 Sep 2022 14:41:02 +0000 Subject: [PATCH 5/6] Actualizar 'README.md' --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index af5a062..49245cf 100644 --- a/README.md +++ b/README.md @@ -1 +1,6 @@ -Hola \ No newline at end of file + + +``` +Executable Readable Writable lastimewrite Lengh Name +---------- --------- --------- ------------- ------ ----- +true true true Tue Sep 20 16:52:59 CEST 2022 0 CreoFicheroWindows.txt \ No newline at end of file -- 2.20.1 From 70b4a9a29b8d99b585a77d0a6cede70bca5a6bfe Mon Sep 17 00:00:00 2001 From: kevin Date: Tue, 27 Sep 2022 14:41:54 +0000 Subject: [PATCH 6/6] Actualizar 'README.md' --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 49245cf..533934e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,10 @@ +Explicacion de la actividad HolaficheroPermisos + + +Lo primero que he hecho es buscar un file/archivo.txt + +Luego he hecho que el programa muestre si en este archivo podemos ejecutar/leer/escribir/ultima vez escrito/lo que pesa el archivo/Nombre del archivo ``` Executable Readable Writable lastimewrite Lengh Name -- 2.20.1