package jadx.api;

import jadx.core.codegen.CodeWriter;
import jadx.core.xmlgen.ResContainer;

public class ResourceFileContent extends ResourceFile {
	private final CodeWriter content;

	public ResourceFileContent(String name, ResourceType type, CodeWriter content) {
		super(null, name, type);
		this.content = content;
	}

	@Override
	public ResContainer loadContent() {
		return ResContainer.textResource(getName(), content);
	}
}
