FMB/src/Suche/Suche3.java

30 lines
713 B
Java
Raw Normal View History

2016-10-17 06:30:35 +02:00
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Suche;
2016-10-17 06:30:35 +02:00
/**
*
* @author simonr
*/
import forgemodpackbuilder.GUI;
2016-10-17 06:30:35 +02:00
import java.io.File;
public class Suche3 {
2016-10-17 06:30:35 +02:00
public static void main(String[] args) {
File f = new File("./modpack/" + GUI.version);
File[] fileArray = f.listFiles();
if (fileArray != null) { // Erforderliche Berechtigungen etc. sind vorhanden
for (int i = 0; i < 1; i++) {
System.out.println(fileArray[0]);
GUI.datei = fileArray[0].toString();
}
}
}
}