Item

Overview

Item objects represent a file or a folder on the file system, whether it exists or not, based on its path.

To get or create Item objects, you can:

To check whether a given Item object is a File or a Folder, you can use the instanceof operator.