|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.bea.domingo.map.NotesLocation
public final class NotesLocation
Location of a Notes database.
Field Summary | |
---|---|
static java.lang.String |
HTTP_PROTOCOL
Protocol of a notes location. |
static java.lang.String |
LOCAL_HOST
Standard identifier for the local host. |
static java.lang.String |
NOTES_PROTOCOL
Protocol of a notes location. |
Constructor Summary | |
---|---|
NotesLocation(NotesLocation context,
java.lang.String path)
Constructor. |
|
NotesLocation(NotesLocation context,
java.lang.String server,
java.lang.String path)
Creates a new local location. |
|
NotesLocation(java.lang.String locationUri)
Constructor. |
|
NotesLocation(java.lang.String server,
java.lang.String path)
Constructor for local locations. |
Method Summary | |
---|---|
java.lang.String |
getHost()
Returns the host of the notes location or null if it's an
IIOP location. |
java.lang.String |
getIIOPPasswd()
Deprecated. use getPassword() instead |
java.lang.String |
getIIOPUser()
Deprecated. use getUsername() instead |
static NotesLocation |
getInstance(NotesLocation context,
java.lang.String server,
java.lang.String path)
Factory method for local Location. |
static NotesLocation |
getInstance(java.lang.String location)
Factory method for Location objects. |
NotesLocation |
getLocalLocation()
Returns the local location corresponding to this location. |
java.lang.String |
getLocalServer()
Returns a string representing the local server. |
java.lang.String |
getPassword()
Returns the IIOP Password. |
java.lang.String |
getPath()
Returns the path of the notes location. |
protected java.lang.String |
getPathSep()
Returns the separator string between host and path in locations. |
java.lang.String |
getProtocol()
Returns the protocol of the location. |
java.lang.String |
getServer()
Returns the server part of a location. |
java.lang.String |
getUsername()
Returns the IIOP Username. |
boolean |
isHttp()
Checks if the notes location is using the HTTP protocol. |
boolean |
isIIOP()
Checks if the notes location is a IIOP location or not. |
boolean |
isLocal()
Checks if a notes location is local or not. |
protected void |
setLocation(java.lang.String locationUri)
Sets the location string. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NOTES_PROTOCOL
public static final java.lang.String HTTP_PROTOCOL
public static final java.lang.String LOCAL_HOST
Constructor Detail |
---|
public NotesLocation(java.lang.String locationUri)
locationUri
- URI of location of database.public NotesLocation(NotesLocation context, java.lang.String path)
context
- parent locationpath
- path relative to contextpublic NotesLocation(NotesLocation context, java.lang.String server, java.lang.String path)
context
- parent locationserver
- the serverpath
- path relative to contextpublic NotesLocation(java.lang.String server, java.lang.String path)
server
- the serverpath
- the pathMethod Detail |
---|
public static NotesLocation getInstance(java.lang.String location)
location
- the location as url-like string
public static NotesLocation getInstance(NotesLocation context, java.lang.String server, java.lang.String path)
context
- parent locationserver
- the serverpath
- the path
protected void setLocation(java.lang.String locationUri)
locationUri
- URI of location of database.public java.lang.String getIIOPPasswd()
getPassword()
instead
public java.lang.String getPassword()
public java.lang.String getIIOPUser()
getUsername()
instead
public java.lang.String getUsername()
public java.lang.String getPath()
public NotesLocation getLocalLocation()
public boolean isLocal()
true
if the location is local, else
false
public boolean isIIOP()
true
if it is a IIOP location, else false
public boolean isHttp()
true
if the protocol is HTTP, else false
public java.lang.String getHost()
null
if it's an
IIOP location.
public java.lang.String getServer()
public java.lang.String getLocalServer()
"local"
.
protected java.lang.String getPathSep()
public java.lang.String getProtocol()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |