org.sourcejammer.client
Class FileTransport

java.lang.Object
  |
  +--org.sourcejammer.client.FileTransport

public class FileTransport
extends java.lang.Object

Title: $FileName: FileTransport.java$

Version:
$$VerNum: 2$ $description: $ $KeyWordsOff: $

Author:
$AuthorName: Rob MacGrogan$

Constructor Summary
private FileTransport()
           
 
Method Summary
static void downloadFileFromServer(org.sourcejammer.project.view.DownloadFileIdentifier id, java.io.File destination, java.lang.String url)
           
static void downloadFullFileFromServer(org.sourcejammer.project.view.DownloadFileIdentifier id, java.io.File destination, java.lang.String url)
           
static void downloadFullFileToStream(org.sourcejammer.project.view.DownloadFileIdentifier id, java.io.OutputStream stmOut, java.lang.String url)
          Streams file to OutputStream.
static long sendFileToServer(java.io.File fl, java.lang.String url)
           
static long sendFullFileToServer(java.io.File fl, java.lang.String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileTransport

private FileTransport()
Method Detail

sendFullFileToServer

public static long sendFullFileToServer(java.io.File fl,
                                        java.lang.String url)
                                 throws java.io.IOException,
                                        org.sourcejammer.util.SourceJammerConnectionException,
                                        java.net.MalformedURLException
java.io.IOException
org.sourcejammer.util.SourceJammerConnectionException
java.net.MalformedURLException

sendFileToServer

public static long sendFileToServer(java.io.File fl,
                                    java.lang.String url)
                             throws java.io.IOException,
                                    org.sourcejammer.util.SourceJammerConnectionException,
                                    java.net.MalformedURLException
java.io.IOException
org.sourcejammer.util.SourceJammerConnectionException
java.net.MalformedURLException

downloadFullFileFromServer

public static void downloadFullFileFromServer(org.sourcejammer.project.view.DownloadFileIdentifier id,
                                              java.io.File destination,
                                              java.lang.String url)
                                       throws java.net.MalformedURLException,
                                              org.sourcejammer.util.SourceJammerConnectionException,
                                              java.io.IOException
java.net.MalformedURLException
org.sourcejammer.util.SourceJammerConnectionException
java.io.IOException

downloadFullFileToStream

public static void downloadFullFileToStream(org.sourcejammer.project.view.DownloadFileIdentifier id,
                                            java.io.OutputStream stmOut,
                                            java.lang.String url)
                                     throws java.net.MalformedURLException,
                                            org.sourcejammer.util.SourceJammerConnectionException,
                                            java.io.IOException
Streams file to OutputStream.

java.net.MalformedURLException
org.sourcejammer.util.SourceJammerConnectionException
java.io.IOException

downloadFileFromServer

public static void downloadFileFromServer(org.sourcejammer.project.view.DownloadFileIdentifier id,
                                          java.io.File destination,
                                          java.lang.String url)
                                   throws java.net.MalformedURLException,
                                          org.sourcejammer.util.SourceJammerConnectionException,
                                          java.io.IOException
java.net.MalformedURLException
org.sourcejammer.util.SourceJammerConnectionException
java.io.IOException


Copyright 2003 Soucejammer project.