com.android.builder.png
Class QueuedCruncher
java.lang.Object
com.android.builder.png.QueuedCruncher
- All Implemented Interfaces:
- com.android.ide.common.internal.PngCruncher
public class QueuedCruncher
- extends java.lang.Object
- implements com.android.ide.common.internal.PngCruncher
implementation of PngCruncher
that queues request and
use a pool or aapt server processes to serve those.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
crunchPng
public void crunchPng(@NonNull
java.io.File from,
@NonNull
java.io.File to)
throws java.lang.InterruptedException,
com.android.ide.common.internal.LoggedErrorException,
java.io.IOException
- Specified by:
crunchPng
in interface com.android.ide.common.internal.PngCruncher
- Throws:
java.lang.InterruptedException
com.android.ide.common.internal.LoggedErrorException
java.io.IOException
waitForAll
public void waitForAll()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
end
public void end()
throws java.lang.InterruptedException
- Specified by:
end
in interface com.android.ide.common.internal.PngCruncher
- Throws:
java.lang.InterruptedException