Package jadx.core.export
Class TemplateFile
- java.lang.Object
-
- jadx.core.export.TemplateFile
-
public class TemplateFile extends java.lang.ObjectSimple template engine Syntax for replace variable with value: '{{variable}}'
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(java.lang.String name, @Nullable java.lang.Object value)java.lang.Stringbuild()static TemplateFilefromResources(java.lang.String path)voidsave(java.io.File outFile)
-
-
-
Method Detail
-
fromResources
public static TemplateFile fromResources(java.lang.String path) throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
-
add
public void add(java.lang.String name, @Nullable @Nullable java.lang.Object value)
-
build
public java.lang.String build() throws java.io.IOException- Throws:
java.io.IOException
-
save
public void save(java.io.File outFile) throws java.io.IOException- Throws:
java.io.IOException
-
-