Interface ResourceModule
- All Known Subinterfaces:
 ApiModule,DirectoryModule,IoModule,ZipModule
- All Known Implementing Classes:
 JarResourceModule
- 
Method Summary
Modifier and TypeMethodDescription@NotNull Collection<String> getModulePaths(@NotNull ResourcePath pathSoFar) Gets a collection of files/documents contained in this module. 
- 
Method Details
- 
getModulePaths
Gets a collection of files/documents contained in this module.The resulting file paths are used mainly for suggestions in the
/delphi open <player> <path>command.Assuming we have the following files in the module:
The following inputs should yield these results:index.xml item-data.json global-style.scss admin-tab/index.xml admin-tab/head-item.json admin-tab/confirm/dialogue.xml admin-tab/confirm/style.scss spectator-tab/index.xmlInput Expected result Empty input Returns the entire file list admin-tab/index.xml,head-item.json,confirm/dialogue.xml,confirm/style.scssadmin-tab/confirm/dialogue.xml,style.scssspectator-tab/index.xml- Parameters:
 pathSoFar- The current page path.- Returns:
 - A list of files contained in the directory specified by 
pathSoFar. 
 
 -