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
 Map<String,String> getSortedClasses()
          Returns a map with class names and class sources, sorted by class name.
 void saveTo(File _targetFolder)
          Saves the decompiled engine's source to a target folder into which a proper java package/source structure is written.
 void saveTo(String _targetPath)
          Like saveTo(File), but takes a string path instead of a file.
 

Method Detail

getSortedClasses

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


saveTo

void saveTo(File _targetFolder)
            throws 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:
IOException

saveTo

void saveTo(String _targetPath)
            throws IOException
Like saveTo(File), but takes a string path instead of a file.

Throws:
IOException