FileSystemKt

public final class FileSystemKt

Functions

Link copied to clipboard
public final static File copyTo(InputStream $self, File file)

Copy data from this input stream to file.

public final static File copyTo(URL $self, File file)

Copy data from this url to file. It will create the parent folder if it doesn't exist.

Link copied to clipboard
public final static File ensure(File $self)
Link copied to clipboard
public final static File FileAt(String segments)
Link copied to clipboard
public final static File findFileInOrder(File files)
public final static File findFileInOrder(Function0<File> files)
public final static File findFileInOrder(File $self, File files)
public final static File findFileInOrder(File $self, Function0<File> files)
Link copied to clipboard
public final static Unit forEachFilesRecursive(File $self, Function1<File, Unit> func)
Link copied to clipboard
public final static ArrayList<File> getFilesRecursive(File $self)
Link copied to clipboard
public final static File getOrCreateDir(File $self)
Link copied to clipboard
public final static Unit mapFilesTo(    Iterable<File> $self,     File folder,     Boolean overwrite)
Link copied to clipboard
public final static Unit mapTo(    File $self,     File folder,     Boolean overwrite)