Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
H
I
L
M
N
O
P
R
S
T
U
V
W
A
AbstractDownloader
<
T
extends
DownloaderState
> - Class in
org.lastbamboo.common.download
An abstract base class to help implement downloaders.
AbstractDownloader()
- Constructor for class org.lastbamboo.common.download.
AbstractDownloader
Initializes this abstract base class.
accept(MoverDState.Visitor<T, DelegateStateT>)
- Method in interface org.lastbamboo.common.download.
MoverDState
Accepts a visitor to this state.
accept(MoverDState.Visitor<ReturnT, T>)
- Method in class org.lastbamboo.common.download.
MoverDState.DownloadingImpl
accept(MoverDState.Visitor<ReturnT, T>)
- Method in class org.lastbamboo.common.download.
MoverDState.FailedImpl
accept(MoverDState.Visitor<ReturnT, T>)
- Method in class org.lastbamboo.common.download.
MoverDState.MovedImpl
accept(MoverDState.Visitor<ReturnT, T>)
- Method in class org.lastbamboo.common.download.
MoverDState.MovedToITunesImpl
accept(MoverDState.Visitor<ReturnT, T>)
- Method in class org.lastbamboo.common.download.
MoverDState.MoveFailedImpl
accept(MoverDState.Visitor<ReturnT, T>)
- Method in class org.lastbamboo.common.download.
MoverDState.MovingImpl
accept(MsDState.Visitor<T>)
- Method in interface org.lastbamboo.common.download.
MsDState
Accepts a visitor to this state.
accept(MsDState.Visitor<T>)
- Method in class org.lastbamboo.common.download.
MsDState.CanceledImpl
accept(MsDState.Visitor<T>)
- Method in class org.lastbamboo.common.download.
MsDState.CompleteImpl
accept(MsDState.Visitor<T>)
- Method in class org.lastbamboo.common.download.
MsDState.CouldNotDetermineSourcesImpl
accept(MsDState.Visitor<T>)
- Method in class org.lastbamboo.common.download.
MsDState.FailedImpl
accept(MsDState.Visitor<T>)
- Method in class org.lastbamboo.common.download.
MsDState.GettingSourcesImpl
accept(MsDState.Visitor<T>)
- Method in class org.lastbamboo.common.download.
MsDState.IdleImpl
accept(MsDState.Visitor<T>)
- Method in class org.lastbamboo.common.download.
MsDState.LibTorrentDownloadingState
accept(MsDState.Visitor<T>)
- Method in class org.lastbamboo.common.download.
MsDState.LimeWireDownloadingState
accept(MsDState.Visitor<T>)
- Method in class org.lastbamboo.common.download.
MsDState.LittleShootDownloadingState
accept(MsDState.Visitor<T>)
- Method in class org.lastbamboo.common.download.
MsDState.NoSourcesAvailableImpl
accept(MsDState.Visitor<T>)
- Method in class org.lastbamboo.common.download.
MsDState.PausedImpl
accept(DownloadVisitor<T>)
- Method in class org.lastbamboo.common.download.
MultiSourceDownloader
accept(Sha1DState.Visitor<T, DelegateStateT>)
- Method in interface org.lastbamboo.common.download.
Sha1DState
Accepts a visitor to this state.
accept(Sha1DState.Visitor<ReturnT, T>)
- Method in class org.lastbamboo.common.download.
Sha1DState.DownloadingImpl
accept(Sha1DState.Visitor<ReturnT, T>)
- Method in class org.lastbamboo.common.download.
Sha1DState.FailedImpl
accept(Sha1DState.Visitor<ReturnT, T>)
- Method in class org.lastbamboo.common.download.
Sha1DState.Sha1MismatchImpl
accept(Sha1DState.Visitor<ReturnT, T>)
- Method in class org.lastbamboo.common.download.
Sha1DState.VerifiedSha1Impl
accept(Sha1DState.Visitor<ReturnT, T>)
- Method in class org.lastbamboo.common.download.
Sha1DState.VerifyingSha1Impl
Accepts a visitor to this state.
accept(DownloadVisitor<T>)
- Method in interface org.lastbamboo.common.download.
VisitableDownloader
Accepts the specified visitor class.
addData(RangeDownloader)
- Method in interface org.lastbamboo.common.download.
RateCalculator
Adds data for the given downloader.
addData(RangeDownloader)
- Method in class org.lastbamboo.common.download.
RateCalculatorImpl
addListener(DownloaderListener<T>)
- Method in class org.lastbamboo.common.download.
AbstractDownloader
addListener(DownloaderListener<StateT>)
- Method in interface org.lastbamboo.common.download.
Downloader
Adds a listener to be notified of events of this downloader.
addTracker(LaunchFileTracker)
- Method in class org.lastbamboo.common.download.
LaunchFileDispatcher
For testing.
C
calculateTimeRemaining(long, long, double)
- Method in class org.lastbamboo.common.download.
DownloaderState.AbstractRunning
CANCELED
- Static variable in interface org.lastbamboo.common.download.
MsDState
An instance of the canceled state.
compare(RangeDownloader, RangeDownloader)
- Method in class org.lastbamboo.common.download.
DownloadSpeedComparator
compare(LongRange, LongRange)
- Method in class org.lastbamboo.common.download.
IncreasingLongRangeComparator
compare(LongRange, LongRange)
- Method in class org.lastbamboo.common.download.
LongRangeComparator
COMPLETE
- Static variable in interface org.lastbamboo.common.download.
MsDState
An instance of the complete state.
COULD_NOT_DETERMINE_SOURCES
- Static variable in interface org.lastbamboo.common.download.
MsDState
An instance of the could not determine sources state.
D
DefaultRangeSizeSelector
- Class in
org.lastbamboo.common.download
Class for selecting the size of download ranges based on the size of a file and the number of available sources.
DefaultRangeSizeSelector()
- Constructor for class org.lastbamboo.common.download.
DefaultRangeSizeSelector
DIFFERENTIAL_SPEED_FACTOR
- Static variable in class org.lastbamboo.common.download.
DefaultRangeSizeSelector
This is the factor that takes into account that different sources provide different download speeds.
download(LongRange)
- Method in interface org.lastbamboo.common.download.
RangeDownloader
Downloads the specified range from the assigned file.
download(LongRange)
- Method in class org.lastbamboo.common.download.
SingleSourceDownloader
Downloader
<
StateT
> - Interface in
org.lastbamboo.common.download
The interface to an object that manages the download of a single resource.
DownloaderListener
<
StateT
> - Interface in
org.lastbamboo.common.download
A listener for downloaders.
DownloaderState
- Interface in
org.lastbamboo.common.download
A downloader state.
DownloaderState.AbstractFailed
- Class in
org.lastbamboo.common.download
An abstract state for implementing failed states.
DownloaderState.AbstractFailed()
- Constructor for class org.lastbamboo.common.download.
DownloaderState.AbstractFailed
DownloaderState.AbstractRunning
- Class in
org.lastbamboo.common.download
An abstract state for implementing running states.
DownloaderState.AbstractRunning()
- Constructor for class org.lastbamboo.common.download.
DownloaderState.AbstractRunning
DownloaderState.AbstractSucceeded
- Class in
org.lastbamboo.common.download
An abstract state for implementing succeeded states.
DownloaderState.AbstractSucceeded()
- Constructor for class org.lastbamboo.common.download.
DownloaderState.AbstractSucceeded
DownloaderStateType
- Enum in
org.lastbamboo.common.download
Downloader state types.
DownloadingFileLauncher
- Class in
org.lastbamboo.common.download
Class for tracking parts of the downloading file we can view immediately in order.
DownloadingFileLauncher(RandomAccessFile, PriorityBlockingQueue<LongRange>, URI, File)
- Constructor for class org.lastbamboo.common.download.
DownloadingFileLauncher
Creates a new tracker for streaming the file to the browser.
DownloadSpeedComparator
- Class in
org.lastbamboo.common.download
Comparator that compares downloaders based on their speed.
DownloadSpeedComparator()
- Constructor for class org.lastbamboo.common.download.
DownloadSpeedComparator
DownloadVisitor
<
T
> - Interface in
org.lastbamboo.common.download
Top level visitor for download types.
DummySha1Downloader
<
DsT
extends
DownloaderState
> - Class in
org.lastbamboo.common.download
A downloader that checks the SHA-1 of a resource downloaded by a delegate downloader.
DummySha1Downloader(Downloader<DsT>, long)
- Constructor for class org.lastbamboo.common.download.
DummySha1Downloader
Constructs a new downloader.
E
equals(Object)
- Method in class org.lastbamboo.common.download.
MoverDState.DownloadingImpl
equals(Object)
- Method in class org.lastbamboo.common.download.
MoverDState.FailedImpl
equals(Object)
- Method in class org.lastbamboo.common.download.
MoverDState.MovedImpl
equals(Object)
- Method in class org.lastbamboo.common.download.
MoverDState.MovedToITunesImpl
equals(Object)
- Method in class org.lastbamboo.common.download.
MoverDState.MoveFailedImpl
equals(Object)
- Method in class org.lastbamboo.common.download.
MoverDState.MovingImpl
equals(Object)
- Method in class org.lastbamboo.common.download.
MsDState.CanceledImpl
equals(Object)
- Method in class org.lastbamboo.common.download.
MsDState.CompleteImpl
equals(Object)
- Method in class org.lastbamboo.common.download.
MsDState.CouldNotDetermineSourcesImpl
equals(Object)
- Method in class org.lastbamboo.common.download.
MsDState.FailedImpl
equals(Object)
- Method in class org.lastbamboo.common.download.
MsDState.GettingSourcesImpl
equals(Object)
- Method in class org.lastbamboo.common.download.
MsDState.IdleImpl
equals(Object)
- Method in class org.lastbamboo.common.download.
MsDState.LibTorrentDownloadingState
equals(Object)
- Method in class org.lastbamboo.common.download.
MsDState.LimeWireDownloadingState
equals(Object)
- Method in class org.lastbamboo.common.download.
MsDState.LittleShootDownloadingState
equals(Object)
- Method in class org.lastbamboo.common.download.
MsDState.NoSourcesAvailableImpl
equals(Object)
- Method in class org.lastbamboo.common.download.
MsDState.PausedImpl
equals(Object)
- Method in class org.lastbamboo.common.download.
Sha1DState.DownloadingImpl
equals(Object)
- Method in class org.lastbamboo.common.download.
Sha1DState.FailedImpl
equals(Object)
- Method in class org.lastbamboo.common.download.
Sha1DState.Sha1MismatchImpl
equals(Object)
- Method in class org.lastbamboo.common.download.
Sha1DState.VerifiedSha1Impl
equals(Object)
- Method in class org.lastbamboo.common.download.
Sha1DState.VerifyingSha1Impl
F
FAILED
- Static variable in interface org.lastbamboo.common.download.
MsDState
Failed state.
fireStateChanged(T)
- Method in class org.lastbamboo.common.download.
AbstractDownloader
Fires notification that this downloader's state has changed.
G
getActiveWriteCalls()
- Method in class org.lastbamboo.common.download.
DownloadingFileLauncher
getActiveWriteCalls()
- Method in class org.lastbamboo.common.download.
LaunchFileDispatcher
getActiveWriteCalls()
- Method in interface org.lastbamboo.common.download.
LaunchFileTracker
Accessor for the number of active writers.
getActiveWriteCalls()
- Method in class org.lastbamboo.common.download.
LaunchFileTrackerAdapter
getBestSource()
- Method in interface org.lastbamboo.common.download.
SourceRanker
Gets the best available source to download from.
getBestSource()
- Method in class org.lastbamboo.common.download.
SourceRankerImpl
getBytesRead()
- Method in interface org.lastbamboo.common.download.
MsDState.Downloading
Accessor for the number of bytes read.
getBytesRead()
- Method in class org.lastbamboo.common.download.
MsDState.LibTorrentDownloadingState
getBytesRead()
- Method in class org.lastbamboo.common.download.
MsDState.LimeWireDownloadingState
getBytesRead()
- Method in class org.lastbamboo.common.download.
MsDState.LittleShootDownloadingState
getBytesRead()
- Method in class org.lastbamboo.common.download.
MultiSourceDownloader
getBytesRead()
- Method in interface org.lastbamboo.common.download.
RangeTracker
Accessor for the number of bytes read.
getBytesRead()
- Method in class org.lastbamboo.common.download.
RangeTrackerAdapter
getBytesRead()
- Method in class org.lastbamboo.common.download.
RangeTrackerImpl
getBytesRead()
- Method in interface org.lastbamboo.common.download.
RateCalculator
Accessor for the total number of bytes read.
getBytesRead()
- Method in class org.lastbamboo.common.download.
RateCalculatorImpl
getCompleteFile()
- Method in interface org.lastbamboo.common.download.
Downloader
Returns the final path for the file.
getCompleteFile()
- Method in class org.lastbamboo.common.download.
DummySha1Downloader
getCompleteFile()
- Method in class org.lastbamboo.common.download.
MultiSourceDownloader
getCompleteFile()
- Method in class org.lastbamboo.common.download.
Sha1Downloader
getDelegateState()
- Method in interface org.lastbamboo.common.download.
MoverDState.Downloading
Returns the delegate downloader state.
getDelegateState()
- Method in class org.lastbamboo.common.download.
MoverDState.DownloadingImpl
getDelegateState()
- Method in interface org.lastbamboo.common.download.
MoverDState.Failed
Returns the delegate downloader state.
getDelegateState()
- Method in class org.lastbamboo.common.download.
MoverDState.FailedImpl
getDelegateState()
- Method in interface org.lastbamboo.common.download.
Sha1DState.Downloading
Returns the delegate downloader state.
getDelegateState()
- Method in class org.lastbamboo.common.download.
Sha1DState.DownloadingImpl
getDelegateState()
- Method in interface org.lastbamboo.common.download.
Sha1DState.Failed
Returns the delegate downloader state.
getDelegateState()
- Method in class org.lastbamboo.common.download.
Sha1DState.FailedImpl
getDownloadingState()
- Method in interface org.lastbamboo.common.download.
MsDState.Paused
Accessor for the underlying downloading state.
getDownloadingState()
- Method in class org.lastbamboo.common.download.
MsDState.PausedImpl
getDuration()
- Method in interface org.lastbamboo.common.download.
RateSegment
Returns the duration.
getDuration()
- Method in class org.lastbamboo.common.download.
RateSegmentImpl
Returns the duration.
getFinalName()
- Method in interface org.lastbamboo.common.download.
Downloader
The final name for the file.
getFinalName()
- Method in class org.lastbamboo.common.download.
DummySha1Downloader
getFinalName()
- Method in class org.lastbamboo.common.download.
MultiSourceDownloader
getFinalName()
- Method in class org.lastbamboo.common.download.
Sha1Downloader
getIncompleteDir()
- Method in interface org.lastbamboo.common.download.
TorrentDownloader
getIncompleteFile()
- Method in interface org.lastbamboo.common.download.
Downloader
Returns the file to which this downloader downloads the resource.
getIncompleteFile()
- Method in class org.lastbamboo.common.download.
DummySha1Downloader
getIncompleteFile()
- Method in class org.lastbamboo.common.download.
MultiSourceDownloader
getIncompleteFile()
- Method in class org.lastbamboo.common.download.
Sha1Downloader
getKbs()
- Method in interface org.lastbamboo.common.download.
MsDState.Downloading
Returns the speed of the download in kilobytes per second.
getKbs()
- Method in class org.lastbamboo.common.download.
MsDState.LibTorrentDownloadingState
getKbs()
- Method in class org.lastbamboo.common.download.
MsDState.LimeWireDownloadingState
getKbs()
- Method in class org.lastbamboo.common.download.
MsDState.LittleShootDownloadingState
getKbs()
- Method in interface org.lastbamboo.common.download.
RangeDownloader
Gets the speed of this downloader in kilobytes per second.
getKbs()
- Method in class org.lastbamboo.common.download.
SingleSourceDownloader
getKbs()
- Method in interface org.lastbamboo.common.download.
SourceStatus
Returns the speed of the download from the source with which this status is associated in kilobytes per second.
getMaxContiguousByte()
- Method in interface org.lastbamboo.common.download.
MsDState.LibTorrentDownloading
Returns the maximum contiguous byte we've read for this download.
getMaxContiguousByte()
- Method in class org.lastbamboo.common.download.
MsDState.LibTorrentDownloadingState
getMaxContiguousByte()
- Method in interface org.lastbamboo.common.download.
TorrentDownloader
getName()
- Method in interface org.lastbamboo.common.download.
SourceStatus
Returns a name for the source with which this status is associated.
getNextRange()
- Method in interface org.lastbamboo.common.download.
RangeTracker
Gets the next range to download.
getNextRange()
- Method in class org.lastbamboo.common.download.
RangeTrackerAdapter
getNextRange()
- Method in class org.lastbamboo.common.download.
RangeTrackerImpl
getNumBytesDownloaded()
- Method in interface org.lastbamboo.common.download.
RangeDownloader
Returns the number of bytes downloaded by this downloader.
getNumBytesDownloaded()
- Method in class org.lastbamboo.common.download.
SingleSourceDownloader
getNumChunks()
- Method in interface org.lastbamboo.common.download.
RangeTracker
Accessor for the number of chunks to download.
getNumChunks()
- Method in class org.lastbamboo.common.download.
RangeTrackerAdapter
getNumChunks()
- Method in class org.lastbamboo.common.download.
RangeTrackerImpl
getNumFiles()
- Method in interface org.lastbamboo.common.download.
MsDState.LibTorrentDownloading
Gets the number of files in this torrent.
getNumFiles()
- Method in class org.lastbamboo.common.download.
MsDState.LibTorrentDownloadingState
getNumFiles()
- Method in interface org.lastbamboo.common.download.
TorrentDownloader
getNumSources()
- Method in interface org.lastbamboo.common.download.
MsDState.Downloading
Returns the number of sources used by the download.
getNumSources()
- Method in class org.lastbamboo.common.download.
MsDState.LibTorrentDownloadingState
getNumSources()
- Method in class org.lastbamboo.common.download.
MsDState.LimeWireDownloadingState
getNumSources()
- Method in class org.lastbamboo.common.download.
MsDState.LittleShootDownloadingState
getProgress()
- Method in interface org.lastbamboo.common.download.
SourceStatus
Returns the progress for the download from the source with which this status is associated.
getRangeIndex()
- Method in interface org.lastbamboo.common.download.
RangeDownloader
Accessor for the byte index of the current range.
getRangeIndex()
- Method in class org.lastbamboo.common.download.
SingleSourceDownloader
getRanges()
- Method in class org.lastbamboo.common.download.
LaunchFileDispatcher
Used for testing.
getRangeStartTime()
- Method in interface org.lastbamboo.common.download.
RangeDownloader
Accessor for the time the downloader started downloading the current range.
getRangeStartTime()
- Method in class org.lastbamboo.common.download.
SingleSourceDownloader
getRate()
- Method in interface org.lastbamboo.common.download.
RateCalculator
Returns the rate since a given time.
getRate()
- Method in class org.lastbamboo.common.download.
RateCalculatorImpl
getSha1()
- Method in interface org.lastbamboo.common.download.
UriResolver
Accesses the SHA-1 for the resource this resolved just looked up.
getSize()
- Method in interface org.lastbamboo.common.download.
Downloader
Returns the size of the resource that is downloaded by this downloader.
getSize()
- Method in class org.lastbamboo.common.download.
DummySha1Downloader
getSize()
- Method in class org.lastbamboo.common.download.
MultiSourceDownloader
getSize()
- Method in interface org.lastbamboo.common.download.
RateSegment
Returns the size.
getSize()
- Method in class org.lastbamboo.common.download.
RateSegmentImpl
Returns the size.
getSize()
- Method in class org.lastbamboo.common.download.
Sha1Downloader
getSourceUri()
- Method in interface org.lastbamboo.common.download.
RangeDownloader
Returns the source URI for this downloader.
getSourceUri()
- Method in class org.lastbamboo.common.download.
SingleSourceDownloader
getStart()
- Method in interface org.lastbamboo.common.download.
RateSegment
Returns the start time.
getStart()
- Method in class org.lastbamboo.common.download.
RateSegmentImpl
Returns the start time.
getStartTime()
- Method in class org.lastbamboo.common.download.
AbstractDownloader
getStartTime()
- Method in interface org.lastbamboo.common.download.
Downloader
Accessor the time the download started.
getStartTime()
- Method in interface org.lastbamboo.common.download.
StreamableDownloader
Accessor the time the download started.
getState()
- Method in interface org.lastbamboo.common.download.
Downloader
Returns the current state of this downloader.
getState()
- Method in class org.lastbamboo.common.download.
DummySha1Downloader
getState()
- Method in class org.lastbamboo.common.download.
MultiSourceDownloader
getState()
- Method in class org.lastbamboo.common.download.
Sha1Downloader
getTimeRemaining()
- Method in interface org.lastbamboo.common.download.
MsDState.Downloading
Accessor for the time remaining.
getTimeRemaining()
- Method in class org.lastbamboo.common.download.
MsDState.LibTorrentDownloadingState
getTimeRemaining()
- Method in class org.lastbamboo.common.download.
MsDState.LimeWireDownloadingState
getTimeRemaining()
- Method in class org.lastbamboo.common.download.
MsDState.LittleShootDownloadingState
GETTING_SOURCES
- Static variable in interface org.lastbamboo.common.download.
MsDState
An instance of the getting sources state.
getTorrentFile()
- Method in interface org.lastbamboo.common.download.
TorrentDownloader
getTorrentState()
- Method in interface org.lastbamboo.common.download.
TorrentDownloader
getType()
- Method in class org.lastbamboo.common.download.
DownloaderState.AbstractFailed
getType()
- Method in class org.lastbamboo.common.download.
DownloaderState.AbstractRunning
getType()
- Method in class org.lastbamboo.common.download.
DownloaderState.AbstractSucceeded
getType()
- Method in interface org.lastbamboo.common.download.
DownloaderState
Returns the type of this state.
getUri()
- Method in interface org.lastbamboo.common.download.
TorrentDownloader
GnutellaDownloader
- Interface in
org.lastbamboo.common.download
H
handleInputStream(InputStream)
- Method in class org.lastbamboo.common.download.
SingleSourceDownloader
hashCode()
- Method in class org.lastbamboo.common.download.
MsDState.LibTorrentDownloadingState
hashCode()
- Method in class org.lastbamboo.common.download.
MsDState.LimeWireDownloadingState
hashCode()
- Method in class org.lastbamboo.common.download.
MsDState.LittleShootDownloadingState
hasMoreRanges()
- Method in interface org.lastbamboo.common.download.
RangeTracker
Returns whether or not there are available ranges to download.
hasMoreRanges()
- Method in class org.lastbamboo.common.download.
RangeTrackerAdapter
hasMoreRanges()
- Method in class org.lastbamboo.common.download.
RangeTrackerImpl
Returns whether or not there are available ranges to download.
hasMoreSources()
- Method in interface org.lastbamboo.common.download.
SourceRanker
Returns whether or not this ranker has more sources to download from.
hasMoreSources()
- Method in class org.lastbamboo.common.download.
SourceRankerImpl
I
IDLE
- Static variable in interface org.lastbamboo.common.download.
MsDState
An instance of the idle state.
IncreasingLongRangeComparator
- Class in
org.lastbamboo.common.download
Comparator for ranking ranges.
IncreasingLongRangeComparator()
- Constructor for class org.lastbamboo.common.download.
IncreasingLongRangeComparator
isStarted()
- Method in interface org.lastbamboo.common.download.
Downloader
Returns whether or not this downloader has already started.
isStarted()
- Method in class org.lastbamboo.common.download.
DummySha1Downloader
isStarted()
- Method in class org.lastbamboo.common.download.
MultiSourceDownloader
isStarted()
- Method in class org.lastbamboo.common.download.
Sha1Downloader
isStreamable()
- Method in class org.lastbamboo.common.download.
MultiSourceDownloader
isStreamable()
- Method in interface org.lastbamboo.common.download.
StreamableDownloader
Returns whether or not this downloader can be streamed.
issueHeadRequest()
- Method in interface org.lastbamboo.common.download.
RangeDownloader
Sends a head request to the server this downloader is downloading from.
issueHeadRequest()
- Method in class org.lastbamboo.common.download.
SingleSourceDownloader
L
LaunchFileDispatcher
- Class in
org.lastbamboo.common.download
Class for dispatching file download events to all the open file launchers/streamers.
LaunchFileDispatcher(File, RandomAccessFile, int, URI)
- Constructor for class org.lastbamboo.common.download.
LaunchFileDispatcher
Creates a new tracker for streaming the file to the browser.
LaunchFileTracker
- Interface in
org.lastbamboo.common.download
Tracker for the file to launch for immediate viewing.
LaunchFileTrackerAdapter
- Class in
org.lastbamboo.common.download
Adapter class for file launchers.
LaunchFileTrackerAdapter()
- Constructor for class org.lastbamboo.common.download.
LaunchFileTrackerAdapter
LittleShootDownloader
- Interface in
org.lastbamboo.common.download
LongRangeComparator
- Class in
org.lastbamboo.common.download
Comparator for ranking ranges.
LongRangeComparator()
- Constructor for class org.lastbamboo.common.download.
LongRangeComparator
M
MAX_CHUNK_SIZE
- Static variable in class org.lastbamboo.common.download.
DefaultRangeSizeSelector
The maximum size for chunks.
MIN_CHUNK_SIZE
- Static variable in class org.lastbamboo.common.download.
DefaultRangeSizeSelector
The minimum size for chunks.
MoverDState
<
DelegateStateT
> - Interface in
org.lastbamboo.common.download
The state for a downloader that moves a file from a temporary location to a permanent one.
MoverDState.Downloading
<
T
> - Interface in
org.lastbamboo.common.download
A state that indicates that the delegate downloader is downloading.
MoverDState.DownloadingImpl
<
T
> - Class in
org.lastbamboo.common.download
An implementation of the downloading state.
MoverDState.DownloadingImpl(T)
- Constructor for class org.lastbamboo.common.download.
MoverDState.DownloadingImpl
Constructs a new state.
MoverDState.Failed
<
T
> - Interface in
org.lastbamboo.common.download
A state that indicates that the delegate downloader has failed.
MoverDState.FailedImpl
<
T
> - Class in
org.lastbamboo.common.download
An implementation of the failed state.
MoverDState.FailedImpl(T)
- Constructor for class org.lastbamboo.common.download.
MoverDState.FailedImpl
Constructs a new state.
MoverDState.Moved
<
T
> - Interface in
org.lastbamboo.common.download
A state that indicates that the temporary file has been moved.
MoverDState.MovedImpl
<
T
> - Class in
org.lastbamboo.common.download
An implementation of the moved state.
MoverDState.MovedImpl()
- Constructor for class org.lastbamboo.common.download.
MoverDState.MovedImpl
MoverDState.MovedToITunes
<
T
> - Interface in
org.lastbamboo.common.download
A state that indicates that the file has been added to iTunes.
MoverDState.MovedToITunesImpl
<
T
> - Class in
org.lastbamboo.common.download
An implementation of the moved state.
MoverDState.MovedToITunesImpl()
- Constructor for class org.lastbamboo.common.download.
MoverDState.MovedToITunesImpl
MoverDState.MoveFailed
<
T
> - Interface in
org.lastbamboo.common.download
A state that indicates that the attempt to move the temporary file failed.
MoverDState.MoveFailedImpl
<
T
> - Class in
org.lastbamboo.common.download
An implementation of the move failed state.
MoverDState.MoveFailedImpl()
- Constructor for class org.lastbamboo.common.download.
MoverDState.MoveFailedImpl
MoverDState.Moving
<
T
> - Interface in
org.lastbamboo.common.download
A state that indicates that the temporary file is in the process of being moved.
MoverDState.MovingImpl
<
T
> - Class in
org.lastbamboo.common.download
An implementation of the moving state.
MoverDState.MovingImpl()
- Constructor for class org.lastbamboo.common.download.
MoverDState.MovingImpl
MoverDState.Visitor
<
T
,
DelegateStateT
> - Interface in
org.lastbamboo.common.download
A visitor for a mover downloader state.
MoverDState.VisitorAdapter
<
T
,
DelegateStateT
> - Class in
org.lastbamboo.common.download
An adaptor to help implement visitors.
MoverDState.VisitorAdapter(T)
- Constructor for class org.lastbamboo.common.download.
MoverDState.VisitorAdapter
Constructs a new visitor adapter.
MsDState
- Interface in
org.lastbamboo.common.download
The state for multi-source downloaders.
MsDState.Canceled
- Interface in
org.lastbamboo.common.download
A state that indicates that the downloader was canceled.
MsDState.CanceledImpl
- Class in
org.lastbamboo.common.download
An implementation of the canceled state.
MsDState.CanceledImpl()
- Constructor for class org.lastbamboo.common.download.
MsDState.CanceledImpl
MsDState.Complete
- Interface in
org.lastbamboo.common.download
A state that indicates that the downloader is done downloading.
MsDState.CompleteImpl
- Class in
org.lastbamboo.common.download
An implementation of the complete state.
MsDState.CompleteImpl()
- Constructor for class org.lastbamboo.common.download.
MsDState.CompleteImpl
MsDState.CouldNotDetermineSources
- Interface in
org.lastbamboo.common.download
A state that indicates that the downloader could not determine any sources for the content.
MsDState.CouldNotDetermineSourcesImpl
- Class in
org.lastbamboo.common.download
An implementation of the could not determine sources state.
MsDState.CouldNotDetermineSourcesImpl()
- Constructor for class org.lastbamboo.common.download.
MsDState.CouldNotDetermineSourcesImpl
MsDState.Downloading
- Interface in
org.lastbamboo.common.download
A state that indicates that the downloader is downloading.
MsDState.Failed
- Interface in
org.lastbamboo.common.download
A state that indicates that the downloader failed.
MsDState.FailedImpl
- Class in
org.lastbamboo.common.download
An implementation of the failed state.
MsDState.FailedImpl()
- Constructor for class org.lastbamboo.common.download.
MsDState.FailedImpl
MsDState.GettingSources
- Interface in
org.lastbamboo.common.download
A state that indicates that the downloader is getting sources.
MsDState.GettingSourcesImpl
- Class in
org.lastbamboo.common.download
An implementation of the getting sources state.
MsDState.GettingSourcesImpl()
- Constructor for class org.lastbamboo.common.download.
MsDState.GettingSourcesImpl
MsDState.Idle
- Interface in
org.lastbamboo.common.download
A state that indicates that the downloader is idle.
MsDState.IdleImpl
- Class in
org.lastbamboo.common.download
An implementation of the idle state.
MsDState.IdleImpl()
- Constructor for class org.lastbamboo.common.download.
MsDState.IdleImpl
MsDState.LibTorrentDownloading
- Interface in
org.lastbamboo.common.download
A state for LibTorrent downloading.
MsDState.LibTorrentDownloadingState
- Class in
org.lastbamboo.common.download
An implementation of the LibTorrent downloading state.
MsDState.LibTorrentDownloadingState(int, int, long, int, long, long)
- Constructor for class org.lastbamboo.common.download.
MsDState.LibTorrentDownloadingState
Constructs a new downloading state.
MsDState.LimeWireDownloading
- Interface in
org.lastbamboo.common.download
A state for LimeWire downloading.
MsDState.LimeWireDownloadingState
- Class in
org.lastbamboo.common.download
An implementation of the LimeWire downloading state.
MsDState.LimeWireDownloadingState(double, int, long, long)
- Constructor for class org.lastbamboo.common.download.
MsDState.LimeWireDownloadingState
Constructs a new downloading state.
MsDState.LittleShootDownloading
- Interface in
org.lastbamboo.common.download
A state for LittleShoot downloading.
MsDState.LittleShootDownloadingState
- Class in
org.lastbamboo.common.download
An implementation of the downloading state.
MsDState.LittleShootDownloadingState(RateCalculator, int, long)
- Constructor for class org.lastbamboo.common.download.
MsDState.LittleShootDownloadingState
Constructs a new downloading state.
MsDState.NoSourcesAvailable
- Interface in
org.lastbamboo.common.download
A state that indicates that the downloader could not find any available sources.
MsDState.NoSourcesAvailableImpl
- Class in
org.lastbamboo.common.download
An implementation of the no sources available state.
MsDState.NoSourcesAvailableImpl()
- Constructor for class org.lastbamboo.common.download.
MsDState.NoSourcesAvailableImpl
MsDState.Paused
- Interface in
org.lastbamboo.common.download
A state that indicates that the downloader is paused.
MsDState.PausedImpl
- Class in
org.lastbamboo.common.download
An implementation of the paused state.
MsDState.PausedImpl(MsDState.Downloading)
- Constructor for class org.lastbamboo.common.download.
MsDState.PausedImpl
Creates a new paused state.
MsDState.Visitor
<
T
> - Interface in
org.lastbamboo.common.download
A visitor for a downloader state.
MsDState.VisitorAdapter
<
T
> - Class in
org.lastbamboo.common.download
An adaptor to help implement visitors.
MsDState.VisitorAdapter(T)
- Constructor for class org.lastbamboo.common.download.
MsDState.VisitorAdapter
Constructs a new visitor adapter.
MultiSourceDownloader
- Class in
org.lastbamboo.common.download
A downloader that can download from multiple sources simultaneously.
MultiSourceDownloader(File, URI, long, UriResolver, int, URI, File, boolean)
- Constructor for class org.lastbamboo.common.download.
MultiSourceDownloader
Constructs a new downloader.
N
NO_SOURCES_AVAILABLE
- Static variable in interface org.lastbamboo.common.download.
MsDState
An instance of the no sources available state.
O
onAvailable(RangeDownloader)
- Method in interface org.lastbamboo.common.download.
SourceRanker
Notifies the ranker that the given source is available for work.
onAvailable(RangeDownloader)
- Method in class org.lastbamboo.common.download.
SourceRankerImpl
onBadHeader(String)
- Method in class org.lastbamboo.common.download.
SingleSourceDownloader
onBytesRead(RangeDownloader)
- Method in interface org.lastbamboo.common.download.
RangeDownloadListener
Called when a set of bytes are read for a given range.
onBytesRead(int)
- Method in class org.lastbamboo.common.download.
SingleSourceDownloader
onConnect(RangeDownloader)
- Method in interface org.lastbamboo.common.download.
RangeDownloadListener
Called when a give downloader has established a connection.
onConnect(long)
- Method in class org.lastbamboo.common.download.
SingleSourceDownloader
onContentLength(long)
- Method in class org.lastbamboo.common.download.
SingleSourceDownloader
onContentRange(LongRange)
- Method in class org.lastbamboo.common.download.
SingleSourceDownloader
onCouldNotConnect()
- Method in class org.lastbamboo.common.download.
SingleSourceDownloader
onDownloadFinished(RangeDownloader)
- Method in interface org.lastbamboo.common.download.
RangeDownloadListener
Notification that the download has finished.
onDownloadStarted(RangeDownloader)
- Method in interface org.lastbamboo.common.download.
RangeDownloadListener
Called when the download has begun.
onDownloadStarted()
- Method in class org.lastbamboo.common.download.
SingleSourceDownloader
onDownloadStopped()
- Method in class org.lastbamboo.common.download.
DownloadingFileLauncher
onDownloadStopped()
- Method in class org.lastbamboo.common.download.
LaunchFileDispatcher
onDownloadStopped()
- Method in interface org.lastbamboo.common.download.
LaunchFileTracker
Called when a download is stopped.
onDownloadStopped()
- Method in class org.lastbamboo.common.download.
LaunchFileTrackerAdapter
onFail(RangeDownloader)
- Method in interface org.lastbamboo.common.download.
RangeDownloadListener
Called when the download has failed.
onFailed()
- Method in interface org.lastbamboo.common.download.
SourceRanker
onFailed()
- Method in class org.lastbamboo.common.download.
SourceRankerImpl
onFailure()
- Method in class org.lastbamboo.common.download.
DownloadingFileLauncher
onFailure()
- Method in class org.lastbamboo.common.download.
LaunchFileDispatcher
onFailure()
- Method in interface org.lastbamboo.common.download.
LaunchFileTracker
Called when a download fails for any reason.
onFailure()
- Method in class org.lastbamboo.common.download.
LaunchFileTrackerAdapter
onFailure()
- Method in class org.lastbamboo.common.download.
SingleSourceDownloader
onFileComplete()
- Method in class org.lastbamboo.common.download.
DownloadingFileLauncher
onFileComplete()
- Method in class org.lastbamboo.common.download.
LaunchFileDispatcher
onFileComplete()
- Method in interface org.lastbamboo.common.download.
LaunchFileTracker
Called when the file download has completed.
onFileComplete()
- Method in class org.lastbamboo.common.download.
LaunchFileTrackerAdapter
onHttpException(HttpException)
- Method in class org.lastbamboo.common.download.
SingleSourceDownloader
onMessageBodyRead()
- Method in class org.lastbamboo.common.download.
SingleSourceDownloader
onNoTwoHundredOk(int)
- Method in class org.lastbamboo.common.download.
SingleSourceDownloader
onPermanentFailure()
- Method in class org.lastbamboo.common.download.
SingleSourceDownloader
onRangeComplete(LongRange)
- Method in class org.lastbamboo.common.download.
DownloadingFileLauncher
onRangeComplete(LongRange)
- Method in class org.lastbamboo.common.download.
LaunchFileDispatcher
onRangeComplete(LongRange)
- Method in class org.lastbamboo.common.download.
LaunchFileTrackerAdapter
onRangeComplete(LongRange)
- Method in interface org.lastbamboo.common.download.
RangeTracker
Called when we've completed downloading the specified range.
onRangeComplete(LongRange)
- Method in class org.lastbamboo.common.download.
RangeTrackerAdapter
onRangeComplete(LongRange)
- Method in class org.lastbamboo.common.download.
RangeTrackerImpl
Called when we've completed downloading the specified range.
onRangeFailed(LongRange)
- Method in interface org.lastbamboo.common.download.
RangeTracker
Called when the attempt to download the specified range has failed.
onRangeFailed(LongRange)
- Method in class org.lastbamboo.common.download.
RangeTrackerAdapter
onRangeFailed(LongRange)
- Method in class org.lastbamboo.common.download.
RangeTrackerImpl
Called when the attempt to download the specified range has failed.
onStatusEvent(String)
- Method in class org.lastbamboo.common.download.
SingleSourceDownloader
org.lastbamboo.common.download
- package org.lastbamboo.common.download
P
pause()
- Method in interface org.lastbamboo.common.download.
Downloader
Pauses the download.
pause()
- Method in class org.lastbamboo.common.download.
DummySha1Downloader
pause()
- Method in class org.lastbamboo.common.download.
MultiSourceDownloader
pause()
- Method in class org.lastbamboo.common.download.
Sha1Downloader
R
RangeDownloader
- Interface in
org.lastbamboo.common.download
Interface for classes that can initiate downloads.
RangeDownloadListener
- Interface in
org.lastbamboo.common.download
Listens for connection events.
RangeSizeSelector
- Interface in
org.lastbamboo.common.download
Interface for algorithms for selecting the size of ranges based on the number of available download sources and the size of files.
RangeTracker
- Interface in
org.lastbamboo.common.download
Interface for tracking download ranges.
RangeTrackerAdapter
- Class in
org.lastbamboo.common.download
Adapter for a range tracker.
RangeTrackerAdapter()
- Constructor for class org.lastbamboo.common.download.
RangeTrackerAdapter
RangeTrackerImpl
- Class in
org.lastbamboo.common.download
Class for keeping track of ranges for a single download.
RangeTrackerImpl(long, int)
- Constructor for class org.lastbamboo.common.download.
RangeTrackerImpl
Creates a new range tracker for a file of the specified size.
RangeTrackerImpl(long, int, RangeSizeSelector)
- Constructor for class org.lastbamboo.common.download.
RangeTrackerImpl
Creates a new range tracker for a file of the specified size.
RateCalculator
- Interface in
org.lastbamboo.common.download
An interface to an object that helps calculate rates.
RateCalculatorImpl
- Class in
org.lastbamboo.common.download
An implementation of the rate calculator interface.
RateCalculatorImpl()
- Constructor for class org.lastbamboo.common.download.
RateCalculatorImpl
Constructs a new rate calculator.
RateSegment
- Interface in
org.lastbamboo.common.download
A segment that can be used to calculate an overall rate.
RateSegmentImpl
- Class in
org.lastbamboo.common.download
An implementation of the rate segment interface.
RateSegmentImpl(long, long, long)
- Constructor for class org.lastbamboo.common.download.
RateSegmentImpl
Constructs a new segment.
removeListener(DownloaderListener<T>)
- Method in class org.lastbamboo.common.download.
AbstractDownloader
removeListener(DownloaderListener<StateT>)
- Method in interface org.lastbamboo.common.download.
Downloader
Removes a listener that was being notified of events of this downloader.
resolve(URI)
- Method in interface org.lastbamboo.common.download.
UriResolver
Accesses the available sources for a single URI.
resume()
- Method in interface org.lastbamboo.common.download.
Downloader
Resumes the download.
resume()
- Method in class org.lastbamboo.common.download.
DummySha1Downloader
resume()
- Method in class org.lastbamboo.common.download.
MultiSourceDownloader
resume()
- Method in class org.lastbamboo.common.download.
Sha1Downloader
S
selectSize(long, int)
- Method in class org.lastbamboo.common.download.
DefaultRangeSizeSelector
selectSize(long, int)
- Method in interface org.lastbamboo.common.download.
RangeSizeSelector
Selects the size of ranges based on the file size and the number of sources for the download.
setSeeding(boolean)
- Method in interface org.lastbamboo.common.download.
TorrentDownloader
Sha1Downloader
<
DsT
extends
DownloaderState
> - Class in
org.lastbamboo.common.download
A downloader that checks the SHA-1 of a resource downloaded by a delegate downloader.
Sha1Downloader(Downloader<DsT>, URI, long)
- Constructor for class org.lastbamboo.common.download.
Sha1Downloader
Constructs a new downloader.
Sha1DState
<
DelegateStateT
> - Interface in
org.lastbamboo.common.download
The state for the SHA-1 verifying downloader.
Sha1DState.Downloading
<
T
> - Interface in
org.lastbamboo.common.download
A state that indicates that the delegate downloader is downloading.
Sha1DState.DownloadingImpl
<
T
> - Class in
org.lastbamboo.common.download
An implementation of the downloading state.
Sha1DState.DownloadingImpl(T)
- Constructor for class org.lastbamboo.common.download.
Sha1DState.DownloadingImpl
Constructs a new state.
Sha1DState.Failed
<
T
> - Interface in
org.lastbamboo.common.download
A state that indicates that the delegate downloader has failed.
Sha1DState.FailedImpl
<
T
> - Class in
org.lastbamboo.common.download
An implementation of the failed state.
Sha1DState.FailedImpl(T)
- Constructor for class org.lastbamboo.common.download.
Sha1DState.FailedImpl
Constructs a new state.
Sha1DState.Sha1Mismatch
<
T
> - Interface in
org.lastbamboo.common.download
A state that indicates the SHA-1 did not match the expected value.
Sha1DState.Sha1MismatchImpl
<
T
> - Class in
org.lastbamboo.common.download
An implementation of the SHA-1 mismatch state.
Sha1DState.Sha1MismatchImpl()
- Constructor for class org.lastbamboo.common.download.
Sha1DState.Sha1MismatchImpl
Sha1DState.VerifiedSha1
<
T
> - Interface in
org.lastbamboo.common.download
A state that indicates the SHA-1 has been verified.
Sha1DState.VerifiedSha1Impl
<
T
> - Class in
org.lastbamboo.common.download
An implementation of the verified SHA-1 state.
Sha1DState.VerifiedSha1Impl()
- Constructor for class org.lastbamboo.common.download.
Sha1DState.VerifiedSha1Impl
Sha1DState.VerifyingSha1
<
T
> - Interface in
org.lastbamboo.common.download
A state that indicates the SHA-1 is in the process of being verified.
Sha1DState.VerifyingSha1Impl
<
T
> - Class in
org.lastbamboo.common.download
An implementation of the verifying SHA-1 state.
Sha1DState.VerifyingSha1Impl()
- Constructor for class org.lastbamboo.common.download.
Sha1DState.VerifyingSha1Impl
Sha1DState.Visitor
<
T
,
DelegateStateT
> - Interface in
org.lastbamboo.common.download
A visitor for a SHA-1 downloader state.
Sha1DState.VisitorAdapter
<
T
,
DelegateStateT
> - Class in
org.lastbamboo.common.download
An adaptor to help implement visitors.
Sha1DState.VisitorAdapter(T)
- Constructor for class org.lastbamboo.common.download.
Sha1DState.VisitorAdapter
Constructs a new visitor adapter.
Sha1Exception
- Exception in
org.lastbamboo.common.download
Exception thrown when SHA-1s do not match.
Sha1Exception(String)
- Constructor for exception org.lastbamboo.common.download.
Sha1Exception
Creates the exception.
SingleSourceDownloader
- Class in
org.lastbamboo.common.download
Downloads data from a single source.
SingleSourceDownloader(CommonsHttpClient, URI, RangeDownloadListener, SourceRanker, RangeTracker, LaunchFileTracker, RandomAccessFile)
- Constructor for class org.lastbamboo.common.download.
SingleSourceDownloader
Creates a downloader for downloading from a specific source.
SourceRanker
- Interface in
org.lastbamboo.common.download
Interface for classes that rank available download sources.
SourceRankerImpl
- Class in
org.lastbamboo.common.download
Class that ranks available download sources.
SourceRankerImpl(Comparator<RangeDownloader>)
- Constructor for class org.lastbamboo.common.download.
SourceRankerImpl
Creates a new ranker.
SourceStatus
- Interface in
org.lastbamboo.common.download
The download status for a single source.
start()
- Method in interface org.lastbamboo.common.download.
Downloader
Starts downloading the resource.
start()
- Method in class org.lastbamboo.common.download.
DummySha1Downloader
start()
- Method in class org.lastbamboo.common.download.
MultiSourceDownloader
start()
- Method in class org.lastbamboo.common.download.
Sha1Downloader
stateChanged(StateT)
- Method in interface org.lastbamboo.common.download.
DownloaderListener
Notification that the downloader state has changed.
stop(boolean)
- Method in interface org.lastbamboo.common.download.
Downloader
Stops the download.
stop(boolean)
- Method in class org.lastbamboo.common.download.
DummySha1Downloader
stop(boolean)
- Method in class org.lastbamboo.common.download.
MultiSourceDownloader
stop(boolean)
- Method in class org.lastbamboo.common.download.
Sha1Downloader
StreamableDownloader
- Interface in
org.lastbamboo.common.download
Super-interface for downloaders that may or may not be capable of streaming.
T
TorrentDownloader
- Interface in
org.lastbamboo.common.download
Interface for torrent downloads.
toString()
- Method in class org.lastbamboo.common.download.
SingleSourceDownloader
U
UriResolver
- Interface in
org.lastbamboo.common.download
Interface for classes that can resolve URIs to download sources for that URI.
V
valueOf(String)
- Static method in enum org.lastbamboo.common.download.
DownloaderStateType
Returns the enum constant of this type with the specified name.
values()
- Static method in enum org.lastbamboo.common.download.
DownloaderStateType
Returns an array containing the constants of this enum type, in the order they are declared.
VisitableDownloader
<
StateT
> - Interface in
org.lastbamboo.common.download
Interface for downloaders that are visitable by visitors.
visitCanceled(MsDState.Canceled)
- Method in interface org.lastbamboo.common.download.
MsDState.Visitor
Visits a canceled state.
visitCanceled(MsDState.Canceled)
- Method in class org.lastbamboo.common.download.
MsDState.VisitorAdapter
visitComplete(MsDState.Complete)
- Method in interface org.lastbamboo.common.download.
MsDState.Visitor
Visits a complete state.
visitComplete(MsDState.Complete)
- Method in class org.lastbamboo.common.download.
MsDState.VisitorAdapter
visitCouldNotDetermineSources(MsDState.CouldNotDetermineSources)
- Method in interface org.lastbamboo.common.download.
MsDState.Visitor
Visits a could not determine sources state.
visitCouldNotDetermineSources(MsDState.CouldNotDetermineSources)
- Method in class org.lastbamboo.common.download.
MsDState.VisitorAdapter
visitDownloading(MoverDState.Downloading<DelegateStateT>)
- Method in interface org.lastbamboo.common.download.
MoverDState.Visitor
Visits a downloading state.
visitDownloading(MoverDState.Downloading<DelegateStateT>)
- Method in class org.lastbamboo.common.download.
MoverDState.VisitorAdapter
visitDownloading(Sha1DState.Downloading<DelegateStateT>)
- Method in interface org.lastbamboo.common.download.
Sha1DState.Visitor
Visits a downloading state.
visitDownloading(Sha1DState.Downloading<DelegateStateT>)
- Method in class org.lastbamboo.common.download.
Sha1DState.VisitorAdapter
visitFailed(MoverDState.Failed<DelegateStateT>)
- Method in interface org.lastbamboo.common.download.
MoverDState.Visitor
Visits a failed state.
visitFailed(MoverDState.Failed<DelegateStateT>)
- Method in class org.lastbamboo.common.download.
MoverDState.VisitorAdapter
visitFailed(MsDState.Failed)
- Method in interface org.lastbamboo.common.download.
MsDState.Visitor
Visits a general failed state.
visitFailed(MsDState.Failed)
- Method in class org.lastbamboo.common.download.
MsDState.VisitorAdapter
visitFailed(Sha1DState.Failed<DelegateStateT>)
- Method in interface org.lastbamboo.common.download.
Sha1DState.Visitor
Visits a downloading state.
visitFailed(Sha1DState.Failed<DelegateStateT>)
- Method in class org.lastbamboo.common.download.
Sha1DState.VisitorAdapter
visitGettingSources(MsDState.GettingSources)
- Method in interface org.lastbamboo.common.download.
MsDState.Visitor
Visits a getting sources state.
visitGettingSources(MsDState.GettingSources)
- Method in class org.lastbamboo.common.download.
MsDState.VisitorAdapter
visitGnutellaDownloader(GnutellaDownloader)
- Method in interface org.lastbamboo.common.download.
DownloadVisitor
visitIdle(MsDState.Idle)
- Method in interface org.lastbamboo.common.download.
MsDState.Visitor
Visits an idle state.
visitIdle(MsDState.Idle)
- Method in class org.lastbamboo.common.download.
MsDState.VisitorAdapter
visitLibTorrentDownloading(MsDState.LibTorrentDownloading)
- Method in interface org.lastbamboo.common.download.
MsDState.Visitor
Visits a downloading state for a LibTorrent download.
visitLibTorrentDownloading(MsDState.LibTorrentDownloading)
- Method in class org.lastbamboo.common.download.
MsDState.VisitorAdapter
visitLimeWireDownloading(MsDState.LimeWireDownloading)
- Method in interface org.lastbamboo.common.download.
MsDState.Visitor
Visits a downloading state for a LimeWire download.
visitLimeWireDownloading(MsDState.LimeWireDownloading)
- Method in class org.lastbamboo.common.download.
MsDState.VisitorAdapter
visitLittleShootDownloader(LittleShootDownloader)
- Method in interface org.lastbamboo.common.download.
DownloadVisitor
visitLittleShootDownloading(MsDState.LittleShootDownloading)
- Method in interface org.lastbamboo.common.download.
MsDState.Visitor
Visits a downloading state for a LittleShoot download.
visitLittleShootDownloading(MsDState.LittleShootDownloading)
- Method in class org.lastbamboo.common.download.
MsDState.VisitorAdapter
visitMoved(MoverDState.Moved<DelegateStateT>)
- Method in interface org.lastbamboo.common.download.
MoverDState.Visitor
Visits a moved state.
visitMoved(MoverDState.Moved<DelegateStateT>)
- Method in class org.lastbamboo.common.download.
MoverDState.VisitorAdapter
visitMovedToITunes(MoverDState.MovedToITunes<DelegateStateT>)
- Method in interface org.lastbamboo.common.download.
MoverDState.Visitor
Visits a moved to iTunes state.
visitMovedToITunes(MoverDState.MovedToITunes<DelegateStateT>)
- Method in class org.lastbamboo.common.download.
MoverDState.VisitorAdapter
visitMoveFailed(MoverDState.MoveFailed<DelegateStateT>)
- Method in interface org.lastbamboo.common.download.
MoverDState.Visitor
Visits a move failed state.
visitMoveFailed(MoverDState.MoveFailed<DelegateStateT>)
- Method in class org.lastbamboo.common.download.
MoverDState.VisitorAdapter
visitMoving(MoverDState.Moving<DelegateStateT>)
- Method in interface org.lastbamboo.common.download.
MoverDState.Visitor
Visits a moving state.
visitMoving(MoverDState.Moving<DelegateStateT>)
- Method in class org.lastbamboo.common.download.
MoverDState.VisitorAdapter
visitNoSourcesAvailable(MsDState.NoSourcesAvailable)
- Method in interface org.lastbamboo.common.download.
MsDState.Visitor
Visits a no sources available state.
visitNoSourcesAvailable(MsDState.NoSourcesAvailable)
- Method in class org.lastbamboo.common.download.
MsDState.VisitorAdapter
visitPaused(MsDState.Paused)
- Method in interface org.lastbamboo.common.download.
MsDState.Visitor
Visits a paused state.
visitPaused(MsDState.Paused)
- Method in class org.lastbamboo.common.download.
MsDState.VisitorAdapter
visitSha1Mismatch(Sha1DState.Sha1Mismatch<DelegateStateT>)
- Method in interface org.lastbamboo.common.download.
Sha1DState.Visitor
Visits a SHA-1 mismatch state.
visitSha1Mismatch(Sha1DState.Sha1Mismatch<DelegateStateT>)
- Method in class org.lastbamboo.common.download.
Sha1DState.VisitorAdapter
visitTorrentDownloader(TorrentDownloader)
- Method in interface org.lastbamboo.common.download.
DownloadVisitor
visitVerifiedSha1(Sha1DState.VerifiedSha1<DelegateStateT>)
- Method in interface org.lastbamboo.common.download.
Sha1DState.Visitor
Visits a verified SHA-1 state.
visitVerifiedSha1(Sha1DState.VerifiedSha1<DelegateStateT>)
- Method in class org.lastbamboo.common.download.
Sha1DState.VisitorAdapter
visitVerifyingSha1(Sha1DState.VerifyingSha1<DelegateStateT>)
- Method in interface org.lastbamboo.common.download.
Sha1DState.Visitor
Visits a verifying SHA-1 state.
visitVerifyingSha1(Sha1DState.VerifyingSha1<DelegateStateT>)
- Method in class org.lastbamboo.common.download.
Sha1DState.VisitorAdapter
W
waitForLaunchersToComplete()
- Method in class org.lastbamboo.common.download.
DownloadingFileLauncher
waitForLaunchersToComplete()
- Method in class org.lastbamboo.common.download.
LaunchFileDispatcher
waitForLaunchersToComplete()
- Method in interface org.lastbamboo.common.download.
LaunchFileTracker
Waits until all active launcher have finished their writes, typically to the browser.
waitForLaunchersToComplete()
- Method in class org.lastbamboo.common.download.
LaunchFileTrackerAdapter
write(OutputStream, boolean)
- Method in interface org.lastbamboo.common.download.
Downloader
Writes the resource that this downloader downloads to a given stream.
write(OutputStream, boolean)
- Method in class org.lastbamboo.common.download.
DownloadingFileLauncher
write(OutputStream, boolean)
- Method in class org.lastbamboo.common.download.
DummySha1Downloader
write(OutputStream, boolean)
- Method in class org.lastbamboo.common.download.
LaunchFileDispatcher
write(OutputStream, boolean)
- Method in interface org.lastbamboo.common.download.
LaunchFileTracker
Writes the file to the specified stream.
write(OutputStream, boolean)
- Method in class org.lastbamboo.common.download.
LaunchFileTrackerAdapter
write(OutputStream, boolean)
- Method in class org.lastbamboo.common.download.
MultiSourceDownloader
write(OutputStream, boolean)
- Method in class org.lastbamboo.common.download.
Sha1Downloader
A
C
D
E
F
G
H
I
L
M
N
O
P
R
S
T
U
V
W
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2013
LittleShoot
. All Rights Reserved.