A B C D E F G I L N O P Q R S T U V W 

A

acceptable(String) - Method in interface info.dolezel.fatrat.plugins.extra.URLAcceptableFilter
Return 0 if the plugin cannot handle this URL.
AccountStatusPlugin - Class in info.dolezel.fatrat.plugins
Premium account balance display plugin.
AccountStatusPlugin() - Constructor for class info.dolezel.fatrat.plugins.AccountStatusPlugin
 
AccountStatusPlugin.AccountState - Enum in info.dolezel.fatrat.plugins
Account state.
AccountStatusPluginInfo - Annotation Type in info.dolezel.fatrat.plugins.annotations
 
add(String, String) - Method in class info.dolezel.fatrat.plugins.util.PostQuery
Adds a key-value pair into the url-encoded query string.
adviseState(long) - Static method in class info.dolezel.fatrat.plugins.AccountStatusPlugin
This method is used to make assess the number of bytes left on the account.

B

BackgroundWorker<T,V> - Class in info.dolezel.fatrat.plugins.util
A helper classed used to perform lengthy tasks in a background thread.
BackgroundWorker() - Constructor for class info.dolezel.fatrat.plugins.util.BackgroundWorker
 

C

CaptchaListener - Interface in info.dolezel.fatrat.plugins.listeners
Implement this interface to receive captcha solver events.
checkResponse(ByteBuffer, Map<String, String>) - Method in class info.dolezel.fatrat.plugins.UploadPlugin
Called to perform checks whether the upload was OK and to extract the download link.
ConfigDialog - Annotation Type in info.dolezel.fatrat.plugins.annotations
 
ConfigListener - Interface in info.dolezel.fatrat.plugins.listeners
Implement this interface to receive a notification when the user makes changes to the application configuration.
configurationSaved() - Method in interface info.dolezel.fatrat.plugins.listeners.ConfigListener
 

D

doInBackground() - Method in class info.dolezel.fatrat.plugins.util.BackgroundWorker
This method is executed in the background thread.
done() - Method in class info.dolezel.fatrat.plugins.util.BackgroundWorker
This method is executed in the main thread after doInBackground() returns.
DownloadPlugin - Class in info.dolezel.fatrat.plugins
Extend this class to create a new download plugin.
DownloadPlugin() - Constructor for class info.dolezel.fatrat.plugins.DownloadPlugin
 
DownloadPluginInfo - Annotation Type in info.dolezel.fatrat.plugins.annotations
 
DownloadUrl - Class in info.dolezel.fatrat.plugins.extra
A structure that holds all the information needed in order to initiate a download.
DownloadUrl(String) - Constructor for class info.dolezel.fatrat.plugins.extra.DownloadUrl
 

E

execute() - Method in class info.dolezel.fatrat.plugins.util.BackgroundWorker
Starts the background task.
extractList(String, ByteBuffer, Map<String, String>) - Method in class info.dolezel.fatrat.plugins.ExtractorPlugin
Called by the application to extract all the links in the page.
ExtractorPlugin - Class in info.dolezel.fatrat.plugins
A plugin that is used for link folder extraction.
ExtractorPlugin() - Constructor for class info.dolezel.fatrat.plugins.ExtractorPlugin
 
ExtractorPluginInfo - Annotation Type in info.dolezel.fatrat.plugins.annotations
 
extraInfo - Variable in class info.dolezel.fatrat.plugins.SearchPlugin.SearchResult
 

F

fetchPage(String, PageFetchListener) - Method in class info.dolezel.fatrat.plugins.Plugin
Downloads the specified URL.
fetchPage(String, PageFetchListener, String) - Method in class info.dolezel.fatrat.plugins.Plugin
Downloads the specified URL.
fetchPage(String, PageFetchListener, String, Map<String, String>) - Method in class info.dolezel.fatrat.plugins.Plugin
 
fileReadAll(String) - Static method in class info.dolezel.fatrat.plugins.util.FileUtils
Reads the whole file and returns it as a String.
fileReadLine(String) - Static method in class info.dolezel.fatrat.plugins.util.FileUtils
Returns the first line from the file.
fileSize - Variable in class info.dolezel.fatrat.plugins.SearchPlugin.SearchResult
 
FileUtils - Class in info.dolezel.fatrat.plugins.util
 
finalCheck(String) - Method in class info.dolezel.fatrat.plugins.DownloadPlugin
Reimplement if you need to check e.g. for HTML files containing 'File not found' after you call DownloadPlugin.startDownload(info.dolezel.fatrat.plugins.extra.DownloadUrl)
finalize() - Method in class info.dolezel.fatrat.plugins.NativeObject
 
