Compare commits
3 Commits
e095dc13d8
...
89eaca21cf
Author | SHA1 | Date | |
---|---|---|---|
89eaca21cf | |||
22de82c1aa | |||
9915535a64 |
@ -7,7 +7,7 @@ import java.util.ArrayList;
|
||||
public class Helpers {
|
||||
|
||||
// Lesen einer Textdatei in ein Stringarray
|
||||
public static String[] readTextdatei(String name) {
|
||||
public static String[] readTextdatei(String name ) {
|
||||
String line;
|
||||
ArrayList<String> result = new ArrayList<String>();
|
||||
try {
|
||||
|
@ -1,5 +1,14 @@
|
||||
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
System.out.println("Hello!");
|
||||
// java.utilScanner s = new java.utilScanner(System.in);
|
||||
// System.out.println("Benutzername:");
|
||||
// String login = s.next();
|
||||
// System.out.println("Passwort:");
|
||||
// String pwd = s.next();
|
||||
// s. close();
|
||||
|
||||
Helpers.readTextdatei("src/passwd.txt");
|
||||
Helpers.writeTextdatei("src/passwd.txt", Helpers.readTextdatei("src/passwd.txt"));
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user