|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.notes.java.api.data.NotesData
public abstract class NotesData
The super class for all data needed for performing operations on Notes objects, such as databases, view, documents, and others.
| Field Summary | |
|---|---|
protected String |
baseUrl
Variable that contains the base Notes URL of the object. |
protected static String |
ENCODE_ERR
Encoding error. |
protected static String |
NOTES_COMMAND_SEPARATOR
Notes URL command separator. |
protected static String |
NOTES_PARAMETER_SEPARATOR
Notes URL parameter separator. |
protected static String |
NOTES_PATH_SEPARATOR
Notes URL path separator. |
protected static String |
NOTES_PROTOCOL
Notes protocol. |
protected static String |
NULL_ERR
Error text when a parameter is null. |
| Constructor Summary | |
|---|---|
|
NotesData()
Default constructor. |
protected |
NotesData(String url)
Construct a NotesData object from a given Notes URL. |
| Method Summary | |
|---|---|
protected static String |
encode(String item)
Encodes the given item in UTF-8 format so it can be used in the Notes URL. |
protected String |
getBaseUrl()
Gets the URL of the data object encoded in UTF-8 format. |
abstract String |
getOpenUrl()
Gets the encoded Notes URL to open the NotesData object. |
protected Object |
getParser()
Deprecated. this method should only be used internally |
protected static String |
removeCommandAndParams(String url)
Removes the command and any parameters that might be part of a Notes URL. |
protected abstract void |
setBaseUrl()
Constructs the Notes URL of the data object from the given information. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String NOTES_PROTOCOL
protected static final String NOTES_PATH_SEPARATOR
protected static final String NOTES_COMMAND_SEPARATOR
protected static final String NOTES_PARAMETER_SEPARATOR
protected String baseUrl
protected static final String ENCODE_ERR
protected static final String NULL_ERR
| Constructor Detail |
|---|
public NotesData()
protected NotesData(String url)
throws NotesException
url - UTF-8 encoded URL representing the NotesData object
NotesException - thrown when the URL specified cannot be parsed| Method Detail |
|---|
protected String getBaseUrl()
protected final Object getParser()
throws NotesException
NotesException - thrown when the URL specified cannot be parsed
protected static String encode(String item)
throws UnsupportedEncodingException
item - item to encode
UnsupportedEncodingException - thrown when the item cannot be encodedprotected static String removeCommandAndParams(String url)
url - the URL to remove the command and parameters from
protected abstract void setBaseUrl()
throws UnsupportedEncodingException
UnsupportedEncodingException - thrown when the URL cannot be encodedpublic abstract String getOpenUrl()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||