Compare commits
3
Commits
e095dc13d8
...
89eaca21cf
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
89eaca21cf | ||
|
|
22de82c1aa | ||
|
|
9915535a64 |
No files matched your search
+1
-1
@@ -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 {
|
||||
|
||||
+10
-1
@@ -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"));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user