Improved files header

This commit is contained in:
Pierre 2017-11-02 11:46:00 +01:00
parent 24aa80f63e
commit 890344abc3
8 changed files with 26 additions and 1 deletions

View File

@ -12,6 +12,9 @@ import java.util.Objects;
/** /**
* Comunic account class * Comunic account class
* *
* This class stores the account tokens
*
* @author Pierre HUBERT
* Created by pierre on 10/29/17. * Created by pierre on 10/29/17.
*/ */

View File

@ -17,6 +17,12 @@ import java.util.ArrayList;
import org.communiquons.android.comunic.client.api.*; import org.communiquons.android.comunic.client.api.*;
/**
* Login activity of the application
*
* @author Pierre HUBERT
*/
public class LoginActivity extends AppCompatActivity { public class LoginActivity extends AppCompatActivity {
/** /**

View File

@ -11,6 +11,12 @@ import android.widget.Toast;
import org.communiquons.android.comunic.client.api.APIRequestTask; import org.communiquons.android.comunic.client.api.APIRequestTask;
/**
* Main activity of the application
*
* @author Pierre HUBERT
*/
public class MainActivity extends AppCompatActivity { public class MainActivity extends AppCompatActivity {
/** /**

View File

@ -11,6 +11,7 @@ import java.io.FileOutputStream;
/** /**
* Application utilities * Application utilities
* *
* @author Pierre HUBERT
* Created by pierre on 10/29/17. * Created by pierre on 10/29/17.
*/ */

View File

@ -5,6 +5,7 @@ import java.net.URLEncoder;
/** /**
* This class stores on parameter for a POST request * This class stores on parameter for a POST request
* *
* @author Pierre HUBERT
* Created by pierre on 10/31/17. * Created by pierre on 10/31/17.
*/ */

View File

@ -5,8 +5,9 @@ import org.communiquons.android.comunic.client.api.APIPostData;
import java.util.ArrayList; import java.util.ArrayList;
/** /**
* This class handles the setup of the parametres required to setup an API request * This class handles the setup of the parameters required to setup an API request
* *
* @author Pierre HUBERT
* Created by pierre on 10/31/17. * Created by pierre on 10/31/17.
*/ */

View File

@ -22,6 +22,12 @@ import java.net.URL;
/** /**
* Perform an API request on the server * Perform an API request on the server
* *
* API requests are made on a separate Thread using AsyncTask.
*
* The method requesting an API request has to implement the onPostExecute method in order to be
* able to have a personalized data process
*
* @author Pierre HUBERT
* Created by pierre on 10/31/17. * Created by pierre on 10/31/17.
*/ */
public abstract class APIRequestTask extends AsyncTask<APIRequestParameters, Void, APIResponse> { public abstract class APIRequestTask extends AsyncTask<APIRequestParameters, Void, APIResponse> {

View File

@ -6,6 +6,7 @@ import org.json.JSONObject;
/** /**
* Store and serve the response of an API request * Store and serve the response of an API request
* *
* @author Pierre HUBERT
* Created by pierre on 10/31/17. * Created by pierre on 10/31/17.
*/ */