und nochmal
This commit is contained in:
parent
81d472b661
commit
18cd86a15b
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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
|
Loading…
Reference in New Issue