testOne
This commit is contained in:
parent
f73bd53cc0
commit
d9d17d11a3
@ -1,3 +1,9 @@
|
||||
import java.io.BufferedReader;
|
||||
import java.io.FileReader;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
||||
public class Credentials {
|
||||
|
||||
String login;
|
||||
@ -13,15 +19,29 @@ public class Credentials {
|
||||
|
||||
public boolean valid(){
|
||||
|
||||
|
||||
return
|
||||
/* String line;
|
||||
ArrayList<String> result = new ArrayList<String>();
|
||||
try {
|
||||
FileReader fr = new FileReader(passwd.txt);
|
||||
BufferedReader br = new BufferedReader(fr);
|
||||
while ((line = br.readLine()) != null)
|
||||
result.add(line);
|
||||
br.close();
|
||||
}
|
||||
catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return result.toArray(new String[]{});
|
||||
*/
|
||||
|
||||
return false;
|
||||
|
||||
public static void main{
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,7 @@ public class Helpers {
|
||||
|
||||
// Schreiben eines Stringarray in eine Textdatei
|
||||
public static void writeTextdatei(String name, String[] lines) {
|
||||
|
||||
try {
|
||||
FileWriter fw = new FileWriter(name);
|
||||
BufferedWriter bw = new BufferedWriter(fw);
|
||||
|
Loading…
x
Reference in New Issue
Block a user