// Path: app/src/main/java/ca/rmen/android/scrumchatter/util/Log.java
// @SuppressWarnings("unused")
// public class Log {
//     public static void v(String tag, String message) {
//         if (BuildConfig.DEBUG) android.util.Log.v(tag, message);
//     }
// 
//     public static void v(String tag, String message, Throwable t) {
//         if (BuildConfig.DEBUG) android.util.Log.v(tag, message, t);
//     }
// 
//     public static void d(String tag, String message) {
//         if (BuildConfig.DEBUG) android.util.Log.d(tag, message);
//     }
// 
//     public static void d(String tag, String message, Throwable t) {
//         if (BuildConfig.DEBUG) android.util.Log.d(tag, message, t);
//     }
// 
//     public static void i(String tag, String message) {
//         android.util.Log.i(tag, message);
//     }
// 
//     public static void i(String tag, String message, Throwable t) {
//         android.util.Log.i(tag, message, t);
//     }
// 
//     public static void w(String tag, String message) {
//         android.util.Log.w(tag, message);
//     }
// 
//     public static void w(String tag, String message, Throwable t) {
//         android.util.Log.w(tag, message, t);
//     }
// 
//     public static void e(String tag, String message) {
//         android.util.Log.e(tag, message);
//     }
// 
//     public static void e(String tag, String message, Throwable t) {
//         android.util.Log.e(tag, message, t);
//     }
// 
//     public static void wtf(String tag, String message) {
//         android.util.Log.wtf(tag, message);
//     }
// 
//     public static void wtf(String tag, String message, Throwable t) {
//         android.util.Log.wtf(tag, message, t);
//     }
// }
// 
// Path: app/src/main/java/ca/rmen/android/scrumchatter/Constants.java
// public class Constants {
//     public static final String TAG = "ScrumChatter";
//     public static final String PREF_TEAM_ID = "team_id";
//     public static final int DEFAULT_TEAM_ID = 1;
//     public static final String DEFAULT_TEAM_NAME = "Team A";
// }


import ca.rmen.android.scrumchatter.util.Log;
import ca.rmen.android.scrumchatter.Constants;
import java.io.File;
import android.content.Context;
/*
 * Copyright 2013-2017 Carmen Alvarez
 *
 * This file is part of Scrum Chatter.
 *
 * Scrum Chatter is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Scrum Chatter is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Scrum Chatter. If not, see <http://www.gnu.org/licenses/>.
 */
package ca.rmen.android.scrumchatter.export;




/**
 * Base class for sharing a file using an intent chooser. The base classes must provide a mime-type (used to determine which apps can share the file) and must
 * override {@link #createFile()} to provide a file to share.
 */
public abstract class FileExport {
    private static final String TAG = Constants.TAG + "/" + FileExport.class.getSimpleName();
    final Context mContext;
    private final String mMimeType;

    /**
     * @param mimeType will be used to show a list of applications which can share the file created by {@link #createFile()}.
     */
    FileExport(Context context, String mimeType) {
// Path: app/src/main/java/ca/rmen/android/scrumchatter/util/Log.java
// @SuppressWarnings("unused")
// public class Log {
//     public static void v(String tag, String message) {
//         if (BuildConfig.DEBUG) android.util.Log.v(tag, message);
//     }
// 
//     public static void v(String tag, String message, Throwable t) {
//         if (BuildConfig.DEBUG) android.util.Log.v(tag, message, t);
//     }
// 
//     public static void d(String tag, String message) {
//         if (BuildConfig.DEBUG) android.util.Log.d(tag, message);
//     }
// 
//     public static void d(String tag, String message, Throwable t) {
//         if (BuildConfig.DEBUG) android.util.Log.d(tag, message, t);
//     }
// 
//     public static void i(String tag, String message) {
//         android.util.Log.i(tag, message);
//     }
// 
//     public static void i(String tag, String message, Throwable t) {
//         android.util.Log.i(tag, message, t);
//     }
// 
//     public static void w(String tag, String message) {
//         android.util.Log.w(tag, message);
//     }
// 
//     public static void w(String tag, String message, Throwable t) {
//         android.util.Log.w(tag, message, t);
//     }
// 
//     public static void e(String tag, String message) {
//         android.util.Log.e(tag, message);
//     }
// 
//     public static void e(String tag, String message, Throwable t) {
//         android.util.Log.e(tag, message, t);
//     }
// 
//     public static void wtf(String tag, String message) {
//         android.util.Log.wtf(tag, message);
//     }
// 
//     public static void wtf(String tag, String message, Throwable t) {
//         android.util.Log.wtf(tag, message, t);
//     }
// }
// 
// Path: app/src/main/java/ca/rmen/android/scrumchatter/Constants.java
// public class Constants {
//     public static final String TAG = "ScrumChatter";
//     public static final String PREF_TEAM_ID = "team_id";
//     public static final int DEFAULT_TEAM_ID = 1;
//     public static final String DEFAULT_TEAM_NAME = "Team A";
// }


// Path: app/src/main/java/ca/rmen/android/scrumchatter/export/FileExport.java
import ca.rmen.android.scrumchatter.util.Log;
import ca.rmen.android.scrumchatter.Constants;
import java.io.File;
import android.content.Context;

/*
 * Copyright 2013-2017 Carmen Alvarez
 *
 * This file is part of Scrum Chatter.
 *
 * Scrum Chatter is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Scrum Chatter is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Scrum Chatter. If not, see <http://www.gnu.org/licenses/>.
 */
package ca.rmen.android.scrumchatter.export;




/**
 * Base class for sharing a file using an intent chooser. The base classes must provide a mime-type (used to determine which apps can share the file) and must
 * override {@link #createFile()} to provide a file to share.
 */
public abstract class FileExport {
    private static final String TAG = Constants.TAG + "/" + FileExport.class.getSimpleName();
    final Context mContext;
    private final String mMimeType;

    /**
     * @param mimeType will be used to show a list of applications which can share the file created by {@link #createFile()}.
     */
    FileExport(Context context, String mimeType) {
        Log.v(TAG, "Constructor: mimeType=" + mimeType);