finishedExtraction(String[]) - Method in class info.dolezel.fatrat.plugins.ExtractorPlugin
Report the result of plugin's work to the application.
formatSize(long) - Static method in class info.dolezel.fatrat.plugins.util.FormatUtils
Formats the file size as a string, e.g. 1024 -> 1 KB etc.
formatTime(int) - Static method in class info.dolezel.fatrat.plugins.DownloadPlugin
Deprecated. 
formatTime(int) - Static method in class info.dolezel.fatrat.plugins.util.FormatUtils
Formats the time information as a string.
FormatUtils - Class in info.dolezel.fatrat.plugins.util
 

G

get() - Method in class info.dolezel.fatrat.plugins.util.BackgroundWorker
Blocks until the background thread finishes and returns the value returned from that thread.
getFileName() - Method in class info.dolezel.fatrat.plugins.extra.DownloadUrl
 
getPersistentVariable(String) - Method in class info.dolezel.fatrat.plugins.TransferPlugin
Gets a transfer specific variable.
getPostData() - Method in class info.dolezel.fatrat.plugins.extra.DownloadUrl
 
getReferrer() - Method in class info.dolezel.fatrat.plugins.extra.DownloadUrl
 
getUrl() - Method in class info.dolezel.fatrat.plugins.extra.DownloadUrl
 
getUserAgent() - Method in class info.dolezel.fatrat.plugins.extra.DownloadUrl
 
getValue(String, Object) - Static method in class info.dolezel.fatrat.plugins.config.Settings
Gets a global persistent value.
getValueArray(String) - Static method in class info.dolezel.fatrat.plugins.config.Settings
Gets an array of values under the key.

I

info.dolezel.fatrat.plugins - package info.dolezel.fatrat.plugins
 
info.dolezel.fatrat.plugins.annotations - package info.dolezel.fatrat.plugins.annotations
 
info.dolezel.fatrat.plugins.config - package info.dolezel.fatrat.plugins.config
 
info.dolezel.fatrat.plugins.extra - package info.dolezel.fatrat.plugins.extra
 
info.dolezel.fatrat.plugins.listeners - package info.dolezel.fatrat.plugins.listeners
 
info.dolezel.fatrat.plugins.util - package info.dolezel.fatrat.plugins.util
 

L

logMessage(String) - Method in class info.dolezel.fatrat.plugins.TransferPlugin
Puts a message into the transfer log

N

name - Variable in class info.dolezel.fatrat.plugins.SearchPlugin.SearchResult
 
name - Variable in class info.dolezel.fatrat.plugins.UploadPlugin.MimePart
HTTP form field name
NativeObject - Class in info.dolezel.fatrat.plugins
Internal class used by FatRat to manage Java object references.
NativeObject() - Constructor for class info.dolezel.fatrat.plugins.NativeObject
 

O

onCompleted(ByteBuffer, Map<String, String>) - Method in interface info.dolezel.fatrat.plugins.listeners.PageFetchListener
Called after the request page has been fetched.
onFailed() - Method in class info.dolezel.fatrat.plugins.DownloadPlugin
Called from native code to notify the plugin that the download has failed either because of TransferPlugin.setState(info.dolezel.fatrat.plugins.TransferPlugin.State) or TransferPlugin.setFailed(java.lang.String) called by the extension or because of an HTTP failure encountered in the native code.
onFailed() - Method in interface info.dolezel.fatrat.plugins.listeners.CaptchaListener
Called if FatRat failed to get a captcha solution.
onFailed(String) - Method in interface info.dolezel.fatrat.plugins.listeners.PageFetchListener
Called if FatRat failed to fetch the requested URL.
onFailed() - Method in interface info.dolezel.fatrat.plugins.listeners.ReCaptchaListener
Called if FatRat failed to get a captcha solution.
onSecondElapsed(int) - Method in interface info.dolezel.fatrat.plugins.listeners.WaitListener
Called every second until the countdown finishes
onSolved(String) - Method in interface info.dolezel.fatrat.plugins.listeners.CaptchaListener
Called if a captcha solution was found or entered by the user.
onSolved(String, String) - Method in interface info.dolezel.fatrat.plugins.listeners.ReCaptchaListener
Called if a captcha solution was found or entered by the user.

P

