![JAR search and dependency download from the Maven repository](/logo.png)
com.github.asteraether.tomlib.util.IOUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of TomLib Show documentation
Show all versions of TomLib Show documentation
A simple collection of usefull things in java.
The newest version!
/*
* 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 com.github.asteraether.tomlib.util;
import java.io.File;
import java.util.Arrays;
import java.util.List;
/**
*
* @author neumann6
*/
public class IOUtil {
/**
*
* @param dir
* @return
*/
public static List getDirList(File dir) {
File[] directoryListing = dir.listFiles();
if (directoryListing != null) {
return Arrays.asList(directoryListing);
} else {
return null;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy