OC-1867: Remove package eu.alefzero.webdav

This commit is contained in:
masensio 2013-11-06 18:01:31 +01:00
parent 112b44188e
commit 2be23eaec5
32 changed files with 54 additions and 53 deletions

View file

@ -57,6 +57,7 @@ import com.owncloud.android.MainApp;
import com.owncloud.android.R;
import com.owncloud.android.authentication.SsoWebViewClient.SsoWebViewClientListener;
import com.owncloud.android.network.OwnCloudClientUtils;
import com.owncloud.android.network.webdav.WebdavClient;
import com.owncloud.android.operations.ExistenceCheckOperation;
import com.owncloud.android.operations.OAuth2GetAccessToken;
import com.owncloud.android.operations.OnRemoteOperationListener;
@ -69,7 +70,6 @@ import com.owncloud.android.ui.dialog.SslValidatorDialog;
import com.owncloud.android.ui.dialog.SslValidatorDialog.OnSslValidatorListener;
import com.owncloud.android.utils.OwnCloudVersion;
import eu.alefzero.webdav.WebdavClient;
/**
* This Activity is used to add an ownCloud account to the App

View file

@ -31,9 +31,10 @@ import java.util.concurrent.ConcurrentMap;
import com.owncloud.android.authentication.AuthenticatorActivity;
import com.owncloud.android.datamodel.FileDataStorageManager;
import com.owncloud.android.datamodel.OCFile;
import eu.alefzero.webdav.OnDatatransferProgressListener;
import com.owncloud.android.network.OwnCloudClientUtils;
import com.owncloud.android.network.webdav.OnDatatransferProgressListener;
import com.owncloud.android.network.webdav.WebdavClient;
import com.owncloud.android.operations.DownloadFileOperation;
import com.owncloud.android.operations.RemoteOperationResult;
import com.owncloud.android.operations.RemoteOperationResult.ResultCode;
@ -61,7 +62,6 @@ import android.widget.RemoteViews;
import com.owncloud.android.Log_OC;
import com.owncloud.android.MainApp;
import com.owncloud.android.R;
import eu.alefzero.webdav.WebdavClient;
public class FileDownloader extends Service implements OnDatatransferProgressListener {

View file

@ -46,11 +46,12 @@ import com.owncloud.android.operations.UploadFileOperation;
import com.owncloud.android.operations.RemoteOperationResult.ResultCode;
import com.owncloud.android.utils.OwnCloudVersion;
import eu.alefzero.webdav.OnDatatransferProgressListener;
import eu.alefzero.webdav.WebdavEntry;
import eu.alefzero.webdav.WebdavUtils;
import com.owncloud.android.network.OwnCloudClientUtils;
import com.owncloud.android.network.webdav.OnDatatransferProgressListener;
import com.owncloud.android.network.webdav.WebdavClient;
import com.owncloud.android.network.webdav.WebdavEntry;
import com.owncloud.android.network.webdav.WebdavUtils;
import android.accounts.Account;
import android.accounts.AccountManager;
@ -81,7 +82,6 @@ import com.owncloud.android.ui.activity.InstantUploadActivity;
import com.owncloud.android.ui.preview.PreviewImageActivity;
import com.owncloud.android.ui.preview.PreviewImageFragment;
import eu.alefzero.webdav.WebdavClient;
public class FileUploader extends Service implements OnDatatransferProgressListener {

View file

@ -39,10 +39,10 @@ import org.apache.http.conn.ssl.X509HostnameVerifier;
import com.owncloud.android.authentication.AccountAuthenticator;
import com.owncloud.android.authentication.AccountUtils;
import com.owncloud.android.authentication.AccountUtils.AccountNotFoundException;
import com.owncloud.android.network.webdav.WebdavClient;
import com.owncloud.android.Log_OC;
import com.owncloud.android.MainApp;
import eu.alefzero.webdav.WebdavClient;
import android.accounts.Account;
import android.accounts.AccountManager;

View file

@ -19,7 +19,8 @@ package com.owncloud.android.network;
import java.util.Collection;
import eu.alefzero.webdav.OnDatatransferProgressListener;
import com.owncloud.android.network.webdav.OnDatatransferProgressListener;
public interface ProgressiveDataTransferer {

View file

@ -15,7 +15,7 @@
*
*/
package eu.alefzero.webdav;
package com.owncloud.android.network.webdav;
import java.io.File;
import java.io.IOException;
@ -32,7 +32,6 @@ import org.apache.commons.httpclient.methods.RequestEntity;
import com.owncloud.android.Log_OC;
import com.owncloud.android.network.ProgressiveDataTransferer;
import eu.alefzero.webdav.OnDatatransferProgressListener;
/**

View file

@ -16,7 +16,7 @@
*
*/
package eu.alefzero.webdav;
package com.owncloud.android.network.webdav;
import java.io.File;
import java.io.IOException;
@ -34,7 +34,6 @@ import org.apache.commons.httpclient.methods.RequestEntity;
import com.owncloud.android.Log_OC;
import com.owncloud.android.network.ProgressiveDataTransferer;
import eu.alefzero.webdav.OnDatatransferProgressListener;
/**

View file

@ -16,7 +16,7 @@
*
*/
package eu.alefzero.webdav;
package com.owncloud.android.network.webdav;
public interface OnDatatransferProgressListener {
public void onTransferProgress(long progressRate);

View file

@ -16,7 +16,7 @@
*
*/
package eu.alefzero.webdav;
package com.owncloud.android.network.webdav;
import java.io.IOException;
import java.io.InputStream;
@ -47,6 +47,7 @@ import com.owncloud.android.MainApp;
import com.owncloud.android.network.BearerAuthScheme;
import com.owncloud.android.network.BearerCredentials;
import android.net.Uri;
public class WebdavClient extends HttpClient {

View file

@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package eu.alefzero.webdav;
package com.owncloud.android.network.webdav;
import java.util.Date;
@ -25,6 +25,7 @@ import org.apache.jackrabbit.webdav.property.DavPropertySet;
import com.owncloud.android.Log_OC;
import android.net.Uri;
public class WebdavEntry {

View file

@ -16,7 +16,7 @@
*
*/
package eu.alefzero.webdav;
package com.owncloud.android.network.webdav;
import java.text.ParseException;
import java.text.SimpleDateFormat;

View file

@ -30,12 +30,12 @@ import org.apache.commons.httpclient.methods.PutMethod;
import com.owncloud.android.Log_OC;
import com.owncloud.android.datamodel.OCFile;
import com.owncloud.android.network.ProgressiveDataTransferer;
import com.owncloud.android.network.webdav.ChunkFromFileChannelRequestEntity;
import com.owncloud.android.network.webdav.WebdavClient;
import com.owncloud.android.network.webdav.WebdavUtils;
import android.accounts.Account;
import eu.alefzero.webdav.ChunkFromFileChannelRequestEntity;
import eu.alefzero.webdav.WebdavClient;
import eu.alefzero.webdav.WebdavUtils;
public class ChunkedUploadFileOperation extends UploadFileOperation {

View file

@ -20,10 +20,10 @@ package com.owncloud.android.operations;
import com.owncloud.android.Log_OC;
import com.owncloud.android.datamodel.FileDataStorageManager;
import com.owncloud.android.datamodel.OCFile;
import com.owncloud.android.network.webdav.WebdavClient;
import com.owncloud.android.operations.remote.CreateRemoteFolderOperation;
import com.owncloud.android.utils.FileStorageUtils;
import eu.alefzero.webdav.WebdavClient;
/**
* Access to remote operation performing the creation of a new folder in the ownCloud server.

View file

@ -34,13 +34,13 @@ import org.apache.http.HttpStatus;
import com.owncloud.android.Log_OC;
import com.owncloud.android.datamodel.OCFile;
import com.owncloud.android.network.webdav.OnDatatransferProgressListener;
import com.owncloud.android.network.webdav.WebdavClient;
import com.owncloud.android.network.webdav.WebdavUtils;
import com.owncloud.android.operations.RemoteOperation;
import com.owncloud.android.operations.RemoteOperationResult;
import com.owncloud.android.utils.FileStorageUtils;
import eu.alefzero.webdav.OnDatatransferProgressListener;
import eu.alefzero.webdav.WebdavClient;
import eu.alefzero.webdav.WebdavUtils;
import android.accounts.Account;
import android.webkit.MimeTypeMap;

View file

@ -21,9 +21,9 @@ import org.apache.commons.httpclient.HttpStatus;
import org.apache.commons.httpclient.methods.HeadMethod;
import com.owncloud.android.Log_OC;
import com.owncloud.android.network.webdav.WebdavClient;
import com.owncloud.android.network.webdav.WebdavUtils;
import eu.alefzero.webdav.WebdavClient;
import eu.alefzero.webdav.WebdavUtils;
import android.content.Context;
import android.net.ConnectivityManager;

View file

@ -10,9 +10,9 @@ import org.json.JSONObject;
import com.owncloud.android.Log_OC;
import com.owncloud.android.authentication.OAuth2Constants;
import com.owncloud.android.network.webdav.WebdavClient;
import com.owncloud.android.operations.RemoteOperationResult.ResultCode;
import eu.alefzero.webdav.WebdavClient;
public class OAuth2GetAccessToken extends RemoteOperation {

View file

@ -24,9 +24,9 @@ import org.json.JSONObject;
import com.owncloud.android.Log_OC;
import com.owncloud.android.authentication.AccountUtils;
import com.owncloud.android.network.webdav.WebdavClient;
import com.owncloud.android.utils.OwnCloudVersion;
import eu.alefzero.webdav.WebdavClient;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.Uri;

View file

@ -24,6 +24,7 @@ import com.owncloud.android.Log_OC;
import com.owncloud.android.MainApp;
import com.owncloud.android.network.BearerCredentials;
import com.owncloud.android.network.OwnCloudClientUtils;
import com.owncloud.android.network.webdav.WebdavClient;
import com.owncloud.android.operations.RemoteOperationResult.ResultCode;
import android.accounts.Account;
@ -33,7 +34,6 @@ import android.app.Activity;
import android.content.Context;
import android.os.Handler;
import eu.alefzero.webdav.WebdavClient;
/**
* Operation which execution involves one or several interactions with an ownCloud server.

View file

@ -23,9 +23,9 @@ import org.apache.jackrabbit.webdav.client.methods.DeleteMethod;
import com.owncloud.android.Log_OC;
import com.owncloud.android.datamodel.FileDataStorageManager;
import com.owncloud.android.datamodel.OCFile;
import com.owncloud.android.network.webdav.WebdavClient;
import com.owncloud.android.network.webdav.WebdavUtils;
import eu.alefzero.webdav.WebdavClient;
import eu.alefzero.webdav.WebdavUtils;
/**
* Remote operation performing the removal of a remote file or folder in the ownCloud server.

View file

@ -28,11 +28,11 @@ import android.accounts.Account;
import com.owncloud.android.Log_OC;
import com.owncloud.android.datamodel.FileDataStorageManager;
import com.owncloud.android.datamodel.OCFile;
import com.owncloud.android.network.webdav.WebdavClient;
import com.owncloud.android.network.webdav.WebdavUtils;
import com.owncloud.android.operations.RemoteOperationResult.ResultCode;
import com.owncloud.android.utils.FileStorageUtils;
import eu.alefzero.webdav.WebdavClient;
import eu.alefzero.webdav.WebdavUtils;
/**
* Remote operation performing the rename of a remote file (or folder?) in the ownCloud server.

View file

@ -32,11 +32,11 @@ import com.owncloud.android.datamodel.FileDataStorageManager;
import com.owncloud.android.datamodel.OCFile;
import com.owncloud.android.files.services.FileDownloader;
import com.owncloud.android.files.services.FileUploader;
import com.owncloud.android.network.webdav.WebdavClient;
import com.owncloud.android.network.webdav.WebdavEntry;
import com.owncloud.android.network.webdav.WebdavUtils;
import com.owncloud.android.operations.RemoteOperationResult.ResultCode;
import eu.alefzero.webdav.WebdavClient;
import eu.alefzero.webdav.WebdavEntry;
import eu.alefzero.webdav.WebdavUtils;
public class SynchronizeFileOperation extends RemoteOperation {

View file

@ -40,13 +40,13 @@ import android.content.Intent;
import com.owncloud.android.Log_OC;
import com.owncloud.android.datamodel.FileDataStorageManager;
import com.owncloud.android.datamodel.OCFile;
import com.owncloud.android.network.webdav.WebdavClient;
import com.owncloud.android.network.webdav.WebdavEntry;
import com.owncloud.android.network.webdav.WebdavUtils;
import com.owncloud.android.operations.RemoteOperationResult.ResultCode;
import com.owncloud.android.syncadapter.FileSyncService;
import com.owncloud.android.utils.FileStorageUtils;
import eu.alefzero.webdav.WebdavClient;
import eu.alefzero.webdav.WebdavEntry;
import eu.alefzero.webdav.WebdavUtils;
/**

View file

@ -29,10 +29,10 @@ import android.content.Context;
import com.owncloud.android.authentication.AccountAuthenticator;
import com.owncloud.android.authentication.AccountUtils;
import com.owncloud.android.Log_OC;
import com.owncloud.android.network.webdav.WebdavClient;
import com.owncloud.android.operations.RemoteOperationResult.ResultCode;
import com.owncloud.android.utils.OwnCloudVersion;
import eu.alefzero.webdav.WebdavClient;
/**
* Remote operation that checks the version of an ownCloud server and stores it locally

View file

@ -38,15 +38,15 @@ import android.accounts.Account;
import com.owncloud.android.datamodel.OCFile;
import com.owncloud.android.files.services.FileUploader;
import com.owncloud.android.network.ProgressiveDataTransferer;
import com.owncloud.android.network.webdav.FileRequestEntity;
import com.owncloud.android.network.webdav.OnDatatransferProgressListener;
import com.owncloud.android.network.webdav.WebdavClient;
import com.owncloud.android.network.webdav.WebdavUtils;
import com.owncloud.android.operations.RemoteOperation;
import com.owncloud.android.operations.RemoteOperationResult;
import com.owncloud.android.operations.RemoteOperationResult.ResultCode;
import com.owncloud.android.utils.FileStorageUtils;
import eu.alefzero.webdav.FileRequestEntity;
import eu.alefzero.webdav.OnDatatransferProgressListener;
import eu.alefzero.webdav.WebdavClient;
import eu.alefzero.webdav.WebdavUtils;
/**
* Remote operation performing the upload of a file to an ownCloud server

View file

@ -4,12 +4,12 @@ import org.apache.commons.httpclient.HttpStatus;
import org.apache.jackrabbit.webdav.client.methods.MkColMethod;
import com.owncloud.android.Log_OC;
import com.owncloud.android.network.webdav.WebdavClient;
import com.owncloud.android.network.webdav.WebdavUtils;
import com.owncloud.android.operations.RemoteOperation;
import com.owncloud.android.operations.RemoteOperationResult;
import com.owncloud.android.utils.FileStorageUtils;
import eu.alefzero.webdav.WebdavClient;
import eu.alefzero.webdav.WebdavUtils;
/**
* Remote operation performing the creation of a new folder in the ownCloud server.

View file

@ -28,6 +28,7 @@ import com.owncloud.android.authentication.AccountUtils;
import com.owncloud.android.authentication.AccountUtils.AccountNotFoundException;
import com.owncloud.android.datamodel.FileDataStorageManager;
import com.owncloud.android.network.OwnCloudClientUtils;
import com.owncloud.android.network.webdav.WebdavClient;
import android.accounts.Account;
import android.accounts.AccountManager;
@ -36,7 +37,6 @@ import android.accounts.OperationCanceledException;
import android.content.AbstractThreadedSyncAdapter;
import android.content.ContentProviderClient;
import android.content.Context;
import eu.alefzero.webdav.WebdavClient;
/**
* Base synchronization adapter for ownCloud designed to be subclassed for different

View file

@ -34,8 +34,8 @@ import com.owncloud.android.MainApp;
import com.owncloud.android.R;
import com.owncloud.android.authentication.AccountUtils;
import com.owncloud.android.datamodel.OCFile;
import com.owncloud.android.network.webdav.WebdavUtils;
import eu.alefzero.webdav.WebdavUtils;
/**
* Activity with common behaviour for activities handling {@link OCFile}s in ownCloud {@link Account}s .

View file

@ -39,8 +39,8 @@ import com.owncloud.android.Log_OC;
import com.owncloud.android.R;
import com.owncloud.android.authentication.SsoWebViewClient;
import com.owncloud.android.authentication.SsoWebViewClient.SsoWebViewClientListener;
import com.owncloud.android.network.webdav.WebdavClient;
import eu.alefzero.webdav.WebdavClient;
/**
* Dialog to show the WebView for SAML Authentication

View file

@ -52,6 +52,7 @@ import com.owncloud.android.files.services.FileDownloader.FileDownloaderBinder;
import com.owncloud.android.files.services.FileObserverService;
import com.owncloud.android.files.services.FileUploader;
import com.owncloud.android.files.services.FileUploader.FileUploaderBinder;
import com.owncloud.android.network.webdav.OnDatatransferProgressListener;
import com.owncloud.android.operations.OnRemoteOperationListener;
import com.owncloud.android.operations.RemoteOperation;
import com.owncloud.android.operations.RemoteOperationResult;
@ -66,7 +67,6 @@ import com.owncloud.android.ui.dialog.EditNameDialog;
import com.owncloud.android.ui.dialog.EditNameDialog.EditNameDialogListener;
import com.owncloud.android.ui.preview.PreviewImageFragment;
import eu.alefzero.webdav.OnDatatransferProgressListener;
/**
* This Fragment is used to display the details about a file.

View file

@ -33,12 +33,12 @@ import android.widget.TextView;
import com.owncloud.android.datamodel.OCFile;
import com.owncloud.android.files.services.FileDownloader.FileDownloaderBinder;
import com.owncloud.android.network.webdav.OnDatatransferProgressListener;
import com.owncloud.android.ui.fragment.FileFragment;
import com.owncloud.android.Log_OC;
import com.owncloud.android.R;
import eu.alefzero.webdav.OnDatatransferProgressListener;
/**
* This Fragment is used to monitor the progress of a file downloading.

View file

@ -52,6 +52,7 @@ import com.actionbarsherlock.view.MenuInflater;
import com.actionbarsherlock.view.MenuItem;
import com.owncloud.android.datamodel.FileDataStorageManager;
import com.owncloud.android.datamodel.OCFile;
import com.owncloud.android.network.webdav.WebdavUtils;
import com.owncloud.android.operations.OnRemoteOperationListener;
import com.owncloud.android.operations.RemoteOperation;
import com.owncloud.android.operations.RemoteOperationResult;
@ -61,7 +62,6 @@ import com.owncloud.android.ui.fragment.FileFragment;
import com.owncloud.android.Log_OC;
import com.owncloud.android.R;
import eu.alefzero.webdav.WebdavUtils;
/**

View file

@ -57,6 +57,7 @@ import com.owncloud.android.datamodel.OCFile;
import com.owncloud.android.media.MediaControlView;
import com.owncloud.android.media.MediaService;
import com.owncloud.android.media.MediaServiceBinder;
import com.owncloud.android.network.webdav.WebdavUtils;
import com.owncloud.android.operations.OnRemoteOperationListener;
import com.owncloud.android.operations.RemoteOperation;
import com.owncloud.android.operations.RemoteOperationResult;
@ -68,7 +69,6 @@ import com.owncloud.android.ui.fragment.FileFragment;
import com.owncloud.android.Log_OC;
import com.owncloud.android.R;
import eu.alefzero.webdav.WebdavUtils;
/**
* This fragment shows a preview of a downloaded media file (audio or video).