org.eclipse.ecf.filetransfer_5.0.0.v20120610-1946

16:43:06.843 INFO  jd.cli.Main - Decompiling org.eclipse.ecf.filetransfer_5.0.0.v20120610-1946.jar
package org.eclipse.ecf.filetransfer;

import org.eclipse.core.runtime.IStatus;
import org.eclipse.ecf.core.util.ECFException;

public class BrowseFileTransferException
  extends ECFException
{
  private static final long serialVersionUID = 3486429797589398022L;
  private int errorCode = -1;
  
  public BrowseFileTransferException(IStatus status)
  {
    super(status);
  }
  
  public BrowseFileTransferException() {}
  
  public BrowseFileTransferException(int errorCode)
  {
    this();
  }
  
  public BrowseFileTransferException(String message)
  {
    super(message);
  }
  
  public BrowseFileTransferException(String message, int errorCode)
  {
    super(message);
    this.errorCode = errorCode;
  }
  
  public BrowseFileTransferException(Throwable cause)
  {
    super(cause);
  }
  
  public BrowseFileTransferException(Throwable cause, int errorCode)
  {
    super(cause);
    this.errorCode = errorCode;
  }
  
  public BrowseFileTransferException(String message, Throwable cause)
  {
    super(message, cause);
  }
  
  public BrowseFileTransferException(String message, Throwable cause, int errorCode)
  {
    super(message, cause);
    this.errorCode = errorCode;
  }
  
  public int getErrorCode()
  {
    return errorCode;
  }
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.BrowseFileTransferException
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

import java.io.File;
import java.io.Serializable;
import java.net.FileNameMap;
import java.net.URLConnection;
import java.util.HashMap;
import java.util.Map;
import org.eclipse.core.runtime.Assert;

public class FileTransferInfo
  implements IFileTransferInfo, Serializable
{
  private static final long serialVersionUID = 8354226751625912190L;
  protected File file;
  protected Map properties;
  protected String description;
  protected String mimeType = null;
  
  public FileTransferInfo(File file)
  {
    this(file, null);
  }
  
  public FileTransferInfo(File file, Map properties)
  {
    this(file, properties, null);
  }
  
  public FileTransferInfo(File file, Map properties, String description)
  {
    this(file, properties, description, null);
  }
  
  public FileTransferInfo(File file, Map properties, String description, String mimeType)
  {
    Assert.isNotNull(file, "file must not be null");
    this.file = file;
    this.properties = (properties == null ? new HashMap() : properties);
    this.description = description;
    this.mimeType = mimeType;
  }
  
  public File getFile()
  {
    return file;
  }
  
  public Map getProperties()
  {
    return properties;
  }
  
  public String getDescription()
  {
    return description;
  }
  
  public Object getAdapter(Class adapter)
  {
    return null;
  }
  
  public long getFileSize()
  {
    return file.length();
  }
  
  public String getMimeType()
  {
    if (mimeType == null) {
      return URLConnection.getFileNameMap().getContentTypeFor(file.getAbsolutePath());
    }
    return mimeType;
  }
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.FileTransferInfo
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.jobs.Job;

public class FileTransferJob
  extends Job
{
  private IFileTransferRunnable fileTransferRunnable;
  private IFileTransfer fileTransfer;
  
  public FileTransferJob(String name)
  {
    super(name);
    setSystem(true);
  }
  
  public final void setFileTransferRunnable(IFileTransferRunnable fileTransferRunnable)
  {
    this.fileTransferRunnable = fileTransferRunnable;
  }
  
  public final void setFileTransfer(IFileTransfer fileTransfer)
  {
    this.fileTransfer = fileTransfer;
  }
  
  protected final IStatus run(IProgressMonitor mntr)
  {
    if (fileTransferRunnable == null) {
      return new Status(4, "org.eclipse.ecf.filetransfer", 4, "Runnable cannot be null", null);
    }
    if (fileTransfer == null) {
      return new Status(4, "org.eclipse.ecf.filetransfer", 4, "File transfer member cannot be null", null);
    }
    return fileTransferRunnable.performFileTransfer(mntr);
  }
  
  protected void canceling()
  {
    fileTransfer.cancel();
  }
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.FileTransferJob
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

public abstract interface IFileRangeSpecification
{
  public abstract long getStartPosition();
  
  public abstract long getEndPosition();
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.IFileRangeSpecification
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.ecf.core.identity.IIdentifiable;

public abstract interface IFileTransfer
  extends IAdaptable, IIdentifiable
{
  public abstract void cancel();
  
  public abstract double getPercentComplete();
  
  public abstract Exception getException();
  
  public abstract boolean isDone();
  
  public abstract long getFileLength();
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.IFileTransfer
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

import java.io.File;
import java.util.Map;
import org.eclipse.core.runtime.IAdaptable;

public abstract interface IFileTransferInfo
  extends IAdaptable
{
  public abstract File getFile();
  
  public abstract long getFileSize();
  
  public abstract Map getProperties();
  
  public abstract String getDescription();
  
  public abstract String getMimeType();
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.IFileTransferInfo
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

import org.eclipse.ecf.filetransfer.events.IFileTransferEvent;

public abstract interface IFileTransferListener
{
  public abstract void handleTransferEvent(IFileTransferEvent paramIFileTransferEvent);
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.IFileTransferListener
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

public abstract interface IFileTransferPausable
{
  public abstract boolean pause();
  
  public abstract boolean isPaused();
  
  public abstract boolean resume();
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.IFileTransferPausable
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

public abstract interface IFileTransferRateControl
{
  public abstract void setMaxDownloadSpeed(long paramLong);
  
  public abstract void setMaxUploadSpeed(long paramLong);
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.IFileTransferRateControl
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;

public abstract interface IFileTransferRunnable
{
  public abstract IStatus performFileTransfer(IProgressMonitor paramIProgressMonitor);
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.IFileTransferRunnable
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

import java.util.Date;

public abstract interface IIncomingFileTransfer
  extends IFileTransfer
{
  public abstract long getBytesReceived();
  
  public abstract IFileTransferListener getListener();
  
  public abstract IFileRangeSpecification getFileRangeSpecification();
  
  public abstract String getRemoteFileName();
  
  public abstract Date getRemoteLastModified();
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.IIncomingFileTransfer
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

import org.eclipse.ecf.filetransfer.events.IFileTransferRequestEvent;

public abstract interface IIncomingFileTransferRequestListener
{
  public abstract void handleFileTransferRequest(IFileTransferRequestEvent paramIFileTransferRequestEvent);
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.IIncomingFileTransferRequestListener
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

public abstract interface IOutgoingFileTransfer
  extends IFileTransfer
{
  public abstract long getBytesSent();
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.IOutgoingFileTransfer
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.ecf.filetransfer.identity.IFileID;

public abstract interface IRemoteFile
  extends IAdaptable
{
  public abstract IRemoteFileInfo getInfo();
  
  public abstract IFileID getID();
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.IRemoteFile
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

import java.util.Iterator;

public abstract interface IRemoteFileAttributes
{
  public static final String READ_ATTRIBUTE = "read";
  public static final String WRITE_ATTRIBUTE = "write";
  public static final String EXEC_ATTRIBUTE = "exec";
  public static final String ARCHIVE_ATTRIBUTE = "archive";
  public static final String HIDDEN_ATTRIBUTE = "hidden";
  public static final String SYMLINK_ATTRIBUTE = "symlink";
  public static final String SYMLINK_TARGET_ATTRIBUTE = "symlinktarget";
  
  public abstract String getAttribute(String paramString);
  
  public abstract Iterator getAttributeKeys();
  
  public abstract void setAttribute(String paramString1, String paramString2);
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.IRemoteFileAttributes
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

public abstract interface IRemoteFileInfo
{
  public static final int NO_LENGTH = -1;
  /**
   * @deprecated
   */
  public static final int NONE = -1;
  public static final int NO_LAST_MODIFIED = 0;
  
  public abstract long getLastModified();
  
  public abstract long getLength();
  
  public abstract boolean isDirectory();
  
  public abstract String getName();
  
  public abstract IRemoteFileAttributes getAttributes();
  
  public abstract void setAttributes(IRemoteFileAttributes paramIRemoteFileAttributes);
  
  public abstract void setName(String paramString);
  
  public abstract void setLastModified(long paramLong);
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.IRemoteFileInfo
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.ecf.core.identity.Namespace;
import org.eclipse.ecf.core.security.IConnectContext;
import org.eclipse.ecf.core.util.Proxy;
import org.eclipse.ecf.filetransfer.identity.IFileID;

public abstract interface IRemoteFileSystemBrowserContainerAdapter
  extends IAdaptable
{
  public abstract Namespace getBrowseNamespace();
  
  public abstract IRemoteFileSystemRequest sendBrowseRequest(IFileID paramIFileID, IRemoteFileSystemListener paramIRemoteFileSystemListener)
    throws RemoteFileSystemException;
  
  public abstract void setConnectContextForAuthentication(IConnectContext paramIConnectContext);
  
  public abstract void setProxy(Proxy paramProxy);
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.IRemoteFileSystemBrowserContainerAdapter
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

import org.eclipse.ecf.filetransfer.events.IRemoteFileSystemEvent;

public abstract interface IRemoteFileSystemListener
{
  public abstract void handleRemoteFileEvent(IRemoteFileSystemEvent paramIRemoteFileSystemEvent);
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.IRemoteFileSystemListener
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.ecf.filetransfer.identity.IFileID;

public abstract interface IRemoteFileSystemRequest
  extends IAdaptable
{
  public abstract void cancel();
  
  public abstract IRemoteFileSystemListener getRemoteFileListener();
  
  public abstract IFileID getFileID();
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.IRemoteFileSystemRequest
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

import java.util.Map;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.ecf.core.identity.Namespace;
import org.eclipse.ecf.core.security.IConnectContext;
import org.eclipse.ecf.core.util.Proxy;
import org.eclipse.ecf.filetransfer.identity.IFileID;

public abstract interface IRetrieveFileTransferContainerAdapter
  extends IAdaptable
{
  public abstract void sendRetrieveRequest(IFileID paramIFileID, IFileTransferListener paramIFileTransferListener, Map paramMap)
    throws IncomingFileTransferException;
  
  public abstract void sendRetrieveRequest(IFileID paramIFileID, IFileRangeSpecification paramIFileRangeSpecification, IFileTransferListener paramIFileTransferListener, Map paramMap)
    throws IncomingFileTransferException;
  
  public abstract Namespace getRetrieveNamespace();
  
  public abstract void setConnectContextForAuthentication(IConnectContext paramIConnectContext);
  
  public abstract void setProxy(Proxy paramProxy);
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.IRetrieveFileTransferContainerAdapter
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

public abstract interface IRetrieveFileTransferOptions
{
  public static final String REQUEST_HEADERS;
  public static final String CONNECT_TIMEOUT;
  
  static
  {
    try {}catch (ClassNotFoundException localClassNotFoundException1)
    {
      throw new NoClassDefFoundError(localClassNotFoundException1.getMessage());
    }
    REQUEST_HEADERS = Class.forName("org.eclipse.ecf.filetransfer.IRetrieveFileTransferOptions").getName() + ".requestHeaders";
    try {}catch (ClassNotFoundException localClassNotFoundException2)
    {
      throw new NoClassDefFoundError(localClassNotFoundException2.getMessage());
    }
    CONNECT_TIMEOUT = Class.forName("org.eclipse.ecf.filetransfer.IRetrieveFileTransferOptions").getName() + ".connectTimeout";
    try {}catch (ClassNotFoundException localClassNotFoundException3)
    {
      throw new NoClassDefFoundError(localClassNotFoundException3.getMessage());
    }
  }
  
  public static final String READ_TIMEOUT = Class.forName("org.eclipse.ecf.filetransfer.IRetrieveFileTransferOptions").getName() + ".readTimeout";
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.IRetrieveFileTransferOptions
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

import java.io.File;
import java.util.Map;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.ecf.core.identity.Namespace;
import org.eclipse.ecf.core.security.IConnectContext;
import org.eclipse.ecf.core.util.Proxy;
import org.eclipse.ecf.filetransfer.identity.IFileID;

public abstract interface ISendFileTransferContainerAdapter
  extends IAdaptable
{
  public abstract void sendOutgoingRequest(IFileID paramIFileID, IFileTransferInfo paramIFileTransferInfo, IFileTransferListener paramIFileTransferListener, Map paramMap)
    throws SendFileTransferException;
  
  public abstract void sendOutgoingRequest(IFileID paramIFileID, File paramFile, IFileTransferListener paramIFileTransferListener, Map paramMap)
    throws SendFileTransferException;
  
  public abstract void addListener(IIncomingFileTransferRequestListener paramIIncomingFileTransferRequestListener);
  
  public abstract boolean removeListener(IIncomingFileTransferRequestListener paramIIncomingFileTransferRequestListener);
  
  public abstract Namespace getOutgoingNamespace();
  
  public abstract void setConnectContextForAuthentication(IConnectContext paramIConnectContext);
  
  public abstract void setProxy(Proxy paramProxy);
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.ISendFileTransferContainerAdapter
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

public abstract interface ISendFileTransferOptions {}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.ISendFileTransferOptions
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

import java.util.Map;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.ecf.core.util.ECFException;

public class IncomingFileTransferException
  extends ECFException
{
  private static final long serialVersionUID = 2438441801862623371L;
  private int errorCode = -1;
  private Map responseHeaders;
  
  public IncomingFileTransferException(IStatus status)
  {
    super(status);
  }
  
  public IncomingFileTransferException() {}
  
  public IncomingFileTransferException(int errorCode)
  {
    this();
  }
  
  public IncomingFileTransferException(String message)
  {
    super(message);
  }
  
  public IncomingFileTransferException(String message, int errorCode)
  {
    super(message);
    this.errorCode = errorCode;
  }
  
  public IncomingFileTransferException(Throwable cause)
  {
    super(cause);
  }
  
  public IncomingFileTransferException(Throwable cause, int errorCode)
  {
    super(cause);
    this.errorCode = errorCode;
  }
  
  public IncomingFileTransferException(String message, Throwable cause)
  {
    super(message, cause);
  }
  
  public IncomingFileTransferException(String message, Throwable cause, int errorCode)
  {
    super(message, cause);
    this.errorCode = errorCode;
  }
  
  public IncomingFileTransferException(String message, Throwable cause, int errorCode, Map responseHeaders)
  {
    super(message, cause);
    this.errorCode = errorCode;
    this.responseHeaders = responseHeaders;
  }
  
  public IncomingFileTransferException(String message, int errorCode, Map responseHeaders)
  {
    super(message);
    this.errorCode = errorCode;
    this.responseHeaders = responseHeaders;
  }
  
  public IncomingFileTransferException(Throwable cause, int errorCode, Map responseHeaders)
  {
    super(cause);
    this.errorCode = errorCode;
    this.responseHeaders = responseHeaders;
  }
  
  public int getErrorCode()
  {
    return errorCode;
  }
  
  public Map getResponseHeaders()
  {
    return responseHeaders;
  }
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.IncomingFileTransferException
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

import org.eclipse.core.runtime.IStatus;

public class InvalidFileRangeSpecificationException
  extends IncomingFileTransferException
{
  private static final long serialVersionUID = 532923607480972210L;
  private IFileRangeSpecification rangeSpec = null;
  
  public InvalidFileRangeSpecificationException(IFileRangeSpecification rangeSpec)
  {
    this.rangeSpec = rangeSpec;
  }
  
  public InvalidFileRangeSpecificationException(IStatus status, IFileRangeSpecification rangeSpec)
  {
    super(status);
    this.rangeSpec = rangeSpec;
  }
  
  public InvalidFileRangeSpecificationException(String message, Throwable cause, IFileRangeSpecification rangeSpec)
  {
    super(message, cause);
    this.rangeSpec = rangeSpec;
  }
  
  public InvalidFileRangeSpecificationException(String message, IFileRangeSpecification rangeSpec)
  {
    super(message);
    this.rangeSpec = rangeSpec;
  }
  
  public InvalidFileRangeSpecificationException(Throwable cause, IFileRangeSpecification rangeSpec)
  {
    super(cause);
    this.rangeSpec = rangeSpec;
  }
  
  public IFileRangeSpecification getFileRangeSpecification()
  {
    return rangeSpec;
  }
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.InvalidFileRangeSpecificationException
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

import org.eclipse.core.runtime.IStatus;
import org.eclipse.ecf.core.util.ECFException;

public class RemoteFileSystemException
  extends ECFException
{
  private static final long serialVersionUID = -2199951600347999396L;
  
  public RemoteFileSystemException() {}
  
  public RemoteFileSystemException(IStatus status)
  {
    super(status);
  }
  
  public RemoteFileSystemException(String message, Throwable cause)
  {
    super(message, cause);
  }
  
  public RemoteFileSystemException(String message)
  {
    super(message);
  }
  
  public RemoteFileSystemException(Throwable cause)
  {
    super(cause);
  }
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.RemoteFileSystemException
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

import org.eclipse.core.runtime.IStatus;
import org.eclipse.ecf.core.util.ECFException;

public class SendFileTransferException
  extends ECFException
{
  private static final long serialVersionUID = -3752377147967128446L;
  private int errorCode = -1;
  
  public SendFileTransferException(IStatus status)
  {
    super(status);
  }
  
  public SendFileTransferException() {}
  
  public SendFileTransferException(int errorCode)
  {
    this();
  }
  
  public SendFileTransferException(String message)
  {
    super(message);
  }
  
  public SendFileTransferException(String message, int errorCode)
  {
    super(message);
    this.errorCode = errorCode;
  }
  
  public SendFileTransferException(Throwable cause)
  {
    super(cause);
  }
  
  public SendFileTransferException(Throwable cause, int errorCode)
  {
    super(cause);
    this.errorCode = errorCode;
  }
  
  public SendFileTransferException(String message, Throwable cause)
  {
    super(message, cause);
  }
  
  public SendFileTransferException(String message, Throwable cause, int errorCode)
  {
    super(message, cause);
    this.errorCode = errorCode;
  }
  
  public int getErrorCode()
  {
    return errorCode;
  }
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.SendFileTransferException
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer;

import org.eclipse.core.runtime.IStatus;
import org.eclipse.ecf.core.util.ECFException;

public class UserCancelledException
  extends ECFException
{
  private static final long serialVersionUID = -1147166028435325320L;
  
  public UserCancelledException() {}
  
  public UserCancelledException(IStatus status)
  {
    super(status);
  }
  
  public UserCancelledException(String message)
  {
    super(message);
  }
  
  public UserCancelledException(Throwable cause)
  {
    super(cause);
  }
  
  public UserCancelledException(String message, Throwable cause)
  {
    super(message, cause);
  }
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.UserCancelledException
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.events;

import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.ecf.filetransfer.FileTransferJob;
import org.eclipse.ecf.filetransfer.identity.IFileID;

public abstract interface IFileTransferConnectStartEvent
  extends IAdaptable, IFileTransferEvent
{
  public abstract IFileID getFileID();
  
  public abstract void cancel();
  
  public abstract FileTransferJob prepareConnectJob(FileTransferJob paramFileTransferJob);
  
  public abstract void connectUsingJob(FileTransferJob paramFileTransferJob);
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.events.IFileTransferConnectStartEvent
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.events;

import org.eclipse.ecf.core.util.Event;

public abstract interface IFileTransferEvent
  extends Event
{}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.events.IFileTransferEvent
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.events;

import java.io.File;
import java.io.OutputStream;
import org.eclipse.ecf.core.identity.ID;
import org.eclipse.ecf.filetransfer.IFileTransferInfo;
import org.eclipse.ecf.filetransfer.IFileTransferListener;
import org.eclipse.ecf.filetransfer.IIncomingFileTransfer;
import org.eclipse.ecf.filetransfer.IncomingFileTransferException;

public abstract interface IFileTransferRequestEvent
  extends IFileTransferEvent
{
  public abstract ID getRequesterID();
  
  public abstract IFileTransferInfo getFileTransferInfo();
  
  public abstract IIncomingFileTransfer accept(File paramFile)
    throws IncomingFileTransferException;
  
  public abstract IIncomingFileTransfer accept(OutputStream paramOutputStream, IFileTransferListener paramIFileTransferListener)
    throws IncomingFileTransferException;
  
  public abstract void reject();
  
  public abstract boolean requestAccepted();
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.events.IFileTransferRequestEvent
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.events;

import org.eclipse.ecf.filetransfer.IIncomingFileTransfer;

public abstract interface IIncomingFileTransferEvent
  extends IFileTransferEvent
{
  public abstract IIncomingFileTransfer getSource();
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.events.IIncomingFileTransferEvent
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.events;

public abstract interface IIncomingFileTransferReceiveDataEvent
  extends IIncomingFileTransferEvent
{}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.events.IIncomingFileTransferReceiveDataEvent
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.events;

public abstract interface IIncomingFileTransferReceiveDoneEvent
  extends IIncomingFileTransferEvent
{
  public abstract Exception getException();
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.events.IIncomingFileTransferReceiveDoneEvent
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.events;

public abstract interface IIncomingFileTransferReceivePausedEvent
  extends IIncomingFileTransferEvent
{}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.events.IIncomingFileTransferReceivePausedEvent
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.events;

import java.io.File;
import java.io.IOException;
import java.io.OutputStream;
import java.util.Map;
import org.eclipse.ecf.filetransfer.FileTransferJob;
import org.eclipse.ecf.filetransfer.IIncomingFileTransfer;
import org.eclipse.ecf.filetransfer.identity.IFileID;

public abstract interface IIncomingFileTransferReceiveResumedEvent
  extends IIncomingFileTransferEvent
{
  public abstract IFileID getFileID();
  
  public abstract IIncomingFileTransfer receive(File paramFile, boolean paramBoolean)
    throws IOException;
  
  public abstract IIncomingFileTransfer receive(File paramFile, FileTransferJob paramFileTransferJob, boolean paramBoolean)
    throws IOException;
  
  public abstract IIncomingFileTransfer receive(OutputStream paramOutputStream)
    throws IOException;
  
  public abstract IIncomingFileTransfer receive(OutputStream paramOutputStream, FileTransferJob paramFileTransferJob)
    throws IOException;
  
  public abstract void cancel();
  
  public abstract Map getResponseHeaders();
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.events.IIncomingFileTransferReceiveResumedEvent
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.events;

import java.io.File;
import java.io.IOException;
import java.io.OutputStream;
import java.util.Map;
import org.eclipse.ecf.filetransfer.FileTransferJob;
import org.eclipse.ecf.filetransfer.IIncomingFileTransfer;
import org.eclipse.ecf.filetransfer.identity.IFileID;

public abstract interface IIncomingFileTransferReceiveStartEvent
  extends IIncomingFileTransferEvent
{
  public abstract IFileID getFileID();
  
  public abstract IIncomingFileTransfer receive(File paramFile)
    throws IOException;
  
  public abstract IIncomingFileTransfer receive(File paramFile, FileTransferJob paramFileTransferJob)
    throws IOException;
  
  public abstract IIncomingFileTransfer receive(OutputStream paramOutputStream)
    throws IOException;
  
  public abstract IIncomingFileTransfer receive(OutputStream paramOutputStream, FileTransferJob paramFileTransferJob)
    throws IOException;
  
  public abstract void cancel();
  
  public abstract Map getResponseHeaders();
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.events.IIncomingFileTransferReceiveStartEvent
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.events;

import org.eclipse.ecf.filetransfer.IOutgoingFileTransfer;

public abstract interface IOutgoingFileTransferEvent
  extends IFileTransferEvent
{
  public abstract IOutgoingFileTransfer getSource();
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.events.IOutgoingFileTransferEvent
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.events;

import org.eclipse.ecf.filetransfer.FileTransferJob;

public abstract interface IOutgoingFileTransferResponseEvent
  extends IOutgoingFileTransferEvent
{
  public abstract boolean requestAccepted();
  
  public abstract void setFileTransferJob(FileTransferJob paramFileTransferJob);
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.events.IOutgoingFileTransferResponseEvent
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.events;

public abstract interface IOutgoingFileTransferSendDataEvent
  extends IOutgoingFileTransferEvent
{}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.events.IOutgoingFileTransferSendDataEvent
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.events;

public abstract interface IOutgoingFileTransferSendDoneEvent
  extends IOutgoingFileTransferEvent
{}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.events.IOutgoingFileTransferSendDoneEvent
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.events;

public abstract interface IOutgoingFileTransferSendPausedEvent
  extends IOutgoingFileTransferEvent
{}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.events.IOutgoingFileTransferSendPausedEvent
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.events;

public abstract interface IOutgoingFileTransferSendResumedEvent
  extends IOutgoingFileTransferEvent
{}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.events.IOutgoingFileTransferSendResumedEvent
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.events;

import org.eclipse.ecf.filetransfer.IRemoteFile;

public abstract interface IRemoteFileSystemBrowseEvent
  extends IRemoteFileSystemEvent
{
  public abstract IRemoteFile[] getRemoteFiles();
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.events.IRemoteFileSystemBrowseEvent
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.events;

import org.eclipse.ecf.filetransfer.identity.IFileID;

public abstract interface IRemoteFileSystemEvent
{
  public abstract Exception getException();
  
  public abstract IFileID getFileID();
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.events.IRemoteFileSystemEvent
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.events.socket;

public abstract interface ISocketClosedEvent
  extends ISocketEvent
{}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.events.socket.ISocketClosedEvent
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.events.socket;

import java.net.Socket;

public abstract interface ISocketConnectedEvent
  extends ISocketEvent
{
  public abstract void setSocket(Socket paramSocket);
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.events.socket.ISocketConnectedEvent
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.events.socket;

public abstract interface ISocketCreatedEvent
  extends ISocketEvent
{}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.events.socket.ISocketCreatedEvent
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.events.socket;

import java.net.Socket;
import org.eclipse.ecf.core.util.Event;

public abstract interface ISocketEvent
  extends Event
{
  public abstract ISocketEventSource getSource();
  
  public abstract boolean isSameFactorySocket(ISocketEvent paramISocketEvent);
  
  public abstract Socket getFactorySocket();
  
  public abstract Socket getSocket();
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.events.socket.ISocketEvent
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.events.socket;

import org.eclipse.core.runtime.IAdaptable;

public abstract interface ISocketEventSource
  extends IAdaptable
{
  public abstract void addListener(ISocketListener paramISocketListener);
  
  public abstract void removeListener(ISocketListener paramISocketListener);
  
  public abstract void fireEvent(ISocketEvent paramISocketEvent);
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.events.socket.ISocketEventSource
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.events.socket;

public abstract interface ISocketListener
{
  public abstract void handleSocketEvent(ISocketEvent paramISocketEvent);
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.events.socket.ISocketListener
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.events.socketfactory;

import java.io.IOException;
import java.net.Socket;

public abstract interface INonconnectedSocketFactory
{
  public abstract Socket createSocket()
    throws IOException;
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.events.socketfactory.INonconnectedSocketFactory
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.identity;

import org.eclipse.core.runtime.IStatus;
import org.eclipse.ecf.core.util.ECFException;

public class FileCreateException
  extends ECFException
{
  private static final long serialVersionUID = -4242692047102300537L;
  
  public FileCreateException(IStatus status)
  {
    super(status);
  }
  
  public FileCreateException() {}
  
  public FileCreateException(String message)
  {
    super(message);
  }
  
  public FileCreateException(Throwable cause)
  {
    super(cause);
  }
  
  public FileCreateException(String message, Throwable cause)
  {
    super(message, cause);
  }
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.identity.FileCreateException
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.identity;

import java.net.URI;
import java.net.URL;
import org.eclipse.ecf.core.identity.IDFactory;
import org.eclipse.ecf.core.identity.IIDFactory;
import org.eclipse.ecf.core.identity.Namespace;
import org.eclipse.ecf.core.util.Trace;

public class FileIDFactory
  implements IFileIDFactory
{
  protected static FileIDFactory instance = new FileIDFactory();
  
  public static FileIDFactory getDefault()
  {
    return instance;
  }
  
  public IFileID createFileID(Namespace namespace, URL remoteFile)
    throws FileCreateException
  {
    return createFileID(namespace, new Object[] { remoteFile });
  }
  
  public IFileID createFileID(Namespace namespace, String remoteFile)
    throws FileCreateException
  {
    return createFileID(namespace, new Object[] { remoteFile });
  }
  
  public IFileID createFileID(Namespace namespace, URI remoteFile)
    throws FileCreateException
  {
    return createFileID(namespace, new Object[] { remoteFile });
  }
  
  public IFileID createFileID(Namespace namespace, Object[] arguments)
    throws FileCreateException
  {
    Trace.entering("org.eclipse.ecf.filetransfer", "org.eclipse.ecf.filetransfer/debug/methods/entering", getClass(), "createFileID", new Object[] { namespace, arguments });
    try
    {
      IFileID result = (IFileID)IDFactory.getDefault().createID(namespace, arguments);
      Trace.exiting("org.eclipse.ecf.filetransfer", "org.eclipse.ecf.filetransfer/debug/methods/exiting", getClass(), "createFileID", result);
      return result;
    }
    catch (Exception e)
    {
      Trace.throwing("org.eclipse.ecf.filetransfer", "org.eclipse.ecf.filetransfer/debug/exceptions/throwing", FileIDFactory.class, "createFileID", e);
      throw new FileCreateException("Exception in createFileID", e);
    }
  }
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.identity.FileIDFactory
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.identity;

import java.net.MalformedURLException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import org.eclipse.ecf.core.identity.ID;

public abstract interface IFileID
  extends ID
{
  public abstract String getFilename();
  
  public abstract URL getURL()
    throws MalformedURLException;
  
  public abstract URI getURI()
    throws URISyntaxException;
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.identity.IFileID
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.identity;

import java.net.URI;
import java.net.URL;
import org.eclipse.ecf.core.identity.Namespace;

public abstract interface IFileIDFactory
{
  public abstract IFileID createFileID(Namespace paramNamespace, URL paramURL)
    throws FileCreateException;
  
  public abstract IFileID createFileID(Namespace paramNamespace, String paramString)
    throws FileCreateException;
  
  public abstract IFileID createFileID(Namespace paramNamespace, URI paramURI)
    throws FileCreateException;
  
  public abstract IFileID createFileID(Namespace paramNamespace, Object[] paramArrayOfObject)
    throws FileCreateException;
}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.identity.IFileIDFactory
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ecf.filetransfer.service;

import org.eclipse.ecf.filetransfer.IRemoteFileSystemBrowserContainerAdapter;

public abstract interface IRemoteFileSystemBrowser
  extends IRemoteFileSystemBrowserContainerAdapter
{}

/* Location:
 * Qualified Name:     org.eclipse.ecf.filetransfer.service.IRemot
1 2

Further reading...

For more information on Java 1.5 Tiger, you may find Java 1.5 Tiger, A developer's Notebook by D. Flanagan and B. McLaughlin from O'Reilly of interest.

New!JAR listings


Copyright 2006-2017. Infinite Loop Ltd