23242526272829
return fileExtensions.matcher(assetFile.getName()).matches(); } @Override public Asset createAsset(File assetFile, AssetLocation assetLocation) throws AssetFileInstantationException { return new FileAsset(assetFile, assetLocation); }
20212223242526
return assetFile.getName().endsWith(".css"); } @Override public Asset createAsset(File assetFile, AssetLocation assetLocation) throws AssetFileInstantationException { return new FileAsset(assetFile, assetLocation); }