public class VBAMacroExtractor extends Object
| Constructor and Description |
|---|
VBAMacroExtractor() |
| Modifier and Type | Method and Description |
|---|---|
void |
extract(File input,
File outputDir)
Extracts the VBA modules from a macro-enabled office file and writes them
to .vba files in outputDir.
|
void |
extract(File input,
File outputDir,
String extension)
Extracts the VBA modules from a macro-enabled office file and writes them
to files in outputDir.
|
static void |
main(String[] args) |
public static void main(String[] args) throws IOException
IOExceptionpublic void extract(File input, File outputDir, String extension) throws IOException
input - the macro-enabled office file.outputDir - the directory to write the extracted VBA modules to.extension - file extension of the extracted VBA modulesIOExceptionpublic void extract(File input, File outputDir) throws IOException
input - the macro-enabled office file.outputDir - the directory to write the extracted VBA modules to.IOExceptionCopyright 2018 The Apache Software Foundation or its licensors, as applicable.