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