public interface

LocalSourceFile

net.schmizz.sshj.xfer.LocalSourceFile
Known Indirect Subclasses

Summary

Public Methods
abstract Iterable<? extends LocalSourceFile> getChildren(LocalFileFilter filter)
abstract InputStream getInputStream()
abstract long getLastAccessTime()
Returns last access time for the underlying file.
abstract long getLastModifiedTime()
Returns last access time for the underlying file.
abstract long getLength()
abstract String getName()
abstract int getPermissions()
Returns the permissions for the underlying file
abstract boolean isDirectory()
abstract boolean isFile()
abstract boolean providesAtimeMtime()

Public Methods

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

Parameters
filter
Throws
IOException

public abstract InputStream getInputStream ()

Throws
IOException

public abstract long getLastAccessTime ()

Returns last access time for the underlying file.

Returns
  • time in seconds since Unix epoch
Throws
IOException

public abstract long getLastModifiedTime ()

Returns last access time for the underlying file.

Returns
  • time in seconds since Unix epoch
Throws
IOException

public abstract long getLength ()

public abstract String getName ()

public abstract int getPermissions ()

Returns the permissions for the underlying file

Returns
  • permissions e.g. 0644
Throws
IOException

public abstract boolean isDirectory ()

public abstract boolean isFile ()

public abstract boolean providesAtimeMtime ()