Browse Source

Rename adapters packages to fix dumb lint

pull/559/head
TacoTheDank 4 years ago
parent
commit
05c4bc1b44
  1. 44
      app/src/main/java/org/transdroid/daemon/Daemon.java
  2. 2
      app/src/main/java/org/transdroid/daemon/adapters/aria2c/Aria2Adapter.java
  3. 2
      app/src/main/java/org/transdroid/daemon/adapters/bitComet/BitCometAdapter.java
  4. 2
      app/src/main/java/org/transdroid/daemon/adapters/bitflu/BitfluAdapter.java
  5. 2
      app/src/main/java/org/transdroid/daemon/adapters/buffaloNas/BuffaloNasAdapter.java
  6. 2
      app/src/main/java/org/transdroid/daemon/adapters/dLinkRouterBT/DLinkRouterBTAdapter.java
  7. 110
      app/src/main/java/org/transdroid/daemon/adapters/deluge/DelugeAdapter.java
  8. 2
      app/src/main/java/org/transdroid/daemon/adapters/deluge/DelugeCommon.java
  9. 2
      app/src/main/java/org/transdroid/daemon/adapters/deluge/DelugeRemoteRssChannel.java
  10. 2
      app/src/main/java/org/transdroid/daemon/adapters/deluge/DelugeRemoteRssItem.java
  11. 122
      app/src/main/java/org/transdroid/daemon/adapters/deluge/DelugeRpcAdapter.java
  12. 6
      app/src/main/java/org/transdroid/daemon/adapters/deluge/DelugeRpcClient.java
  13. 2
      app/src/main/java/org/transdroid/daemon/adapters/kTorrent/FileListParser.java
  14. 6
      app/src/main/java/org/transdroid/daemon/adapters/kTorrent/KTorrentAdapter.java
  15. 2
      app/src/main/java/org/transdroid/daemon/adapters/kTorrent/LoggedOutException.java
  16. 2
      app/src/main/java/org/transdroid/daemon/adapters/kTorrent/StatsParser.java
  17. 6
      app/src/main/java/org/transdroid/daemon/adapters/qBittorrent/QBittorrentAdapter.java
  18. 6
      app/src/main/java/org/transdroid/daemon/adapters/rTorrent/RTorrentAdapter.java
  19. 2
      app/src/main/java/org/transdroid/daemon/adapters/synology/SynologyAdapter.java
  20. 6
      app/src/main/java/org/transdroid/daemon/adapters/tTorrent/TTorrentAdapter.java
  21. 2
      app/src/main/java/org/transdroid/daemon/adapters/tfb4rt/StatsParser.java
  22. 2
      app/src/main/java/org/transdroid/daemon/adapters/tfb4rt/Tfb4rtAdapter.java
  23. 2
      app/src/main/java/org/transdroid/daemon/adapters/transmission/TransmissionAdapter.java
  24. 8
      app/src/main/java/org/transdroid/daemon/adapters/uTorrent/UTorrentAdapter.java
  25. 2
      app/src/main/java/org/transdroid/daemon/adapters/uTorrent/data/UTorrentRemoteRssChannel.java
  26. 2
      app/src/main/java/org/transdroid/daemon/adapters/uTorrent/data/UTorrentRemoteRssItem.java
  27. 2
      app/src/main/java/org/transdroid/daemon/adapters/vuze/VuzeAdapter.java
  28. 2
      app/src/main/java/org/transdroid/daemon/adapters/vuze/VuzeXmlOverHttpClient.java

44
app/src/main/java/org/transdroid/daemon/Daemon.java

