public class IEEEXploreFetcher extends java.lang.Object implements EntryFetcher
| Constructor and Description |
|---|
IEEEXploreFetcher() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHelpPage()
Get the name of the help page for this activeFetcher.
|
java.net.URL |
getIcon()
Get the appropriate icon URL for this activeFetcher.
|
java.lang.String |
getKeyName()
Get the name of the key binding for this activeFetcher, if any.
|
javax.swing.JPanel |
getOptionsPanel()
If this activeFetcher requires additional options, a panel for setting up these
should be returned in a JPanel by this method.
|
java.lang.String |
getResults(java.net.URL source)
Download the URL and return contents as a String.
|
java.lang.String |
getResultsFromFile(java.io.File f)
Read results from a file instead of an URL.
|
java.lang.String |
getTitle()
The title for this activeFetcher, displayed in the menu and in the side pane.
|
boolean |
processQuery(java.lang.String query,
ImportInspector dialog,
OutputPrinter status)
Handle a query entered by the user.
|
void |
stopFetching()
This method is called by the dialog when the user has cancelled the import.
|
public javax.swing.JPanel getOptionsPanel()
EntryFetchergetOptionsPanel in interface EntryFetcherpublic boolean processQuery(java.lang.String query,
ImportInspector dialog,
OutputPrinter status)
EntryFetcherprocessQuery in interface EntryFetcherquery - The query text.dialog - The dialog to add imported entries to.status - An OutputPrinter passed to the activeFetcher for reporting about the
status of the fetching.public java.lang.String getTitle()
EntryFetchergetTitle in interface EntryFetcherpublic java.net.URL getIcon()
EntryFetchergetIcon in interface EntryFetcherpublic java.lang.String getHelpPage()
EntryFetchergetHelpPage in interface EntryFetcherpublic java.lang.String getKeyName()
EntryFetchergetKeyName in interface EntryFetcherpublic void stopFetching()
stopFetching in interface ImportInspectionDialog.CallBackpublic java.lang.String getResults(java.net.URL source)
throws java.io.IOException
source - java.io.IOExceptionpublic java.lang.String getResultsFromFile(java.io.File f)
throws java.io.IOException
f - java.io.IOException