Browse Source

first commit

master
Dani 2 years ago
commit
be6a5a1c58
7 changed files with 573 additions and 0 deletions
  1. +10
    -0
      .classpath
  2. +17
    -0
      .project
  3. +2
    -0
      .settings/org.eclipse.core.resources.prefs
  4. +14
    -0
      .settings/org.eclipse.jdt.core.prefs
  5. +506
    -0
      README.md
  6. BIN
      bin/com/danielkuperus/VisualizarDirectorio/Principal.class
  7. +24
    -0
      src/com/danielkuperus/VisualizarDirectorio/Principal.java

+ 10
- 0
.classpath View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>

+ 17
- 0
.project View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>TreeJava</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

+ 2
- 0
.settings/org.eclipse.core.resources.prefs View File

@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8

+ 14
- 0
.settings/org.eclipse.jdt.core.prefs View File

@ -0,0 +1,14 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=17

+ 506
- 0
README.md View File

@ -0,0 +1,506 @@
Con este programa podemos observar la estructura de arbol de nuestros directorios en nuestra maquina.
```\..
\.metadata
\.lock
\.log
\.plugins
\org.eclipse.buildship.core
\org.eclipse.core.resources
\.history
\12
\d04252d0ed38001d124eed0fc0be1dd1
\1a
\90ee4f843038001d1120cd46f1c34d6d
\1b
\10b5f6213238001d1120cd46f1c34d6d
\1f
\d04e35103338001d1120cd46f1c34d6d
\20
\7033e33cf138001d124eed0fc0be1dd1
\21
\401a38942a38001d1cc2c99f0f9d462d
\24
\1020b200f538001d197fad78bffc9bde
\2c
\33
\36
\48
\49
\e041e734f438001d197fad78bffc9bde
\4a
\4f
\f05e05b16d3e001d183af1b1e72675ef
\63
\60e44224f538001d197fad78bffc9bde
\64
\76
\7a
\e047e68b2a38001d1cc2c99f0f9d462d
\7c
\f07e233c6d3e001d183af1b1e72675ef
\8d
\b0f2b405ee38001d124eed0fc0be1dd1
\8e
\94
\9a
\9b
\d03633f0f338001d197fad78bffc9bde
\a2
\a7
\10411edeee38001d124eed0fc0be1dd1
\a9
\af
\30f7b2b76d3e001d183af1b1e72675ef
\f0af44c8ee38001d124eed0fc0be1dd1
\b0
\b1
\20739920ef38001d124eed0fc0be1dd1
\bc
\902d78982d38001d1120cd46f1c34d6d
\c5
\c9
\cf
\00caf69ff438001d197fad78bffc9bde
\d9
\7093197c3038001d1120cd46f1c34d6d
\ec
\ef
\005ad6c66c3e001d183af1b1e72675ef
\f6
\60896d652b38001d1cc2c99f0f9d462d
\.projects
\.org.eclipse.egit.core.cmp
\.location
\.markers.snap
\.syncinfo.snap
\HolaFichero
\.indexes
\af
\history.index
\e4
\history.index
\properties.index
\.markers.snap
\.syncinfo.snap
\org.eclipse.egit.core
\GitProjectData.properties
\org.eclipse.jdt.core
\state.dat
\HolaMundoSpring
\.indexes
\af
\history.index
\e4
\history.index
\properties.index
\.markers.snap
\.syncinfo.snap
\org.eclipse.egit.core
\GitProjectData.properties
\org.eclipse.jdt.apt.core
\org.eclipse.jdt.core
\state.dat
\Parque_Grafico_Coches
\.indexes
\history.index
\.location
\.markers
\1.tree
\org.eclipse.jdt.apt.core
\org.eclipse.jdt.core
\state.dat
\TreeJava
\.indexes
\af
\history.index
\.markers.snap
\.syncinfo.snap
\org.eclipse.jdt.core
\VisualizarDirectorio
\.indexes
\af
\history.index
\e4
\81
\d2
\2c
\history.index
\properties.index
\.markers.snap
\.syncinfo.snap
\org.eclipse.egit.core
\GitProjectData.properties
\org.eclipse.jdt.core
\state.dat
\.root
\.indexes
\history.version
\properties.index
\properties.version
\.markers.snap
\6.tree
\.safetable
\org.eclipse.core.resources
\6.snap
\org.eclipse.core.runtime
\.settings
\Cloud Foundry.prefs
\Docker.prefs
\org.eclipse.core.resources.prefs
\org.eclipse.debug.ui.prefs
\org.eclipse.e4.ui.css.swt.theme.prefs
\org.eclipse.e4.ui.workbench.renderers.swt.prefs
\org.eclipse.egit.core.prefs
\org.eclipse.egit.ui.prefs
\org.eclipse.jdt.core.prefs
\org.eclipse.jdt.debug.ui.prefs
\org.eclipse.jdt.junit.prefs
\org.eclipse.jdt.launching.prefs
\org.eclipse.jdt.ui.prefs
\org.eclipse.jsch.core.prefs
\org.eclipse.m2e.apt.prefs
\org.eclipse.m2e.discovery.prefs
\org.eclipse.pde.api.tools.prefs
\org.eclipse.ui.editors.prefs
\org.eclipse.ui.ide.prefs
\org.eclipse.ui.prefs
\org.eclipse.ui.workbench.prefs
\org.eclipse.urischeme.prefs
\org.springframework.ide.eclipse.boot.dash.prefs
\org.springframework.ide.eclipse.boot.launch.prefs
\org.springframework.ide.eclipse.imports.prefs
\org.springsource.ide.eclipse.commons.frameworks.core.prefs
\org.springsource.ide.eclipse.commons.ui.prefs
\org.eclipse.debug.core
\.launches
\Main.launch
\principal.launch
\Ventana.launch
\org.eclipse.debug.ui
\dialog_settings.xml
\launchConfigurationHistory.xml
\org.eclipse.e4.workbench
\workbench.xmi
\org.eclipse.egit.core
\.org.eclipse.egit.core.cmp
\.project
\.settings
\org.eclipse.core.resources.prefs
\org.eclipse.egit.ui
\dialog_settings.xml
\org.eclipse.jdt.core
\1865797976.index
\250414838.index
\374865325.index
\691248265.index
\796093142.index
\906859835.index
\assumedExternalFilesCache
\externalFilesCache
\externalLibsTimeStamps
\indexNamesMap.txt
\javaLikeNames.txt
\nonChainingJarsCache
\savedIndexNames.txt
\variablesAndContainers.dat
\org.eclipse.jdt.launching
\.install.xml
\libraryInfos.xml
\org.eclipse.jdt.ui
\dialog_settings.xml
\jdt-images
\0.png
\1.png
\2.png
\OpenTypeHistory.xml
\QualifiedTypeNameHistory.xml
\org.eclipse.linuxtools.docker.core
\org.eclipse.linuxtools.docker.ui
\org.eclipse.ltk.core.refactoring
\.refactorings
\.workspace
\2022
\9
\38
\refactorings.history
\refactorings.index
\HolaFichero
\2022
\9
\38
\refactorings.history
\refactorings.index
\Holamundo
\2022
\9
\38
\refactorings.history
\refactorings.index
\org.eclipse.ltk.ui.refactoring
\dialog_settings.xml
\org.eclipse.m2e.core
\workspaceState.ser
\org.eclipse.m2e.logback.configuration
\0.log
\logback.2.0.0.20220705-1221.xml
\org.eclipse.pde.api.tools
\org.eclipse.pde.core
\.cache
\clean-cache.properties
\.p2
\org.eclipse.equinox.p2.engine
\profileRegistry
\org.eclipse.team.ui
\dialog_settings.xml
\syncParticipants.xml
\org.eclipse.tips.ide
\dialog_settings.xml
\org.eclipse.tm.terminal.view.ui
\.executables
\data.properties
\org.eclipse.ui.editors
\dialog_settings.xml
\org.eclipse.ui.ide
\dialog_settings.xml
\org.eclipse.ui.workbench
\dialog_settings.xml
\workingsets.xml
\org.eclipse.userstorage.oauth
\org.eclipse.wst.common.modulecore
\org.eclipse.wst.server.core
\org.springframework.ide.eclipse.boot
\installs
\org.springframework.ide.eclipse.boot.dash
\org.springsource.ide.eclipse.commons.frameworks.core
\version.ini
\HolaFichero
\.classpath
\.git
\branches
\COMMIT_EDITMSG
\config
\HEAD
\hooks
\index
\logs
\HEAD
\refs
\heads
\master
\objects
\09
\cf73a009b33e14d3bc1c1f5e4825c06eb029fe
\57
\bca72546725f93b294323a769debf40b67ff61
\74
\0934d951a3908da031c09ba50340c9066003e0
\7c
\ef804a6686d89317fc2d611ca414a634b06641
\8c
\9943d50cc1ad01b880ef4e85e8724e6cc19fd2
\99
\f26c0203a7844de00dbfc56e6a35d8ed3c022c
\9d
\a7a5051f6a80632ca5498827bf585ad1e496b2
\a2
\dc976fd29136550d631ba86bb46997b51a7e58
\c5
\b2bf7a0133181660ab97584fd2caa7c7a31b9f
\d2
\071e8085a02334cd60f08e36a6862106bcdd6b
\e2
\3c5e3b69f74fd0d968178168f5e1e207cde591
\8c78a1947fb4c48e8816e2ca014dfaf8beca48
\f5
\6ac262acf3cedaa8aab7fac41c90edca55cd20
\info
\pack
\refs
\heads
\master
\tags
\.project
\.settings
\org.eclipse.core.resources.prefs
\org.eclipse.jdt.core.prefs
\bin
\Main.class
\src
\Main.java
\Holamundo
\.classpath
\.project
\.settings
\org.eclipse.core.resources.prefs
\org.eclipse.jdt.core.prefs
\bin
\principal.class
\src
\principal.java
\HolaMundoSpring
\.classpath
\.git
\branches
\COMMIT_EDITMSG
\config
\HEAD
\hooks
\index
\logs
\HEAD
\refs
\heads
\master
\remotes
\origin
\master
\objects
\09
\0ef1fcff6e3b763633802ea1889d9681a5e71e
\19
\5f33e95917166ea9c0ad036fe090edbcd187ce
\57
\bca72546725f93b294323a769debf40b67ff61
\67
\1bb5122ed0d84173be8a61cf695c7a312cdbfd
\8c
\9943d50cc1ad01b880ef4e85e8724e6cc19fd2
\8f
\3c7e18cf88a6cd760808ba9e96c665260c685a
\99
\f26c0203a7844de00dbfc56e6a35d8ed3c022c
\bf
\91d60cca099f2d373704ebcbfdc91c81a1e31d
\c1
\afed62c4a8d1fe84c83643a20d4bfdd5104cb1
\c5
\b2bf7a0133181660ab97584fd2caa7c7a31b9f
\f0
\9032bb2c8a1e265b4101b30e30ac8a7a9eeed8
\info
\pack
\refs
\heads
\master
\remotes
\origin
\master
\tags
\.project
\.settings
\org.eclipse.core.resources.prefs
\org.eclipse.jdt.core.prefs
\bin
\Main.class
\src
\Main.java
\TreeJava
\.classpath
\.project
\.settings
\org.eclipse.core.resources.prefs
\org.eclipse.jdt.core.prefs
\bin
\Principal.class
\src
\Principal.java
\VisualizarDirectorio
\.classpath
\.git
\branches
\COMMIT_EDITMSG
\config
\HEAD
\hooks
\index
\logs
\HEAD
\refs
\heads
\master
\remotes
\origin
\master
\objects
\1c
\79f799a8f04db3c39a0461796a292698571aa2
\20
\20734a6ddfa7611eb1a57e08f66c2d776d5a62
\f2d14bc4c7556d3ddadda376e12ca1a5063fae
\35
\fc840db5123943c382cbd6b5776ed1060fb663
\55
\acc5c7dc84a2f81c2ba966a97ba43cba6c700d
\57
\bca72546725f93b294323a769debf40b67ff61
\5d
\2c04987c2aad7433543224a13eb7963abacf53
\64
\73c8558f220346c117a9375c2205b9275993d9
\7b
\2c6fb360c9828584748d0784a85c31e743b921
\7e
\1e2a82ba6538e87371c7a091a34096c2b68c4c
\83
\3e910853de6a15d5bfb4ad612b45db8d89608c
\88
\0012db4e91431bbcd2029971dcdf6d7409b861
\8c
\9943d50cc1ad01b880ef4e85e8724e6cc19fd2
\8d
\9423404b67091d76ea958f2eb1cd92b2e5d19f
\99
\f26c0203a7844de00dbfc56e6a35d8ed3c022c
\9e
\3a74f6d5003afb626444c4ce44b1cbd5445870
\a9
\63183ae4c42867ed9499559025e2c0e4a76ef5
\ad
\79bcaa8e02611e67ae1cad96ee0703c8170d7f
\af
\57b8b326c58b374b786ff2c72979df4b328acf
\bb
\a203491fc31245042cf50ac205b9128a2b98ad
\c4
\5f9886b4d8e7f522e4fb906822e192ff259947
\c5
\b2bf7a0133181660ab97584fd2caa7c7a31b9f
\d0
\b10272a9bcf358d352111aac565957caa5d718
\db
\12f49f2c477450c470eaa05339559ab1e286e5
\716122dfffa99c5a546586eff3a88ad58a7819
\dc
\e7860331f37d58c7cc7cbfc771d174b095a2f7
\e4
\e804be68d3eae2b94d4256c614573875b22a3a
\f3
\3d2ca3343243258223abeff6aa60830d926d9d
\fe
\1ecacda1eb66cdcb961f9d0b80982db6c30fcc
\info
\pack
\refs
\heads
\master
\remotes
\origin
\master
\tags
\.project
\.settings
\org.eclipse.core.resources.prefs
\org.eclipse.jdt.core.prefs
\bin
\com
\danielkuperus
\VisualizarDirectorio
\principal.class
\src
\com
\danielkuperus
\VisualizarDirectorio
\principal.java```

BIN
bin/com/danielkuperus/VisualizarDirectorio/Principal.class View File


+ 24
- 0
src/com/danielkuperus/VisualizarDirectorio/Principal.java View File

@ -0,0 +1,24 @@
package com.danielkuperus.VisualizarDirectorio;
import java.io.File;
import java.io.IOException;
public class Principal {
public static void printFile(File f, String spaces) {
System.out.println(spaces.concat(File.separator).concat(f.getName()));
if (f.isDirectory() && f.canRead()) {
for (File file : f.listFiles()) {
printFile(file, spaces.concat(" "));
}
}
}
public static void main(String[] args) throws IOException {
printFile(new File(".."), "");
}
}

Loading…
Cancel
Save