@ -17,22 +17,22 @@
*/ */
package org.transdroid.daemon; package org.transdroid.daemon;
import org.transdroid.daemon.adapters.Aria2c.Aria2Adapter; import org.transdroid.daemon.adapters.aria2c.Aria2Adapter;
import org.transdroid.daemon.adapters.BitComet.BitCometAdapter; import org.transdroid.daemon.adapters.bitComet.BitCometAdapter;
import org.transdroid.daemon.adapters.Bitflu.BitfluAdapter; import org.transdroid.daemon.adapters.bitflu.BitfluAdapter;
import org.transdroid.daemon.adapters.BuffaloNas.BuffaloNasAdapter; import org.transdroid.daemon.adapters.buffaloNas.BuffaloNasAdapter;
import org.transdroid.daemon.adapters.DLinkRouterBT.DLinkRouterBTAdapter; import org.transdroid.daemon.adapters.dLinkRouterBT.DLinkRouterBTAdapter;
import org.transdroid.daemon.adapters.Deluge.DelugeAdapter; import org.transdroid.daemon.adapters.deluge.DelugeAdapter;
import org.transdroid.daemon.adapters.Deluge.DelugeRpcAdapter; import org.transdroid.daemon.adapters.deluge.DelugeRpcAdapter;
import org.transdroid.daemon.adapters.Ktorrent.KtorrentAdapter; import org.transdroid.daemon.adapters.kTorrent.KTorrentAdapter;
import org.transdroid.daemon.adapters.Qbittorrent.QbittorrentAdapter; import org.transdroid.daemon.adapters.qBittorrent.QBittorrentAdapter;
import org.transdroid.daemon.adapters.Rtorrent.RtorrentAdapter; import org.transdroid.daemon.adapters.rTorrent.RTorrentAdapter;
import org.transdroid.daemon.adapters.Synology.SynologyAdapter; import org.transdroid.daemon.adapters.synology.SynologyAdapter;
import org.transdroid.daemon.adapters.Tfb4rt.Tfb4rtAdapter; import org.transdroid.daemon.adapters.tfb4rt.Tfb4rtAdapter;
import org.transdroid.daemon.adapters.Transmission.TransmissionAdapter; import org.transdroid.daemon.adapters.transmission.TransmissionAdapter;
import org.transdroid.daemon.adapters.Ttorrent.TtorrentAdapter; import org.transdroid.daemon.adapters.tTorrent.TTorrentAdapter;
import org.transdroid.daemon.adapters.Utorrent.UtorrentAdapter; import org.transdroid.daemon.adapters.uTorrent.UTorrentAdapter;
import org.transdroid.daemon.adapters.Vuze.VuzeAdapter; import org.transdroid.daemon.adapters.vuze.VuzeAdapter;
/** /**
* Factory for new instances of server daemons, based on user settings. * Factory for new instances of server daemons, based on user settings.
@ -53,7 +53,7 @@ public enum Daemon {
}, },
BitTorrent { BitTorrent {
public IDaemonAdapter createAdapter(DaemonSettings settings) { public IDaemonAdapter createAdapter(DaemonSettings settings) {
return new UtorrentAdapter(settings); return new UTorrentAdapter(settings);
} }
}, },
BuffaloNas { BuffaloNas {
@ -88,17 +88,17 @@ public enum Daemon {
}, },
KTorrent { KTorrent {
public IDaemonAdapter createAdapter(DaemonSettings settings) { public IDaemonAdapter createAdapter(DaemonSettings settings) {
return new KtorrentAdapter(settings); return new KTorrentAdapter(settings);
} }
}, },
qBittorrent { qBittorrent {
public IDaemonAdapter createAdapter(DaemonSettings settings) { public IDaemonAdapter createAdapter(DaemonSettings settings) {
return new QbittorrentAdapter(settings); return new QBittorrentAdapter(settings);
} }
}, },
rTorrent { rTorrent {
public IDaemonAdapter createAdapter(DaemonSettings settings) { public IDaemonAdapter createAdapter(DaemonSettings settings) {
return new RtorrentAdapter(settings); return new RTorrentAdapter(settings);
} }
}, },
Tfb4rt { Tfb4rt {
@ -108,7 +108,7 @@ public enum Daemon {
}, },
tTorrent { tTorrent {
public IDaemonAdapter createAdapter(DaemonSettings settings) { public IDaemonAdapter createAdapter(DaemonSettings settings) {
return new TtorrentAdapter(settings); return new TTorrentAdapter(settings);
} }
}, },
Synology { Synology {
@ -123,7 +123,7 @@ public enum Daemon {
}, },
uTorrent { uTorrent {
public IDaemonAdapter createAdapter(DaemonSettings settings) { public IDaemonAdapter createAdapter(DaemonSettings settings) {
return new UtorrentAdapter(settings); return new UTorrentAdapter(settings);
} }
}, },
Vuze { Vuze {

2
app/src/main/java/org/transdroid/daemon/adapters/Aria2c/Aria2Adapter.java → app/src/main/java/org/transdroid/daemon/adapters/aria2c/Aria2Adapter.java

@ -15,7 +15,7 @@
* along with Transdroid. If not, see <http://www.gnu.org/licenses/>. * along with Transdroid. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
package org.transdroid.daemon.adapters.Aria2c; package org.transdroid.daemon.adapters.aria2c;
import android.net.Uri; import android.net.Uri;
import android.text.TextUtils; import android.text.TextUtils;

2
app/src/main/java/org/transdroid/daemon/adapters/BitComet/BitCometAdapter.java → app/src/main/java/org/transdroid/daemon/adapters/bitComet/BitCometAdapter.java

@ -15,7 +15,7 @@
* along with Transdroid. If not, see <http://www.gnu.org/licenses/>. * along with Transdroid. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
package org.transdroid.daemon.adapters.BitComet; package org.transdroid.daemon.adapters.bitComet;
import com.android.internal.http.multipart.MultipartEntity; import com.android.internal.http.multipart.MultipartEntity;
import com.android.internal.http.multipart.Part; import com.android.internal.http.multipart.Part;

2
app/src/main/java/org/transdroid/daemon/adapters/Bitflu/BitfluAdapter.java → app/src/main/java/org/transdroid/daemon/adapters/bitflu/BitfluAdapter.java

@ -15,7 +15,7 @@
* along with Transdroid. If not, see <http://www.gnu.org/licenses/>. * along with Transdroid. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
package org.transdroid.daemon.adapters.Bitflu; package org.transdroid.daemon.adapters.bitflu;
import org.apache.http.HttpResponse; import org.apache.http.HttpResponse;
import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpGet;

2
app/src/main/java/org/transdroid/daemon/adapters/BuffaloNas/BuffaloNasAdapter.java → app/src/main/java/org/transdroid/daemon/adapters/buffaloNas/BuffaloNasAdapter.java

@ -15,7 +15,7 @@
* along with Transdroid. If not, see <http://www.gnu.org/licenses/>. * along with Transdroid. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
package org.transdroid.daemon.adapters.BuffaloNas; package org.transdroid.daemon.adapters.buffaloNas;
import com.android.internal.http.multipart.FilePart; import com.android.internal.http.multipart.FilePart;
import com.android.internal.http.multipart.MultipartEntity; import com.android.internal.http.multipart.MultipartEntity;

2
app/src/main/java/org/transdroid/daemon/adapters/DLinkRouterBT/DLinkRouterBTAdapter.java → app/src/main/java/org/transdroid/daemon/adapters/dLinkRouterBT/DLinkRouterBTAdapter.java

@ -15,7 +15,7 @@
* along with Transdroid. If not, see <http://www.gnu.org/licenses/>. * along with Transdroid. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
package org.transdroid.daemon.adapters.DLinkRouterBT; package org.transdroid.daemon.adapters.dLinkRouterBT;
import com.android.internal.http.multipart.FilePart; import com.android.internal.http.multipart.FilePart;
import com.android.internal.http.multipart.MultipartEntity; import com.android.internal.http.multipart.MultipartEntity;

110
app/src/main/java/org/transdroid/daemon/adapters/Deluge/DelugeAdapter.java → app/src/main/java/org/transdroid/daemon/adapters/deluge/DelugeAdapter.java

@ -15,7 +15,7 @@
* along with Transdroid. If not, see <http://www.gnu.org/licenses/>. * along with Transdroid. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
package org.transdroid.daemon.adapters.Deluge; package org.transdroid.daemon.adapters.deluge;
import com.android.internal.http.multipart.FilePart; import com.android.internal.http.multipart.FilePart;
import com.android.internal.http.multipart.MultipartEntity; import com.android.internal.http.multipart.MultipartEntity;
@ -76,60 +76,60 @@ import java.util.ArrayList;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_DETAILS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_DETAILS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_DETAILS_FIELDS_ARRAY; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_DETAILS_FIELDS_ARRAY;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_DOWNLOADEDEVER; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_DOWNLOADEDEVER;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_ETA; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_ETA;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_FIELDS_ARRAY; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_FIELDS_ARRAY;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_FILE; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_FILE;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_FILEPRIORITIES; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_FILEPRIORITIES;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_FILEPROGRESS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_FILEPROGRESS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_FILE_FIELDS_ARRAY; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_FILE_FIELDS_ARRAY;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_INDEX; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_INDEX;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_LABEL; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_LABEL;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_MAXDOWNLOAD; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_MAXDOWNLOAD;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_MAXUPLOAD; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_MAXUPLOAD;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_MESSAGE; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_MESSAGE;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_ADD; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_ADD;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_ADD_MAGNET; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_ADD_MAGNET;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_AUTH_LOGIN; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_AUTH_LOGIN;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_FORCERECHECK; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_FORCERECHECK;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_GET; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_GET;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_MOVESTORAGE; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_MOVESTORAGE;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_PAUSE; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_PAUSE;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_PAUSE_ALL; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_PAUSE_ALL;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_REMOVE; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_REMOVE;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_RESUME; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_RESUME;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_RESUME_ALL; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_RESUME_ALL;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_SETCONFIG; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_SETCONFIG;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_SETFILE; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_SETFILE;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_SETLABEL; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_SETLABEL;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_SETTRACKERS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_SETTRACKERS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_STATUS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_STATUS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_NAME; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_NAME;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_NUMPEERS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_NUMPEERS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_NUMSEEDS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_NUMSEEDS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_PARAMS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_PARAMS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_PARTDONE; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_PARTDONE;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_PATH; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_PATH;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_RATEDOWNLOAD; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_RATEDOWNLOAD;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_RATEUPLOAD; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_RATEUPLOAD;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_RESULT; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_RESULT;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_SAVEPATH; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_SAVEPATH;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_SESSION_ID; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_SESSION_ID;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_SIZE; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_SIZE;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_STATUS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_STATUS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_TIER; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_TIER;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_TIMEADDED; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_TIMEADDED;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_TORRENTS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_TORRENTS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_TOTALPEERS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_TOTALPEERS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_TOTALSEEDS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_TOTALSEEDS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_TOTALSIZE; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_TOTALSIZE;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_TRACKERS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_TRACKERS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_TRACKER_STATUS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_TRACKER_STATUS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_UPLOADEDEVER; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_UPLOADEDEVER;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_URL; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_URL;
/** /**

2
app/src/main/java/org/transdroid/daemon/adapters/Deluge/DelugeCommon.java → app/src/main/java/org/transdroid/daemon/adapters/deluge/DelugeCommon.java

@ -15,7 +15,7 @@
* along with Transdroid. If not, see <http://www.gnu.org/licenses/>. * along with Transdroid. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
package org.transdroid.daemon.adapters.Deluge; package org.transdroid.daemon.adapters.deluge;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;

2
app/src/main/java/org/transdroid/daemon/adapters/Deluge/DelugeRemoteRssChannel.java → app/src/main/java/org/transdroid/daemon/adapters/deluge/DelugeRemoteRssChannel.java

@ -1,4 +1,4 @@
package org.transdroid.daemon.adapters.Deluge; package org.transdroid.daemon.adapters.deluge;
import android.os.Parcel; import android.os.Parcel;
import android.os.Parcelable; import android.os.Parcelable;

2
app/src/main/java/org/transdroid/daemon/adapters/Deluge/DelugeRemoteRssItem.java → app/src/main/java/org/transdroid/daemon/adapters/deluge/DelugeRemoteRssItem.java

@ -1,4 +1,4 @@
package org.transdroid.daemon.adapters.Deluge; package org.transdroid.daemon.adapters.deluge;
import android.os.Parcel; import android.os.Parcel;
import android.os.Parcelable; import android.os.Parcelable;

122
app/src/main/java/org/transdroid/daemon/adapters/Deluge/DelugeRpcAdapter.java → app/src/main/java/org/transdroid/daemon/adapters/deluge/DelugeRpcAdapter.java

@ -15,7 +15,7 @@
* along with Transdroid. If not, see <http://www.gnu.org/licenses/>. * along with Transdroid. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
package org.transdroid.daemon.adapters.Deluge; package org.transdroid.daemon.adapters.deluge;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;
@ -80,66 +80,66 @@ import java.util.Set;
import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.ParserConfigurationException;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_DETAILS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_DETAILS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_DETAILS_FIELDS_ARRAY; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_DETAILS_FIELDS_ARRAY;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_DOWNLOADEDEVER; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_DOWNLOADEDEVER;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_DOWNLOAD_LOCATION; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_DOWNLOAD_LOCATION;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_ETA; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_ETA;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_FIELDS_ARRAY; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_FIELDS_ARRAY;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_FILEPRIORITIES; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_FILEPRIORITIES;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_FILEPROGRESS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_FILEPROGRESS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_FILE_FIELDS_ARRAY; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_FILE_FIELDS_ARRAY;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_HASH; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_HASH;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_INDEX; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_INDEX;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_KEY; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_KEY;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_LABEL; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_LABEL;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_MAXDOWNLOAD; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_MAXDOWNLOAD;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_MAXUPLOAD; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_MAXUPLOAD;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_MESSAGE; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_MESSAGE;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_ADD; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_ADD;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_ADD_FILE; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_ADD_FILE;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_ADD_MAGNET; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_ADD_MAGNET;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_FORCERECHECK; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_FORCERECHECK;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_GET_LABELS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_GET_LABELS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_GET_METHOD_LIST; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_GET_METHOD_LIST;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_GET_RSS_CONFIG; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_GET_RSS_CONFIG;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_GET_TORRENTS_STATUS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_GET_TORRENTS_STATUS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_INFO; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_INFO;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_MOVESTORAGE; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_MOVESTORAGE;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_PAUSE; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_PAUSE;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_PAUSE_ALL; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_PAUSE_ALL;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_REMOVE; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_REMOVE;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_RESUME; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_RESUME;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_RESUME_ALL; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_RESUME_ALL;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_SETCONFIG; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_SETCONFIG;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_SETLABEL; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_SETLABEL;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_SETTRACKERS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_SETTRACKERS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_SET_TORRENT_OPTIONS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_SET_TORRENT_OPTIONS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_STATUS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_STATUS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_MOVE_COMPLETED; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_MOVE_COMPLETED;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_MOVE_COMPLETED_PATH; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_MOVE_COMPLETED_PATH;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_NAME; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_NAME;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_NUMPEERS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_NUMPEERS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_NUMSEEDS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_NUMSEEDS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_PARTDONE; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_PARTDONE;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_PATH; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_PATH;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_RATEDOWNLOAD; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_RATEDOWNLOAD;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_RATEUPLOAD; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_RATEUPLOAD;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_RSSFEEDS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_RSSFEEDS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_RSSFEED_KEY; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_RSSFEED_KEY;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_SAVEPATH; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_SAVEPATH;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_SIZE; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_SIZE;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_STATUS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_STATUS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_SUBSCRIPTIONS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_SUBSCRIPTIONS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_TIER; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_TIER;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_TIMEADDED; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_TIMEADDED;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_TOTALPEERS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_TOTALPEERS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_TOTALSEEDS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_TOTALSEEDS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_TOTALSIZE; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_TOTALSIZE;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_TRACKERS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_TRACKERS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_TRACKER_STATUS; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_TRACKER_STATUS;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_UPLOADEDEVER; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_UPLOADEDEVER;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_URL; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_URL;
/** /**
* The daemon adapter from the Deluge torrent client using deluged API directly. * The daemon adapter from the Deluge torrent client using deluged API directly.

6
app/src/main/java/org/transdroid/daemon/adapters/Deluge/DelugeRpcClient.java → app/src/main/java/org/transdroid/daemon/adapters/deluge/DelugeRpcClient.java

@ -15,7 +15,7 @@
* along with Transdroid. If not, see <http://www.gnu.org/licenses/>. * along with Transdroid. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
package org.transdroid.daemon.adapters.Deluge; package org.transdroid.daemon.adapters.deluge;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;
@ -39,8 +39,8 @@ import java.util.zip.InflaterInputStream;
import se.dimovski.rencode.Rencode; import se.dimovski.rencode.Rencode;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_DAEMON_LOGIN; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_DAEMON_LOGIN;
import static org.transdroid.daemon.adapters.Deluge.DelugeCommon.RPC_METHOD_INFO; import static org.transdroid.daemon.adapters.deluge.DelugeCommon.RPC_METHOD_INFO;
/** /**
* A Deluge RPC API Client. * A Deluge RPC API Client.

2
app/src/main/java/org/transdroid/daemon/adapters/Ktorrent/FileListParser.java → app/src/main/java/org/transdroid/daemon/adapters/kTorrent/FileListParser.java

@ -1,4 +1,4 @@
package org.transdroid.daemon.adapters.Ktorrent; package org.transdroid.daemon.adapters.kTorrent;
import org.transdroid.daemon.DaemonException; import org.transdroid.daemon.DaemonException;
import org.transdroid.daemon.DaemonException.ExceptionType; import org.transdroid.daemon.DaemonException.ExceptionType;

6
app/src/main/java/org/transdroid/daemon/adapters/Ktorrent/KtorrentAdapter.java → app/src/main/java/org/transdroid/daemon/adapters/kTorrent/KTorrentAdapter.java

@ -15,7 +15,7 @@
* along with Transdroid. If not, see <http://www.gnu.org/licenses/>. * along with Transdroid. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
package org.transdroid.daemon.adapters.Ktorrent; package org.transdroid.daemon.adapters.kTorrent;
import com.android.internal.http.multipart.FilePart; import com.android.internal.http.multipart.FilePart;
import com.android.internal.http.multipart.MultipartEntity; import com.android.internal.http.multipart.MultipartEntity;
@ -71,7 +71,7 @@ import java.util.List;
* *
* @author erickok * @author erickok
*/ */
public class KtorrentAdapter implements IDaemonAdapter { public class KTorrentAdapter implements IDaemonAdapter {
private static final String LOG_NAME = "Ktorrent daemon"; private static final String LOG_NAME = "Ktorrent daemon";
@ -93,7 +93,7 @@ public class KtorrentAdapter implements IDaemonAdapter {
/** /**
* Initialises an adapter that provides operations to the Ktorrent web interface * Initialises an adapter that provides operations to the Ktorrent web interface
*/ */
public KtorrentAdapter(DaemonSettings settings) { public KTorrentAdapter(DaemonSettings settings) {
this.settings = settings; this.settings = settings;
} }

2
app/src/main/java/org/transdroid/daemon/adapters/Ktorrent/LoggedOutException.java → app/src/main/java/org/transdroid/daemon/adapters/kTorrent/LoggedOutException.java

@ -1,4 +1,4 @@
package org.transdroid.daemon.adapters.Ktorrent; package org.transdroid.daemon.adapters.kTorrent;
public class LoggedOutException extends Exception { public class LoggedOutException extends Exception {

2
app/src/main/java/org/transdroid/daemon/adapters/Ktorrent/StatsParser.java → app/src/main/java/org/transdroid/daemon/adapters/kTorrent/StatsParser.java

@ -1,4 +1,4 @@
package org.transdroid.daemon.adapters.Ktorrent; package org.transdroid.daemon.adapters.kTorrent;
import org.transdroid.daemon.Daemon; import org.transdroid.daemon.Daemon;
import org.transdroid.daemon.DaemonException; import org.transdroid.daemon.DaemonException;

6
app/src/main/java/org/transdroid/daemon/adapters/Qbittorrent/QbittorrentAdapter.java → app/src/main/java/org/transdroid/daemon/adapters/qBittorrent/QBittorrentAdapter.java

@ -15,7 +15,7 @@
* along with Transdroid. If not, see <http://www.gnu.org/licenses/>. * along with Transdroid. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
package org.transdroid.daemon.adapters.Qbittorrent; package org.transdroid.daemon.adapters.qBittorrent;
import com.android.internal.http.multipart.FilePart; import com.android.internal.http.multipart.FilePart;
import com.android.internal.http.multipart.MultipartEntity; import com.android.internal.http.multipart.MultipartEntity;
@ -83,7 +83,7 @@ import java.util.Map;
* *
* @author erickok * @author erickok
*/ */
public class QbittorrentAdapter implements IDaemonAdapter { public class QBittorrentAdapter implements IDaemonAdapter {
private static final String LOG_NAME = "qBittorrent daemon"; private static final String LOG_NAME = "qBittorrent daemon";
@ -91,7 +91,7 @@ public class QbittorrentAdapter implements IDaemonAdapter {
private DefaultHttpClient httpclient; private DefaultHttpClient httpclient;
private int version = -1; private int version = -1;
public QbittorrentAdapter(DaemonSettings settings) { public QBittorrentAdapter(DaemonSettings settings) {
this.settings = settings; this.settings = settings;
} }

6
app/src/main/java/org/transdroid/daemon/adapters/Rtorrent/RtorrentAdapter.java → app/src/main/java/org/transdroid/daemon/adapters/rTorrent/RTorrentAdapter.java

@ -15,7 +15,7 @@
* along with Transdroid. If not, see <http://www.gnu.org/licenses/>. * along with Transdroid. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
package org.transdroid.daemon.adapters.Rtorrent; package org.transdroid.daemon.adapters.rTorrent;
import android.text.TextUtils; import android.text.TextUtils;
@ -76,7 +76,7 @@ import de.timroes.axmlrpc.XMLRPCException;
* *
* @author erickok * @author erickok
*/ */
public class RtorrentAdapter implements IDaemonAdapter { public class RTorrentAdapter implements IDaemonAdapter {
private static final String LOG_NAME = "rTorrent daemon"; private static final String LOG_NAME = "rTorrent daemon";
@ -89,7 +89,7 @@ public class RtorrentAdapter implements IDaemonAdapter {
private List<Label> lastKnownLabels = null; private List<Label> lastKnownLabels = null;
private Integer version = null; private Integer version = null;
public RtorrentAdapter(DaemonSettings settings) { public RTorrentAdapter(DaemonSettings settings) {
this.settings = settings; this.settings = settings;
} }

2
app/src/main/java/org/transdroid/daemon/adapters/Synology/SynologyAdapter.java → app/src/main/java/org/transdroid/daemon/adapters/synology/SynologyAdapter.java

@ -15,7 +15,7 @@
* along with Transdroid. If not, see <http://www.gnu.org/licenses/>. * along with Transdroid. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
package org.transdroid.daemon.adapters.Synology; package org.transdroid.daemon.adapters.synology;
import com.android.internal.http.multipart.FilePart; import com.android.internal.http.multipart.FilePart;
import com.android.internal.http.multipart.MultipartEntity; import com.android.internal.http.multipart.MultipartEntity;

6
app/src/main/java/org/transdroid/daemon/adapters/Ttorrent/TtorrentAdapter.java → app/src/main/java/org/transdroid/daemon/adapters/tTorrent/TTorrentAdapter.java

@ -15,7 +15,7 @@
* along with Transdroid. If not, see <http://www.gnu.org/licenses/>. * along with Transdroid. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
package org.transdroid.daemon.adapters.Ttorrent; package org.transdroid.daemon.adapters.tTorrent;
import com.android.internal.http.multipart.FilePart; import com.android.internal.http.multipart.FilePart;
import com.android.internal.http.multipart.MultipartEntity; import com.android.internal.http.multipart.MultipartEntity;
@ -73,14 +73,14 @@ import java.util.List;
* *
* @author erickok * @author erickok
*/ */
public class TtorrentAdapter implements IDaemonAdapter { public class TTorrentAdapter implements IDaemonAdapter {
private static final String LOG_NAME = "tTorrent daemon"; private static final String LOG_NAME = "tTorrent daemon";
private DaemonSettings settings; private DaemonSettings settings;
private DefaultHttpClient httpclient; private DefaultHttpClient httpclient;
public TtorrentAdapter(DaemonSettings settings) { public TTorrentAdapter(DaemonSettings settings) {
this.settings = settings; this.settings = settings;
} }

2
app/src/main/java/org/transdroid/daemon/adapters/Tfb4rt/StatsParser.java → app/src/main/java/org/transdroid/daemon/adapters/tfb4rt/StatsParser.java

@ -1,4 +1,4 @@
package org.transdroid.daemon.adapters.Tfb4rt; package org.transdroid.daemon.adapters.tfb4rt;
import org.transdroid.daemon.Daemon; import org.transdroid.daemon.Daemon;
import org.transdroid.daemon.DaemonException; import org.transdroid.daemon.DaemonException;

2
app/src/main/java/org/transdroid/daemon/adapters/Tfb4rt/Tfb4rtAdapter.java → app/src/main/java/org/transdroid/daemon/adapters/tfb4rt/Tfb4rtAdapter.java

@ -15,7 +15,7 @@
* along with Transdroid. If not, see <http://www.gnu.org/licenses/>. * along with Transdroid. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
package org.transdroid.daemon.adapters.Tfb4rt; package org.transdroid.daemon.adapters.tfb4rt;
import com.android.internal.http.multipart.FilePart; import com.android.internal.http.multipart.FilePart;
import com.android.internal.http.multipart.MultipartEntity; import com.android.internal.http.multipart.MultipartEntity;

2
app/src/main/java/org/transdroid/daemon/adapters/Transmission/TransmissionAdapter.java → app/src/main/java/org/transdroid/daemon/adapters/transmission/TransmissionAdapter.java

@ -15,7 +15,7 @@
* along with Transdroid. If not, see <http://www.gnu.org/licenses/>. * along with Transdroid. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
package org.transdroid.daemon.adapters.Transmission; package org.transdroid.daemon.adapters.transmission;
import net.iharder.Base64; import net.iharder.Base64;
import net.iharder.Base64.InputStream; import net.iharder.Base64.InputStream;

8
app/src/main/java/org/transdroid/daemon/adapters/Utorrent/UtorrentAdapter.java → app/src/main/java/org/transdroid/daemon/adapters/uTorrent/UTorrentAdapter.java

@ -15,7 +15,7 @@
* along with Transdroid. If not, see <http://www.gnu.org/licenses/>. * along with Transdroid. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
package org.transdroid.daemon.adapters.Utorrent; package org.transdroid.daemon.adapters.uTorrent;
import com.android.internal.http.multipart.FilePart; import com.android.internal.http.multipart.FilePart;
import com.android.internal.http.multipart.MultipartEntity; import com.android.internal.http.multipart.MultipartEntity;
@ -43,7 +43,7 @@ import org.transdroid.daemon.Torrent;
import org.transdroid.daemon.TorrentDetails; import org.transdroid.daemon.TorrentDetails;
import org.transdroid.daemon.TorrentFile; import org.transdroid.daemon.TorrentFile;
import org.transdroid.daemon.TorrentStatus; import org.transdroid.daemon.TorrentStatus;
import org.transdroid.daemon.adapters.Utorrent.data.UTorrentRemoteRssChannel; import org.transdroid.daemon.adapters.uTorrent.data.UTorrentRemoteRssChannel;
import org.transdroid.daemon.task.AddByFileTask; import org.transdroid.daemon.task.AddByFileTask;
import org.transdroid.daemon.task.AddByMagnetUrlTask; import org.transdroid.daemon.task.AddByMagnetUrlTask;
import org.transdroid.daemon.task.AddByUrlTask; import org.transdroid.daemon.task.AddByUrlTask;
@ -84,7 +84,7 @@ import java.util.List;
* *
* @author erickok * @author erickok
*/ */
public class UtorrentAdapter implements IDaemonAdapter, RemoteRssSupplier { public class UTorrentAdapter implements IDaemonAdapter, RemoteRssSupplier {
private static final String LOG_NAME = "uTorrent daemon"; private static final String LOG_NAME = "uTorrent daemon";
private static final String RPC_URL_HASH = "&hash="; private static final String RPC_URL_HASH = "&hash=";
@ -125,7 +125,7 @@ public class UtorrentAdapter implements IDaemonAdapter, RemoteRssSupplier {
/** /**
* Initialises an adapter that provides operations to the uTorrent web daemon * Initialises an adapter that provides operations to the uTorrent web daemon
*/ */
public UtorrentAdapter(DaemonSettings settings) { public UTorrentAdapter(DaemonSettings settings) {
this.settings = settings; this.settings = settings;
} }

2
app/src/main/java/org/transdroid/daemon/adapters/Utorrent/data/UTorrentRemoteRssChannel.java → app/src/main/java/org/transdroid/daemon/adapters/uTorrent/data/UTorrentRemoteRssChannel.java

@ -1,4 +1,4 @@
package org.transdroid.daemon.adapters.Utorrent.data; package org.transdroid.daemon.adapters.uTorrent.data;
import android.os.Parcel; import android.os.Parcel;
import android.os.Parcelable; import android.os.Parcelable;

2
app/src/main/java/org/transdroid/daemon/adapters/Utorrent/data/UTorrentRemoteRssItem.java → app/src/main/java/org/transdroid/daemon/adapters/uTorrent/data/UTorrentRemoteRssItem.java

@ -1,4 +1,4 @@
package org.transdroid.daemon.adapters.Utorrent.data; package org.transdroid.daemon.adapters.uTorrent.data;
import android.os.Parcel; import android.os.Parcel;
import android.os.Parcelable; import android.os.Parcelable;

2
app/src/main/java/org/transdroid/daemon/adapters/Vuze/VuzeAdapter.java → app/src/main/java/org/transdroid/daemon/adapters/vuze/VuzeAdapter.java

@ -15,7 +15,7 @@
* along with Transdroid. If not, see <http://www.gnu.org/licenses/>. * along with Transdroid. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
package org.transdroid.daemon.adapters.Vuze; package org.transdroid.daemon.adapters.vuze;
import org.apache.openjpa.lib.util.Base16Encoder; import org.apache.openjpa.lib.util.Base16Encoder;
import org.transdroid.core.gui.log.Log; import org.transdroid.core.gui.log.Log;

2
app/src/main/java/org/transdroid/daemon/adapters/Vuze/VuzeXmlOverHttpClient.java → app/src/main/java/org/transdroid/daemon/adapters/vuze/VuzeXmlOverHttpClient.java

@ -15,7 +15,7 @@
* along with Transdroid. If not, see <http://www.gnu.org/licenses/>. * along with Transdroid. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
package org.transdroid.daemon.adapters.Vuze; package org.transdroid.daemon.adapters.vuze;
import android.util.Xml; import android.util.Xml;
Loading…
Cancel
Save