und nochmal

This commit is contained in:
Johannes Theiner 2018-05-04 16:07:11 +02:00
parent 81d472b661
commit 18cd86a15b
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,30 @@
package de.joethei.hs.java2.praktikum.praktikum4;
import java.io.BufferedWriter;
import java.io.IOException;
public class Commands {
public static class Stop implements CommandHandler {
@Override
public boolean handle(BufferedWriter writer, String[] args) {
KlausurenServer.getExecutorService().shutdown();
System.exit(0);
return true;
}
}
public static class Test implements CommandHandler {
@Override
public boolean handle(BufferedWriter writer, String[] args) {
try {
writer.write("Hallo Welt\n");
} catch (IOException e) {
e.printStackTrace();
}
return true;
}
}
}

View File

@ -0,0 +1,8 @@
A1:Relativitätstheorie:Einstein:15
B2:Quantenmechanik:Heisenberg:17
C2:Quantenphysik:Planck:5
T4:Thermodynamik:Kelvin:78
C2:Theoretische Physik:Kelvin:54
B2:Thermodynamik:Planck:44
T4:Quantenphysik:Planck:45
B2:Elektrodynamik:Kelvin:34