@new


Description:

public static ListModel @new (File directory)

Creates a new DirectoryModel using directory as the directory to monitor.

Parameters:

directory

A File

Returns:

A newly created DirectoryModel