PageFetchListener - Interface in info.dolezel.fatrat.plugins.listeners
Implement this interface to receive data from a URL.
parseSize(String) - Static method in class info.dolezel.fatrat.plugins.AccountStatusPlugin
Deprecated. 
parseSize(String) - Static method in class info.dolezel.fatrat.plugins.SearchPlugin
Deprecated. 
parseSize(String) - Static method in class info.dolezel.fatrat.plugins.util.FormatUtils
Attempts to find file size information in the string given.
Plugin - Class in info.dolezel.fatrat.plugins
Do not subclass this class directly.
Plugin() - Constructor for class info.dolezel.fatrat.plugins.Plugin
 
PostQuery - Class in info.dolezel.fatrat.plugins.util
A helper class used to build POST url-encoded queries with key-value pairs.
PostQuery() - Constructor for class info.dolezel.fatrat.plugins.util.PostQuery
 
processFile(String) - Method in class info.dolezel.fatrat.plugins.UploadPlugin
Called by the application to start the upload
processLink(String) - Method in class info.dolezel.fatrat.plugins.DownloadPlugin
This method will be called when a download is to be started.
progressUpdated(V) - Method in class info.dolezel.fatrat.plugins.util.BackgroundWorker
Reimplement this to receive progress updates in the main thread.
putDownloadLink(String, String) - Method in class info.dolezel.fatrat.plugins.UploadPlugin
Gives the user the link for the file that has been uploaded.

Q

queryAccountBalance() - Method in class info.dolezel.fatrat.plugins.AccountStatusPlugin
Called by FatRat to retrieve account information.

R

ReCaptchaListener - Interface in info.dolezel.fatrat.plugins.listeners
 
reportAccountBalance(AccountStatusPlugin.AccountState, String) - Method in class info.dolezel.fatrat.plugins.AccountStatusPlugin
Reports account balance to the user.
reportFileName(String) - Method in class info.dolezel.fatrat.plugins.DownloadPlugin
Give FatRat a hint on the real file name, if it cannot be properly deduced from the URL.

S

search(String) - Method in class info.dolezel.fatrat.plugins.SearchPlugin
Implement this method to receive search queries.
searchDone(SearchPlugin.SearchResult[]) - Method in class info.dolezel.fatrat.plugins.SearchPlugin
Call this method when the search has finished with success.
searchDone(List<SearchPlugin.SearchResult>) - Method in class info.dolezel.fatrat.plugins.SearchPlugin
Call this method when the search has finished with success.
searchFailed() - Method in class info.dolezel.fatrat.plugins.SearchPlugin
Call this method when the search has finished with a failure.
SearchPlugin - Class in info.dolezel.fatrat.plugins
Extend this class to add support for a new file sharing search engine.
SearchPlugin() - Constructor for class info.dolezel.fatrat.plugins.SearchPlugin
 
SearchPlugin.SearchResult - Class in info.dolezel.fatrat.plugins
Use this class to return search results to the application.
SearchPlugin.SearchResult() - Constructor for class info.dolezel.fatrat.plugins.SearchPlugin.SearchResult
 
SearchPluginInfo - Annotation Type in info.dolezel.fatrat.plugins.annotations
 
setFailed(String) - Method in class info.dolezel.fatrat.plugins.AccountStatusPlugin
Call if you failed to retrieve the account state.
setFailed(String) - Method in class info.dolezel.fatrat.plugins.TransferPlugin
A shorthand for calling setMessage(error) and setState(State.Failed)
setFileName(String) - Method in class info.dolezel.fatrat.plugins.extra.DownloadUrl
Sets the file name to store the file under.
setMessage(String) - Method in class info.dolezel.fatrat.plugins.TransferPlugin
Sets the message seen in the transfer list
setPersistentVariable(String, Object) - Method in class info.dolezel.fatrat.plugins.TransferPlugin
Set a transfer-specific variable.
setPostData(String) - Method in class info.dolezel.fatrat.plugins.extra.DownloadUrl
Sets the POST data if the transfer has to be initiated by a POST query.
setReferrer(String) - Method in class info.dolezel.fatrat.plugins.extra.DownloadUrl
Sets the "HTTP Referer" if it is being checked by the server.
setState(TransferPlugin.State) - Method in class info.dolezel.fatrat.plugins.TransferPlugin
Sets the transfer state
Settings - Class in info.dolezel.fatrat.plugins.config
Access FatRat's settings file.
setUrl(String) - Method in class info.dolezel.fatrat.plugins.extra.DownloadUrl
Sets the URL to download from.
setUserAgent(String) - Method in class info.dolezel.fatrat.plugins.extra.DownloadUrl
Sets the user agent to use if FatRat's default will not work.
setValue(String, String) - Static method in class info.dolezel.fatrat.plugins.config.Settings
Sets a global persistent config value.
setValue(String, long) - Static method in class info.dolezel.fatrat.plugins.config.Settings
Sets a global persistent config value.
setValue(String, boolean) - Static method in class info.dolezel.fatrat.plugins.config.Settings
Sets a global persistent config value.
setValue(String, double) - Static method in class info.dolezel.fatrat.plugins.config.Settings
Sets a global persistent config value.
singleDecimalDigit(double) - Static method in class info.dolezel.fatrat.plugins.util.FormatUtils
Returns the number as a string with a single decimal digit.
solveCaptcha(String, CaptchaListener) - Method in class info.dolezel.fatrat.plugins.DownloadPlugin
Ask FatRat to solve a captcha image
solveReCaptcha(String, ReCaptchaListener) - Method in class info.dolezel.fatrat.plugins.DownloadPlugin
 
