Package jadx.api.plugins.resources
Interface IResContainerFactory
public interface IResContainerFactory
Factory for
ResContainer. Can be used in plugins via
context.getResourcesLoader().addResContainerFactory() to implement content parsing in
files with
different formats.-
Method Summary
Modifier and TypeMethodDescription@Nullable ResContainercreate(ResourceFile resFile, InputStream inputStream) Checks if resource file is of expected format and tries to parse its content.default voidOptional init method
-
Method Details
-
init
Optional init method -
create
@Nullable @Nullable ResContainer create(ResourceFile resFile, InputStream inputStream) throws IOException Checks if resource file is of expected format and tries to parse its content.- Returns:
ResContainerif file is of expected format,nullotherwise.- Throws:
IOException
-