fr.janalyse.ssh

SSHScp

class SSHScp extends TransfertOperations

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SSHScp
  2. TransfertOperations
  3. CommonOperations
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SSHScp()(implicit ssh: SSH)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def close(): Unit

  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def get(remoteFilename: String): Option[String]

    get remote file content as an optional String

    get remote file content as an optional String

    remoteFilename

    file content to get

    returns

    Some content or None if file was not found

    Definition Classes
    SSHScpTransfertOperations
  13. def getBytes(remoteFilename: String): Option[Array[Byte]]

    get remote file content as an optional bytes array

    get remote file content as an optional bytes array

    remoteFilename

    file content to get

    returns

    Some content or None if file was not found

    Definition Classes
    SSHScpTransfertOperations
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. def inputStream2remoteFile(localinput: InputStream, datasize: Long, remoteFilename: String, remoteDirectory: String): Unit

    upload a local input stream to a remote destination

    upload a local input stream to a remote destination

    localinput

    the input stream from which we read data

    datasize

    amount of data to send (in bytes)

    remoteFilename

    remote file name to use (just a filename, not a path, shouln't contain any path separator)

    remoteDirectory

    remote destination directory for our file

  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def localmd5sum(filename: String): Option[String]

    locale file md5sum

    locale file md5sum

    filename

    file name

    returns

    md5sum as an optional String, or None if filename was not found

    Definition Classes
    CommonOperations
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. def put(data: String, remoteDestination: String): Unit

    upload string content to a remote file, if file already exists, it is overwritten

    upload string content to a remote file, if file already exists, it is overwritten

    data

    content to upload in the remote file

    remoteDestination

    remote destination

    Definition Classes
    SSHScpTransfertOperations
  23. def putBytes(data: Array[Byte], remoteDestination: String): Unit

    upload bytes array content to a remote file, if file already exists, it is overwritten

    upload bytes array content to a remote file, if file already exists, it is overwritten

    data

    content to upload in the remote file

    remoteDestination

    remote destination

    Definition Classes
    SSHScpTransfertOperations
  24. def putFromStream(data: InputStream, howmany: Int, remoteDestination: String): Unit

    upload bytes coming from the input stream to a remote file, if file already exists, it is overwritten

    upload bytes coming from the input stream to a remote file, if file already exists, it is overwritten

    data

    input stream

    howmany

    how much data to write to remote destination

    remoteDestination

    remote destination

    Definition Classes
    SSHScpTransfertOperations
  25. def receive(remoteFilename: String, outputStream: OutputStream): Unit

    Copy a remote file to a local one

    Copy a remote file to a local one

    remoteFilename

    Source file name (on remote system)

    outputStream

    Destination stream (local system)

    Definition Classes
    SSHScpTransfertOperations
  26. def receive(filename: String): Unit

    Copy a remote file to a local one using the same filename

    Copy a remote file to a local one using the same filename

    filename

    file name

    Definition Classes
    TransfertOperations
  27. def receive(remoteFilename: String, localFilename: String): Unit

    Copy a remote file to a local one

    Copy a remote file to a local one

    remoteFilename

    Source file name (on remote system)

    localFilename

    Destination file name (local system)

    Definition Classes
    TransfertOperations
  28. def receive(remoteFilename: String, toLocalFile: File): Unit

    Copy a remote file to a local one

    Copy a remote file to a local one

    remoteFilename

    Source file name (on remote system)

    toLocalFile

    Destination file (local system)

    Definition Classes
    TransfertOperations
  29. def receiveNcompress(remoteFilename: String, localDirectory: File, localBasename: String): File

    Copy and compress (if required) a remote file to a local one

    Copy and compress (if required) a remote file to a local one

    remoteFilename

    Source file name (on remote system)

    localDirectory

    Destination directory

    returns

    local file used

    Definition Classes
    TransfertOperations
  30. def receiveNcompress(remoteFilename: String, localFilename: String): File

    Copy and compress (if required) a remote file to a local one

    Copy and compress (if required) a remote file to a local one

    remoteFilename

    Source file name (on remote system)

    localFilename

    Destination filename (without compressed extension)

    returns

    local file used

    Definition Classes
    TransfertOperations
  31. def remoteFile2OutputStream(remoteFilenameMask: String, outputStreamBuilder: (String) ⇒ OutputStream): Int

    lookup for remote files, for each found file send the content to an OutputStream created using the specified builder

    lookup for remote files, for each found file send the content to an OutputStream created using the specified builder

    remoteFilenameMask

    file name or file mask

    returns

    number of found files

  32. def send(fromLocalFile: File, remoteDestination: String): Unit

    Copy a local file to a remote one

    Copy a local file to a remote one

    fromLocalFile

    Source file (local system)

    remoteDestination

    Destination file name (on remote system)

    Definition Classes
    SSHScpTransfertOperations
  33. def send(filename: String): Unit

    Copy a local file to a remote one using the same name

    Copy a local file to a remote one using the same name

    filename

    file name

    Definition Classes
    TransfertOperations
  34. def send(fromLocalFilename: String, remoteDestination: String): Unit

    Copy a local file to a remote one

    Copy a local file to a remote one

    fromLocalFilename

    Source file name (local system)

    remoteDestination

    Destination file name (on remote system)

    Definition Classes
    TransfertOperations
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  36. def toString(): String

    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from TransfertOperations

Inherited from CommonOperations

Inherited from AnyRef

Inherited from Any

Ungrouped