Browse Source

README

master
Dani Minguet 2 years ago
parent
commit
8618a3ad4d
2 changed files with 1 additions and 3 deletions
  1. BIN
      bin/visdir/com/daniminguet/es/VisualizarDirectorio.class
  2. +1
    -3
      src/visdir/com/daniminguet/es/VisualizarDirectorio.java

BIN
bin/visdir/com/daniminguet/es/VisualizarDirectorio.class View File


+ 1
- 3
src/visdir/com/daniminguet/es/VisualizarDirectorio.java View File

@ -8,9 +8,7 @@ public class VisualizarDirectorio {
public static void main(String args[]) { public static void main(String args[]) {
File[] elementosRuta = RUTA_A_VISUALIZAR.listFiles(); File[] elementosRuta = RUTA_A_VISUALIZAR.listFiles();
for(int i = 0; i < elementosRuta.length; i++) { for(int i = 0; i < elementosRuta.length; i++) {
if(elementosRuta[i].isDirectory()) {
System.out.println(elementosRuta[i].getName());
}
System.out.println(elementosRuta[i].getName());
} }
} }
} }

Loading…
Cancel
Save