public abstract class

InMemorySourceFile

extends Object
implements LocalSourceFile
java.lang.Object
   ↳ net.schmizz.sshj.xfer.InMemorySourceFile

Summary

Fields
protected final Logger log
Public Constructors
InMemorySourceFile()
Public Methods
Iterable<? extends LocalSourceFile> getChildren(LocalFileFilter filter)
long getLastAccessTime()
Returns last access time for the underlying file.
long getLastModifiedTime()
Returns last access time for the underlying file.
int getPermissions()
Returns the permissions for the underlying file
boolean isDirectory()
boolean isFile()
boolean providesAtimeMtime()
[Expand]
Inherited Methods
From class java.lang.Object
From interface net.schmizz.sshj.xfer.LocalSourceFile

Fields

protected final Logger log

Public Constructors

public InMemorySourceFile ()

Public Methods

public Iterable<? extends LocalSourceFile> getChildren (LocalFileFilter filter)

Parameters
filter
Throws
IOException

public long getLastAccessTime ()

Returns last access time for the underlying file.

Returns
  • time in seconds since Unix epoch
Throws
IOException

public long getLastModifiedTime ()

Returns last access time for the underlying file.

Returns
  • time in seconds since Unix epoch
Throws
IOException

public int getPermissions ()

Returns the permissions for the underlying file

Returns
  • permissions e.g. 0644
Throws
IOException

public boolean isDirectory ()

public boolean isFile ()

public boolean providesAtimeMtime ()