Move opml package
This commit is contained in:
parent
d1bbe8a181
commit
fee2acb5ab
|
@ -15,7 +15,7 @@ import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import de.danoeh.antennapod.R;
|
import de.danoeh.antennapod.R;
|
||||||
import de.danoeh.antennapod.core.opml.OpmlElement;
|
import de.danoeh.antennapod.core.export.opml.OpmlElement;
|
||||||
import de.danoeh.antennapod.core.preferences.UserPreferences;
|
import de.danoeh.antennapod.core.preferences.UserPreferences;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -23,10 +23,8 @@ import de.danoeh.antennapod.core.preferences.UserPreferences;
|
||||||
* which feeds he wants to import.
|
* which feeds he wants to import.
|
||||||
*/
|
*/
|
||||||
public class OpmlFeedChooserActivity extends AppCompatActivity {
|
public class OpmlFeedChooserActivity extends AppCompatActivity {
|
||||||
private static final String TAG = "OpmlFeedChooserActivity";
|
|
||||||
|
|
||||||
public static final String EXTRA_SELECTED_ITEMS = "de.danoeh.antennapod.selectedItems";
|
public static final String EXTRA_SELECTED_ITEMS = "de.danoeh.antennapod.selectedItems";
|
||||||
|
private static final String TAG = "OpmlFeedChooserActivity";
|
||||||
private Button butConfirm;
|
private Button butConfirm;
|
||||||
private Button butCancel;
|
private Button butCancel;
|
||||||
private ListView feedlist;
|
private ListView feedlist;
|
||||||
|
|
|
@ -20,7 +20,7 @@ import java.util.ArrayList;
|
||||||
import de.danoeh.antennapod.R;
|
import de.danoeh.antennapod.R;
|
||||||
import de.danoeh.antennapod.asynctask.OpmlFeedQueuer;
|
import de.danoeh.antennapod.asynctask.OpmlFeedQueuer;
|
||||||
import de.danoeh.antennapod.asynctask.OpmlImportWorker;
|
import de.danoeh.antennapod.asynctask.OpmlImportWorker;
|
||||||
import de.danoeh.antennapod.core.opml.OpmlElement;
|
import de.danoeh.antennapod.core.export.opml.OpmlElement;
|
||||||
import de.danoeh.antennapod.core.util.LangUtils;
|
import de.danoeh.antennapod.core.util.LangUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -29,9 +29,8 @@ import de.danoeh.antennapod.core.util.LangUtils;
|
||||||
public class OpmlImportBaseActivity extends AppCompatActivity {
|
public class OpmlImportBaseActivity extends AppCompatActivity {
|
||||||
|
|
||||||
private static final String TAG = "OpmlImportBaseActivity";
|
private static final String TAG = "OpmlImportBaseActivity";
|
||||||
private OpmlImportWorker importWorker;
|
|
||||||
|
|
||||||
private static final int PERMISSION_REQUEST_READ_EXTERNAL_STORAGE = 5;
|
private static final int PERMISSION_REQUEST_READ_EXTERNAL_STORAGE = 5;
|
||||||
|
private OpmlImportWorker importWorker;
|
||||||
@Nullable private Uri uri;
|
@Nullable private Uri uri;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package de.danoeh.antennapod.activity;
|
package de.danoeh.antennapod.activity;
|
||||||
|
|
||||||
import de.danoeh.antennapod.core.opml.OpmlElement;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
|
import de.danoeh.antennapod.core.export.opml.OpmlElement;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Hold infos gathered by Ompl-Import
|
* Hold infos gathered by Ompl-Import
|
||||||
* <p/>
|
* <p/>
|
||||||
|
|
|
@ -7,7 +7,7 @@ import java.io.FileOutputStream;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.OutputStreamWriter;
|
import java.io.OutputStreamWriter;
|
||||||
|
|
||||||
import de.danoeh.antennapod.core.opml.OpmlWriter;
|
import de.danoeh.antennapod.core.export.opml.OpmlWriter;
|
||||||
import de.danoeh.antennapod.core.preferences.UserPreferences;
|
import de.danoeh.antennapod.core.preferences.UserPreferences;
|
||||||
import de.danoeh.antennapod.core.storage.DBReader;
|
import de.danoeh.antennapod.core.storage.DBReader;
|
||||||
import de.danoeh.antennapod.core.util.LangUtils;
|
import de.danoeh.antennapod.core.util.LangUtils;
|
||||||
|
|
|
@ -9,8 +9,8 @@ import java.util.Arrays;
|
||||||
|
|
||||||
import de.danoeh.antennapod.activity.OpmlImportHolder;
|
import de.danoeh.antennapod.activity.OpmlImportHolder;
|
||||||
import de.danoeh.antennapod.core.R;
|
import de.danoeh.antennapod.core.R;
|
||||||
|
import de.danoeh.antennapod.core.export.opml.OpmlElement;
|
||||||
import de.danoeh.antennapod.core.feed.Feed;
|
import de.danoeh.antennapod.core.feed.Feed;
|
||||||
import de.danoeh.antennapod.core.opml.OpmlElement;
|
|
||||||
import de.danoeh.antennapod.core.storage.DownloadRequestException;
|
import de.danoeh.antennapod.core.storage.DownloadRequestException;
|
||||||
import de.danoeh.antennapod.core.storage.DownloadRequester;
|
import de.danoeh.antennapod.core.storage.DownloadRequester;
|
||||||
|
|
||||||
|
|
|
@ -14,8 +14,8 @@ import java.io.Reader;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
import de.danoeh.antennapod.core.R;
|
import de.danoeh.antennapod.core.R;
|
||||||
import de.danoeh.antennapod.core.opml.OpmlElement;
|
import de.danoeh.antennapod.core.export.opml.OpmlElement;
|
||||||
import de.danoeh.antennapod.core.opml.OpmlReader;
|
import de.danoeh.antennapod.core.export.opml.OpmlReader;
|
||||||
|
|
||||||
public class OpmlImportWorker extends
|
public class OpmlImportWorker extends
|
||||||
AsyncTask<Void, Void, ArrayList<OpmlElement>> {
|
AsyncTask<Void, Void, ArrayList<OpmlElement>> {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package de.danoeh.antennapod.core.opml;
|
package de.danoeh.antennapod.core.export.opml;
|
||||||
|
|
||||||
/** Represents a single feed in an OPML file. */
|
/** Represents a single feed in an OPML file. */
|
||||||
public class OpmlElement {
|
public class OpmlElement {
|
|
@ -1,4 +1,4 @@
|
||||||
package de.danoeh.antennapod.core.opml;
|
package de.danoeh.antennapod.core.export.opml;
|
||||||
|
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package de.danoeh.antennapod.core.opml;
|
package de.danoeh.antennapod.core.export.opml;
|
||||||
|
|
||||||
/** Contains symbols for reading and writing OPML documents. */
|
/** Contains symbols for reading and writing OPML documents. */
|
||||||
public final class OpmlSymbols {
|
public final class OpmlSymbols {
|
|
@ -1,4 +1,4 @@
|
||||||
package de.danoeh.antennapod.core.opml;
|
package de.danoeh.antennapod.core.export.opml;
|
||||||
|
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import android.util.Xml;
|
import android.util.Xml;
|
Loading…
Reference in New Issue