Package org.lastbamboo.common.download

Interface Summary
Downloader<StateT> The interface to an object that manages the download of a single resource.
DownloaderListener<StateT> A listener for downloaders.
DownloaderState A downloader state.
DownloadVisitor<T> Top level visitor for download types.
GnutellaDownloader  
LaunchFileTracker Tracker for the file to launch for immediate viewing.
LittleShootDownloader  
MoverDState<DelegateStateT> The state for a downloader that moves a file from a temporary location to a permanent one.
MoverDState.Downloading<T> A state that indicates that the delegate downloader is downloading.
MoverDState.Failed<T> A state that indicates that the delegate downloader has failed.
MoverDState.Moved<T> A state that indicates that the temporary file has been moved.
MoverDState.MovedToITunes<T> A state that indicates that the file has been added to iTunes.
MoverDState.MoveFailed<T> A state that indicates that the attempt to move the temporary file failed.
MoverDState.Moving<T> A state that indicates that the temporary file is in the process of being moved.
MoverDState.Visitor<T,DelegateStateT> A visitor for a mover downloader state.
MsDState The state for multi-source downloaders.
MsDState.Canceled A state that indicates that the downloader was canceled.
MsDState.Complete A state that indicates that the downloader is done downloading.
MsDState.CouldNotDetermineSources A state that indicates that the downloader could not determine any sources for the content.
MsDState.Downloading A state that indicates that the downloader is downloading.
MsDState.Failed A state that indicates that the downloader failed.
MsDState.GettingSources A state that indicates that the downloader is getting sources.
MsDState.Idle A state that indicates that the downloader is idle.
MsDState.LibTorrentDownloading A state for LibTorrent downloading.
MsDState.LimeWireDownloading A state for LimeWire downloading.
MsDState.LittleShootDownloading A state for LittleShoot downloading.
MsDState.NoSourcesAvailable A state that indicates that the downloader could not find any available sources.
MsDState.Paused A state that indicates that the downloader is paused.
MsDState.Visitor<T> A visitor for a downloader state.
RangeDownloader Interface for classes that can initiate downloads.
RangeDownloadListener Listens for connection events.
RangeSizeSelector Interface for algorithms for selecting the size of ranges based on the number of available download sources and the size of files.
RangeTracker Interface for tracking download ranges.
RateCalculator An interface to an object that helps calculate rates.
RateSegment A segment that can be used to calculate an overall rate.
Sha1DState<DelegateStateT> The state for the SHA-1 verifying downloader.
Sha1DState.Downloading<T> A state that indicates that the delegate downloader is downloading.
Sha1DState.Failed<T> A state that indicates that the delegate downloader has failed.
Sha1DState.Sha1Mismatch<T> A state that indicates the SHA-1 did not match the expected value.
Sha1DState.VerifiedSha1<T> A state that indicates the SHA-1 has been verified.
Sha1DState.VerifyingSha1<T> A state that indicates the SHA-1 is in the process of being verified.
Sha1DState.Visitor<T,DelegateStateT> A visitor for a SHA-1 downloader state.
SourceRanker Interface for classes that rank available download sources.
SourceStatus The download status for a single source.
StreamableDownloader Super-interface for downloaders that may or may not be capable of streaming.
TorrentDownloader Interface for torrent downloads.
UriResolver Interface for classes that can resolve URIs to download sources for that URI.
VisitableDownloader<StateT> Interface for downloaders that are visitable by visitors.
 

Class Summary
AbstractDownloader<T extends DownloaderState> An abstract base class to help implement downloaders.
DefaultRangeSizeSelector Class for selecting the size of download ranges based on the size of a file and the number of available sources.
DownloaderState.AbstractFailed An abstract state for implementing failed states.
DownloaderState.AbstractRunning An abstract state for implementing running states.
DownloaderState.AbstractSucceeded An abstract state for implementing succeeded states.
DownloadingFileLauncher Class for tracking parts of the downloading file we can view immediately in order.
DownloadSpeedComparator Comparator that compares downloaders based on their speed.
DummySha1Downloader<DsT extends DownloaderState> A downloader that checks the SHA-1 of a resource downloaded by a delegate downloader.
IncreasingLongRangeComparator Comparator for ranking ranges.
LaunchFileDispatcher Class for dispatching file download events to all the open file launchers/streamers.
LaunchFileTrackerAdapter Adapter class for file launchers.
LongRangeComparator Comparator for ranking ranges.
MoverDState.DownloadingImpl<T> An implementation of the downloading state.
MoverDState.FailedImpl<T> An implementation of the failed state.
MoverDState.MovedImpl<T> An implementation of the moved state.
MoverDState.MovedToITunesImpl<T> An implementation of the moved state.
MoverDState.MoveFailedImpl<T> An implementation of the move failed state.
MoverDState.MovingImpl<T> An implementation of the moving state.
MoverDState.VisitorAdapter<T,DelegateStateT> An adaptor to help implement visitors.
MsDState.CanceledImpl An implementation of the canceled state.
MsDState.CompleteImpl An implementation of the complete state.
MsDState.CouldNotDetermineSourcesImpl An implementation of the could not determine sources state.
MsDState.FailedImpl An implementation of the failed state.
MsDState.GettingSourcesImpl An implementation of the getting sources state.
MsDState.IdleImpl An implementation of the idle state.
MsDState.LibTorrentDownloadingState An implementation of the LibTorrent downloading state.
MsDState.LimeWireDownloadingState An implementation of the LimeWire downloading state.
MsDState.LittleShootDownloadingState An implementation of the downloading state.
MsDState.NoSourcesAvailableImpl An implementation of the no sources available state.
MsDState.PausedImpl An implementation of the paused state.
MsDState.VisitorAdapter<T> An adaptor to help implement visitors.
MultiSourceDownloader A downloader that can download from multiple sources simultaneously.
RangeTrackerAdapter Adapter for a range tracker.
RangeTrackerImpl Class for keeping track of ranges for a single download.
RateCalculatorImpl An implementation of the rate calculator interface.
RateSegmentImpl An implementation of the rate segment interface.
Sha1Downloader<DsT extends DownloaderState> A downloader that checks the SHA-1 of a resource downloaded by a delegate downloader.
Sha1DState.DownloadingImpl<T> An implementation of the downloading state.
Sha1DState.FailedImpl<T> An implementation of the failed state.
Sha1DState.Sha1MismatchImpl<T> An implementation of the SHA-1 mismatch state.
Sha1DState.VerifiedSha1Impl<T> An implementation of the verified SHA-1 state.
Sha1DState.VerifyingSha1Impl<T> An implementation of the verifying SHA-1 state.
Sha1DState.VisitorAdapter<T,DelegateStateT> An adaptor to help implement visitors.
SingleSourceDownloader Downloads data from a single source.
SourceRankerImpl Class that ranks available download sources.
 

Enum Summary
DownloaderStateType Downloader state types.
 

Exception Summary
Sha1Exception Exception thrown when SHA-1s do not match.
 



Copyright © 2013 LittleShoot. All Rights Reserved.