Get a folder instance

An empty folder instance is created as the first step to referring to a folder and performing file operations. This is done using the getFolderInstance() method which doesn’t actually fire a server side call. The folder instance does not hold any values.

Ensure the following packages are imported:

    
copy
import com.zc.component.files.ZCFile; import com.zc.component.files.ZCFolder;
    
copy
//Get an instance for the file store ZCFile fileStore = ZCFile.getInstance(); //Use Folder Instance to refer a folder without firing API ZCFolder folderDetails = fileStore.getFolderInstance(1510000000109393L);

Last Updated 2023-09-03 01:06:41 +0530 +0530

ON THIS PAGE

RELATED LINKS

File Store