public class AaptProcess
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AaptProcess.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
crunch(java.io.File in,
java.io.File out,
com.android.builder.tasks.Job<AaptProcess> job)
Notifies the slave process of a new crunching request, do not block on completion, the
notification will be issued through the job parameter's
Job.finished() or
Job.error(Exception) ()}
functions. |
void |
shutdown()
Shutdowns the slave process and release all resources.
|
java.lang.String |
toString() |
void |
waitForReady() |
public void crunch(@NonNull
java.io.File in,
@NonNull
java.io.File out,
@NonNull
com.android.builder.tasks.Job<AaptProcess> job)
throws java.io.IOException
Job.finished() or
Job.error(Exception) ()}
functions.in - the source file to crunchout - where to place the crunched filejob - the job to notify when the crunching is finished successfully or not.java.io.IOExceptionpublic void waitForReady()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void shutdown()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedException