Android Open Source - ShellAndroid Abs Releaser






From Project

Back to project page ShellAndroid.

License

The source code is released under:

Apache License

If you think the Android project ShellAndroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package z.hol.shellandroid;
//w  w  w. j  a  v  a 2s .c  o  m
import android.content.Context;

import java.io.File;
import java.io.IOException;

/**
 * cflag releaser
 * Created by holmes on 11/21/14.
 */
public abstract class AbsReleaser {

    private Context mContext;

    /**
     * use #getContext method to get context
     * @param context
     */
    public AbsReleaser(Context context){
        mContext = context;
    }

    public Context getContext(){
        return mContext;
    }

    /**
     * release cflag
     * @return The released cflag file
     * @throws IOException
     */
    public abstract File release() throws IOException;

    /**
     * Get extracted cflag file name
     * @return
     */
    public abstract String getCFlagName();
}




Java Source Code List

z.hol.shellandroid.AbsReleaser.java
z.hol.shellandroid.CFlagRelease.java
z.hol.shellandroid.Chmod.java
z.hol.shellandroid.Cpu.java
z.hol.shellandroid.DefaultChmod.java
z.hol.shellandroid.LollipopReleaser.java
z.hol.shellandroid.NormalReleaser.java
z.hol.shellandroid.ShellAndroid.java
z.hol.shellandroid.ShellChmod.java
z.hol.shellandroid.Shell.java
z.hol.shellandroid.example.MainActivity.java
z.hol.shellandroid.exception.ShellExecuteException.java
z.hol.shellandroid.utils.AssetUtils.java
z.hol.shellandroid.utils.ShellUtils.java