startDownload(DownloadUrl) - Method in class info.dolezel.fatrat.plugins.DownloadPlugin
Gives FatRat the URL to download the desired file.
startDownload(String, String, String, String) - Method in class info.dolezel.fatrat.plugins.DownloadPlugin
Gives FatRat the URL to download the desired file.
startDownload(String) - Method in class info.dolezel.fatrat.plugins.DownloadPlugin
Gives FatRat the URL to download the desired file.
startDownload(String, String) - Method in class info.dolezel.fatrat.plugins.DownloadPlugin
 
startDownload(String, String, String) - Method in class info.dolezel.fatrat.plugins.DownloadPlugin
 
startUpload(String, UploadPlugin.MimePart[]) - Method in class info.dolezel.fatrat.plugins.UploadPlugin
Initiates the upload process.
startUploadChunk(String, UploadPlugin.MimePart[], long, long) - Method in class info.dolezel.fatrat.plugins.UploadPlugin
Initiates a partial upload process.
startWait(int, WaitListener) - Method in class info.dolezel.fatrat.plugins.DownloadPlugin
Start a timer.

T

toString() - Method in class info.dolezel.fatrat.plugins.util.PostQuery
 
TransferPlugin - Class in info.dolezel.fatrat.plugins
Do not subclass this class directly.
TransferPlugin() - Constructor for class info.dolezel.fatrat.plugins.TransferPlugin
 
TransferPlugin.State - Enum in info.dolezel.fatrat.plugins
You should probably only use the Failed state.

U

updateProgress(V) - Method in class info.dolezel.fatrat.plugins.util.BackgroundWorker
Publishes new progress information.
UploadPlugin - Class in info.dolezel.fatrat.plugins
Extend this class to create a new upload plugin.
UploadPlugin() - Constructor for class info.dolezel.fatrat.plugins.UploadPlugin
 
UploadPlugin.MimePart - Class in info.dolezel.fatrat.plugins
A generic MIME part with a name
UploadPlugin.MimePartFile - Class in info.dolezel.fatrat.plugins
The file to be uploaded.
UploadPlugin.MimePartFile(String) - Constructor for class info.dolezel.fatrat.plugins.UploadPlugin.MimePartFile
 
UploadPlugin.MimePartValue - Class in info.dolezel.fatrat.plugins
A HTML form field value (input type=text,hidden...)
UploadPlugin.MimePartValue(String, String) - Constructor for class info.dolezel.fatrat.plugins.UploadPlugin.MimePartValue
 
UploadPluginInfo - Annotation Type in info.dolezel.fatrat.plugins.annotations
 
url - Variable in class info.dolezel.fatrat.plugins.SearchPlugin.SearchResult
 
URLAcceptableFilter - Interface in info.dolezel.fatrat.plugins.extra
Only implement this interface if you know you really need to do so.

V

value() - Method in enum info.dolezel.fatrat.plugins.TransferPlugin.State
 
value - Variable in class info.dolezel.fatrat.plugins.UploadPlugin.MimePartValue
HTTP form field value
valueOf(String) - Static method in enum info.dolezel.fatrat.plugins.AccountStatusPlugin.AccountState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum info.dolezel.fatrat.plugins.TransferPlugin.State
Returns the enum constant of this type with the specified name.
values() - Static method in enum info.dolezel.fatrat.plugins.AccountStatusPlugin.AccountState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum info.dolezel.fatrat.plugins.TransferPlugin.State
Returns an array containing the constants of this enum type, in the order they are declared.

W

WaitListener - Interface in info.dolezel.fatrat.plugins.listeners
Implement this interface to use a countdown timer.
A B C D E F G I L N O P Q R S T U V W