Skip navigation links
A D F I L M N P R S U V W X 

A

AbortDownloadException - Exception in net.digger.protocol.xymodem
Exception used internally if a download must be cancelled.
AbortDownloadException(String) - Constructor for exception net.digger.protocol.xymodem.AbortDownloadException
 
AbortDownloadException(String, Throwable) - Constructor for exception net.digger.protocol.xymodem.AbortDownloadException
 
autoDownloadDetect(char) - Method in class net.digger.protocol.xymodem.XYModem
Examines sequence of characters for the ZModem ZRQINIT frame requesting start of download, and indicates whether it is seen.

D

Download - Class in net.digger.protocol.xymodem
Encapsulates details of the downloaded file.
Download() - Constructor for class net.digger.protocol.xymodem.Download
Create a new Download, with no file name from sender.
Download(String) - Constructor for class net.digger.protocol.xymodem.Download
Create a new Download, with file name from sender.
download() - Method in class net.digger.protocol.xymodem.XYModem
Begin download of file(s).

F

file - Variable in class net.digger.protocol.xymodem.Download
Path to local copy of successfully downloaded file.
formatBPS(long, Duration) - Static method in class net.digger.protocol.xymodem.XYModem
Format the given number of bytes per second in friendly Bps, KBps, MBps, GBps, TBps format.
formatBytes(long) - Static method in class net.digger.protocol.xymodem.XYModem
Format the given number of bytes in friendly B, KB, MB, GB, TB format.
formatElapsedTime(Duration) - Static method in class net.digger.protocol.xymodem.XYModem
Return the given duration in the format HH:MM:SS.

I

IOHandler - Interface in net.digger.protocol.xymodem
Interface for handling various events during a download.

L

length - Variable in class net.digger.protocol.xymodem.Download
Length of downloaded file from sender, if available.
log(String) - Method in interface net.digger.protocol.xymodem.IOHandler
Called during download with logging messages.

M

mode - Variable in class net.digger.protocol.xymodem.Download
Mode of downloaded file from sender, if available.
modified - Variable in class net.digger.protocol.xymodem.Download
Modification time of downloaded file from sender, if available.

N

name - Variable in class net.digger.protocol.xymodem.Download
Name of downloaded file from sender, if available.
net.digger.protocol.xymodem - package net.digger.protocol.xymodem
 

P

progress(long, long) - Method in interface net.digger.protocol.xymodem.IOHandler
Called during download with progress data.

R

read(int) - Method in interface net.digger.protocol.xymodem.IOHandler
Called during download to read the next input byte.
received(Download) - Method in interface net.digger.protocol.xymodem.IOHandler
Called at end of successful download with details of downloaded file.
resetLastModified() - Method in class net.digger.protocol.xymodem.Download
Reset the downloaded file's modification time to the time given by the sender, if available.

S

serial - Variable in class net.digger.protocol.xymodem.Download
Serial number of downloaded file from sender, if available.
setFileTime(long) - Method in class net.digger.protocol.xymodem.Download
Store the modification time from the sender.
setOverrunOption(XYModem.OverrunOption) - Method in class net.digger.protocol.xymodem.XYModem
 

U

UserCancelException - Exception in net.digger.protocol.xymodem
Exception to be thrown by the IOHandler implementation if the user cancels the download.
UserCancelException() - Constructor for exception net.digger.protocol.xymodem.UserCancelException
 

V

valueOf(String) - Static method in enum net.digger.protocol.xymodem.XYModem.OverrunOption
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.digger.protocol.xymodem.XYModem.OverrunOption
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(char) - Method in interface net.digger.protocol.xymodem.IOHandler
Called during download to send a byte to the sender.

X

XYModem - Class in net.digger.protocol.xymodem
Implementation of client side of XModem and YModem protocols, for downloading files.
XYModem(IOHandler) - Constructor for class net.digger.protocol.xymodem.XYModem
Create new instance of XYModem.
XYModem.OverrunOption - Enum in net.digger.protocol.xymodem
Behavior options for data received past the end of a downloaded file, when file length is provided by sender in YModem protocol.
A D F I L M N P R S U V W X 
Skip navigation links

Copyright © 2019. All rights reserved.