tree_factory


Description:

public Tree tree_factory (File file)

Get or create a Tree instance for the given file.

Returns cached Tree instance if available, otherwise creates a new one and adds it to the cache.

Parameters:

file

The file to get/create Tree for

Returns:

Tree instance for the file