commit ed3a2a07fa86f5ef1f383ac7f72e3dc41d7cd911 Author: AntonioFrische Date: Tue Sep 20 16:31:53 2022 +0200 MiDIr Antonio diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..b078173 --- /dev/null +++ b/.classpath @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/.project b/.project new file mode 100644 index 0000000..646bbdd --- /dev/null +++ b/.project @@ -0,0 +1,17 @@ + + + mDirSelfmade + + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jdt.core.javanature + + diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..99f26c0 --- /dev/null +++ b/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..b635231 --- /dev/null +++ b/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,14 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=18 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=18 +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=18 diff --git a/bin/antoniofrische/com/mkDirFuction.class b/bin/antoniofrische/com/mkDirFuction.class new file mode 100644 index 0000000..10f5d48 Binary files /dev/null and b/bin/antoniofrische/com/mkDirFuction.class differ diff --git a/bin/module-info.class b/bin/module-info.class new file mode 100644 index 0000000..a59a0f8 Binary files /dev/null and b/bin/module-info.class differ diff --git a/src/antoniofrische/com/mkDirFuction.java b/src/antoniofrische/com/mkDirFuction.java new file mode 100644 index 0000000..4022c9f --- /dev/null +++ b/src/antoniofrische/com/mkDirFuction.java @@ -0,0 +1,18 @@ +package antoniofrische.com; + +import java.io.IOException; +import java.io.File; + +public class mkDirFuction { + private static File direct = new File("C:\\Users\\AntonioFrische\\OneDrive - ABACCO Solutions\\Documents\\Schule_22_23_CFGS\\Acceso_Datos\\SpringTool_4"); + public static void main(String args[]) { + File[] dirList = direct.listFiles(); + for(int i = 0; i < dirList.length; i++) { + if(dirList[i].isDirectory()) { + System.out.println("Dic: "+dirList[i]); + }else { + System.out.println("Archivo: "+dirList[i]); + } + } + } +} diff --git a/src/module-info.java b/src/module-info.java new file mode 100644 index 0000000..d4c9160 --- /dev/null +++ b/src/module-info.java @@ -0,0 +1,2 @@ +module mDirSelfmade { +} \ No newline at end of file