commit f0f8a1b8ab92d2ab79fd604c26a2c1a779672980 Author: avelino Date: Tue Oct 20 20:22:32 2026 +0200 primero diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..efedf92 --- /dev/null +++ b/.classpath @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/.project b/.project new file mode 100644 index 0000000..ed499de --- /dev/null +++ b/.project @@ -0,0 +1,17 @@ + + + act011 + + + + + + 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..3124684 --- /dev/null +++ b/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,11 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=25 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=25 +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.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning +org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.source=25 diff --git a/bin/act011/Main.class b/bin/act011/Main.class new file mode 100644 index 0000000..3ebaadf Binary files /dev/null and b/bin/act011/Main.class differ diff --git a/bin/act011/configuracion/configuracion$Configuracion.class b/bin/act011/configuracion/configuracion$Configuracion.class new file mode 100644 index 0000000..986adaa Binary files /dev/null and b/bin/act011/configuracion/configuracion$Configuracion.class differ diff --git a/bin/act011/configuracion/configuracion.class b/bin/act011/configuracion/configuracion.class new file mode 100644 index 0000000..c0a13c0 Binary files /dev/null and b/bin/act011/configuracion/configuracion.class differ diff --git a/bin/config/application.properties b/bin/config/application.properties new file mode 100644 index 0000000..b68e85b --- /dev/null +++ b/bin/config/application.properties @@ -0,0 +1 @@ +ruta.informacion = informacion-IES.xml diff --git a/bin/module-info.class b/bin/module-info.class new file mode 100644 index 0000000..3dde0fb Binary files /dev/null and b/bin/module-info.class differ diff --git a/informacion-IES.xml b/informacion-IES.xml new file mode 100644 index 0000000..9e27bba --- /dev/null +++ b/informacion-IES.xml @@ -0,0 +1,119 @@ + + + + DAM + Técnico Superior en Desarrollo de Aplicaciones Multiplataforma + + + Bases de datos + 205 + + + 90 + Entornos de desarrollo + + + 90 + Formación y orientación laboral + + + 140 + Lenguaje de marcas y sistemas de gestión de información + + + 270 + Programación + + + 205 + Sistemas informáticos + + + + + Acceso a Datos + 120 + + + 120 + Diseño de interfaces + + + 65 + Empresa e iniciativa emprendedora + + + 80 + Programación de servicios y procesos + + + 80 + Programación multimedia y dispositivos móviles + + + 40 + Inglés técnico para grado superior + + + + + DAW + Técnico Superior en Desarrollo de Aplicaciones Web + + + Bases de datos + 205 + + + 90 + Entornos de desarrollo + + + 90 + Formación y orientación laboral + + + 140 + Lenguaje de marcas y sistemas de gestión de información + + + 270 + Programación + + + 205 + Sistemas informáticos + + + + + Desarrollo web en entorno cliente + 115 + + + 180 + Desarrollo web en entorno servidor + + + 85 + Despliegue de aplicaciones web + + + 115 + Diseño de interfaces web + + + 30 + Proyecto de desarrollo de aplicaciones web + + + 40 + Inglés técnico para grado superior + + + 65 + Empresa e iniciativa emprendedora + + + + \ No newline at end of file diff --git a/src/act011/Main.java b/src/act011/Main.java new file mode 100644 index 0000000..7f65120 --- /dev/null +++ b/src/act011/Main.java @@ -0,0 +1,58 @@ +package act011; +import java.util.*; + +public class Main { + + public static void main(String[] args) { + // TODO Auto-generated method stub + + Scanner sc = new Scanner(System.in); + int opcion; + try { + do { + + System.out.print( + "1. Imprimir instituto\n" + + "2. Imprimir ciclos\n" + + "3. Imprimir módulos filtro 1\n" + + "4. Imprimir módulos filtro 2\n" + + "5. Salir del programa" + ); + opcion = sc.nextInt(); + + switch(opcion) { + case 1: + + break; + + case 2: + + break; + + case 3: + + break; + + + case 4: + + break; + + case 5: + + break; + + default: + } + + + } while(opcion != 5); + + } catch (Exception e) { + e.printStackTrace(); + } + + sc.close(); + + } +} diff --git a/src/act011/configuracion/configuracion.java b/src/act011/configuracion/configuracion.java new file mode 100644 index 0000000..e8431a5 --- /dev/null +++ b/src/act011/configuracion/configuracion.java @@ -0,0 +1,29 @@ +package act011.configuracion; + +import java.io.FileInputStream; +import java.util.Properties; + +import act011.*; + +public class configuracion { + + public class Configuracion { + private static final Properties prop = cargarPropiedades(); + + private static Properties cargarPropiedades() { + Properties p = new Properties(); + try (FileInputStream fis = new FileInputStream("config/application.properties")) { + p.loadFromXML(fis); + } catch (Exception e) { + + throw new RuntimeException("Error al cargar el fichero de configuración", e); + } + return p; + } + + public static String get(String clave, String valorPorDefecto) { + return prop.getProperty(clave, valorPorDefecto); + } + + } +} \ No newline at end of file diff --git a/src/config/application.properties b/src/config/application.properties new file mode 100644 index 0000000..b68e85b --- /dev/null +++ b/src/config/application.properties @@ -0,0 +1 @@ +ruta.informacion = informacion-IES.xml diff --git a/src/module-info.java b/src/module-info.java new file mode 100644 index 0000000..4e9da28 --- /dev/null +++ b/src/module-info.java @@ -0,0 +1,8 @@ +/** + * + */ +/** + * + */ +module act011 { +} \ No newline at end of file