public class IdentityResourcesProvider extends Object implements FilteredResourcesProvider
Constructor and Description |
---|
IdentityResourcesProvider(com.google.common.collect.ImmutableList<SourcePath> resDirectories) |
Modifier and Type | Method and Description |
---|---|
Optional<SourcePath> |
getOverrideSymbolsPath() |
com.google.common.collect.ImmutableList<SourcePath> |
getResDirectories() |
Optional<BuildRule> |
getResourceFilterRule() |
com.google.common.collect.ImmutableList<Path> |
getStringFiles() |
boolean |
hasResources() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRelativeResDirectories
public IdentityResourcesProvider(com.google.common.collect.ImmutableList<SourcePath> resDirectories)
public com.google.common.collect.ImmutableList<SourcePath> getResDirectories()
getResDirectories
in interface FilteredResourcesProvider
public com.google.common.collect.ImmutableList<Path> getStringFiles()
getStringFiles
in interface FilteredResourcesProvider
strings.xml
files excluding whitelisted strings. Empty unless
ResourceCompressionMode.isStoreStringsAsAssets
is true.public Optional<BuildRule> getResourceFilterRule()
getResourceFilterRule
in interface FilteredResourcesProvider
public Optional<SourcePath> getOverrideSymbolsPath()
getOverrideSymbolsPath
in interface FilteredResourcesProvider
public boolean hasResources()
hasResources
in interface FilteredResourcesProvider