Browse Source

retoques

root
kevin 2 years ago
parent
commit
80979c4330
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/dam/daw/com/es/HolaFicheroPermisos.java

+ 2
- 2
src/dam/daw/com/es/HolaFicheroPermisos.java View File

@ -8,11 +8,11 @@ public class HolaFicheroPermisos {
public static void main(String[] args) throws IOException 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"); 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(); boolean exists = file1.exists();
if(exists == true) if(exists == true)
{ {


Loading…
Cancel
Save