Class AssetsFolder

java.lang.Object
com.onemillionworlds.tasks.assets.AssetsFolder

public class AssetsFolder extends Object
  • Constructor Details

    • AssetsFolder

      public AssetsFolder(String assetFolderPath)
  • Method Details

    • getJavaClassContent

      public String getJavaClassContent(int indentLevel, List<String> parentFolders)
    • getFileListingContent

      public StringBuilder getFileListingContent()
      This is just a list of all the files, which is put into the resources folder to be pickd up in other modules (if desired) to create a single super assets class
    • getFileListingContent

      public StringBuilder getFileListingContent(AssetsFolder.ContextProvider contextProvider)
      This is just a list of all the files, which is put into the resources folder to be pickd up in other modules (if desired) to create a single super assets class
    • addAsset

      public void addAsset(AssetsFolder.AssetItem asset)
    • addAssetFromFullRelativePath

      public void addAssetFromFullRelativePath(String fullRelativePath, String context)
    • addSubfolder

      public void addSubfolder(String subfolder, AssetsFolder assetsFolder)
    • addAll

      public void addAll(AssetsFolder assetsFolder)
    • addAssetsFromFlatFile

      public void addAssetsFromFlatFile(List<String> lines)