org.formulacompiler.decompiler
Interface ByteCodeEngineSource


public interface ByteCodeEngineSource

Exposes the reverse-engineered source code of a compiled bytecode engine.

This interface is an API only. Do not implement it yourself.

Author:
peo

Method Summary
 java.util.Map<java.lang.String,java.lang.String> getSortedClasses()
          Returns a map with class names and class sources, sorted by class name.
 void saveTo(java.io.File _targetFolder)
          Saves the decompiled engine's source to a target folder into which a proper java package/source structure is written.
 

Method Detail

getSortedClasses

java.util.Map<java.lang.String,java.lang.String> getSortedClasses()
Returns a map with class names and class sources, sorted by class name.


saveTo

void saveTo(java.io.File _targetFolder)
            throws java.io.IOException
Saves the decompiled engine's source to a target folder into which a proper java package/source structure is written.

Parameters:
_targetFolder - is the folder to save to. Created if it does not exist yet.
Throws:
java.io.IOException