proguard.shrink
Class Shrinker

java.lang.Object
  extended by proguard.shrink.Shrinker

public class Shrinker
extends java.lang.Object

This class shrinks class pools according to a given configuration.


Constructor Summary
Shrinker(Configuration configuration)
          Creates a new Shrinker.
 
Method Summary
 ClassPool execute(ClassPool programClassPool, ClassPool libraryClassPool)
          Performs shrinking of the given program class pool.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Shrinker

public Shrinker(Configuration configuration)
Creates a new Shrinker.

Method Detail

execute

public ClassPool execute(ClassPool programClassPool,
                         ClassPool libraryClassPool)
                  throws java.io.IOException
Performs shrinking of the given program class pool.

Throws:
java.io.IOException