# Class: com.pnfsoftware.jeb.core.units.code.asm.decompiler.NativeDecompilerExporter

Helper class used to decompile and export to source files all or a subset of classes or methods of a native code unit. 

 Example: export all top\-level items to an output folder:  

```

 INativeDecompilerUnit decomp = ...; // retrieved from the current IRuntimeProject
 File outdir = ...;
 DecompilerExporter exp = decomp.getExporter();
 exp.setOutputFolder(outdir, false);
 exp.setMethodTimeout(60_000L);  // safety
 exp.setTotalTimeout(15 * 60_000L);  // safety
 exp.setCallback(new ProgressCallbackAdapter() {
     @Override
     public void message(String msg) {
         System.out.println(msg);
     }
 });
 boolean success = exp.process();
 System.out.println("Errors: " + exp.getErrors());
 
```

## Constructor: NativeDecompilerExporter
- parameter: `decompiler`, type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.INativeDecompilerUnit<?>`


## Protected Method: generateClassFileName
- parameter: `address`, type: `java.lang.String`
- return type: `java.lang.String`


## Protected Method: generateMethodFileName
- parameter: `address`, type: `java.lang.String`
- return type: `java.lang.String`


## Method: process
- return type: `boolean`


