Browse Source

Commit5

master
Michal Malawski 2 years ago
parent
commit
9915535a64
2 changed files with 4 additions and 2 deletions
  1. 1
    1
      src/Helpers.java
  2. 3
    1
      src/Main.java

+ 1
- 1
src/Helpers.java View File

public class Helpers { public class Helpers {


// Lesen einer Textdatei in ein Stringarray // Lesen einer Textdatei in ein Stringarray
public static String[] readTextdatei(String name) {
public static String[] readTextdatei(String name ) {
String line; String line;
ArrayList<String> result = new ArrayList<String>(); ArrayList<String> result = new ArrayList<String>();
try { try {

+ 3
- 1
src/Main.java View File


public class Main { public class Main {
public static void main(String[] args) { public static void main(String[] args) {
System.out.println("Hello!");
Helpers.readTextdatei("passwd");
Helpers.writeTextdatei("");
} }
} }

Loading…
Cancel
Save