| java.lang.Object | |
| ↳ | com.google.gdata.client.spreadsheet.FeedURLFactory |
Provides feed URLs that can be used with a Spreadsheets server.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | BASE_PATH | ||||||||||
| String | CELLS_PATH | ||||||||||
| String | DEFAULT_SPREADSHEETS_URL | URL of the server to connect to by default. | |||||||||
| String | LIST_PATH | ||||||||||
| String | RECORD_PATH | ||||||||||
| String | SPREADSHEETS_PATH | ||||||||||
| String | TABLE_PATH | ||||||||||
| String | WORKSHEETS_PATH | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| baseUrl | The url used as a base when creating urls. | ||||||||||
| feedCells | |||||||||||
| feedList | |||||||||||
| feedSpreadsheets | |||||||||||
| feedWorksheets | |||||||||||
| instance | The default FeedURLFactory instance targeted to the default URL. | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates an URL factory targeted to a server.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the URL used as a base for the generated URLs.
| |||||||||||
Creates a URL you can use to get a CellFeed, which treats
the spreadsheet like spatially oriented cells.
| |||||||||||
Gets the default instance of this factory, targeted
to {@value #DEFAULT_SPREADSHEETS_URL}.
| |||||||||||
Creates a URL you can use to get a ListFeed, which treats
the spreadsheet as a list of rows.
| |||||||||||
Creates a url that you can use to get a feed of records from a table.
| |||||||||||
Turns a Google Spreadsheets URL directly into the spreadsheet key.
| |||||||||||
Gets a URL you can use to get a SpreadsheetFeed of all your
spreadsheets.
| |||||||||||
Creates a url that you can use to get a Table Feed of all the tables
within a spreadsheet.
| |||||||||||
Creates a URL you can use to get a WorksheetFeed of all the
worksheets within a spreadsheet.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
URL of the server to connect to by default. Currently {@value #DEFAULT_SPREADSHEETS_URL}.
The url used as a base when creating urls.
The default FeedURLFactory instance targeted to the default URL.
Creates an URL factory targeted to a server.
As long as you don't need to connect to a nonstandard
URL, different from {@value #DEFAULT_SPREADSHEETS_URL}, you should
consider calling getDefault() instead.
| url | An URL used as a base for the generated URLs |
|---|
| MalformedURLException |
|---|
Returns the URL used as a base for the generated URLs.
Creates a URL you can use to get a CellFeed, which treats
the spreadsheet like spatially oriented cells.
Like getWorksheetFeedUrl(String, String, String), this requires
the spreadsheet key.
This also requires the worksheet identifier. See the
documentation on how worksheets can be identified.
| spreadsheetKey | A spreadsheet key, like 01123123.12312312 |
|---|---|
| worksheetId | A worksheet identifier or a 1-based positional indicator |
| visibility | |
| projection |
| MalformedURLException |
|---|
Gets the default instance of this factory, targeted to {@value #DEFAULT_SPREADSHEETS_URL}.
Creates a URL you can use to get a ListFeed, which treats
the spreadsheet as a list of rows.
Like getWorksheetFeedUrl(String, String, String), this requires
the spreadsheet key.
This also requires the worksheet identifier. See the
documentation on how worksheets can be identified.
| spreadsheetKey | A spreadsheet key, like 01123123.12312312 |
|---|---|
| worksheetId | A worksheet identifier or a 1-based positional indicator |
| visibility | |
| projection |
| MalformedURLException |
|---|
Creates a url that you can use to get a feed of records from a table.
| spreadsheetKey | Key of the workbook to get the table feed from. |
|---|---|
| tableId | Id of the table to get a record feed from. |
| MalformedURLException |
|---|
Turns a Google Spreadsheets URL directly into the spreadsheet key.
| url | A URL like http://abcd.spreadsheets.google.com/ccc?id=o1231.1231.1231.1231; if just the ID is specified, this will also work |
|---|
| IllegalArgumentException | if the URL is not formatted correctly |
|---|
Gets a URL you can use to get a SpreadsheetFeed of all your spreadsheets.
Creates a url that you can use to get a Table Feed of all the tables within a spreadsheet.
| spreadsheetKey | Key of the workbook to get the table feed from. |
|---|
| MalformedURLException |
|---|
Creates a URL you can use to get a WorksheetFeed of all the
worksheets within a spreadsheet.
This requires the spreadsheet key, which can be obtained from the
URL of the AJAX page through getSpreadsheetKeyFromUrl(String),
or via using the My Spreadsheets feed.
| spreadsheetKey | A spreadsheet key, like o1123123.12312312 |
|---|---|
| visibility | |
| projection |
| MalformedURLException |
|---|