[uno:]connection-type,parameters;protocol-name,parameters;objectname";
An example Uno Url will look like this:
socket,host=localhost,port=2002;urp;StarOffice.ServiceManager
For more information about Uno Url please consult
http://udk.openoffice.org/common/man/spec/uno-url.html
Usage:
UnoUrl url = UnoUrl.parseUnoUrl("uno:socket,host=localhost,port=2002;urp;StarOffice.ServiceManager");
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final UnoUrl. | |
| private static final String | |
| private static final String | |
| private final UnoUrl. | |
| private final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static HashMap | |
| private static String | |
| public String | Returns: The connection name as string.Returns the name of the connection of this Uno Url. |
| public String | Returns: The uninterpreted connection name and parameters as string.Returns the raw specification of the connection name and parameters. |
| public HashMap | Returns: a HashMap with key/value pairs for connection parameters.Returns the connection parameters as a Hashmap with key/value pairs. |
| public String | Returns: The uninterpreted connection parameters as string.Returns the raw specification of the connection parameters. |
| public String | |
| public String | Returns: The uninterpreted protocol name and parameters as string.Returns the raw specification of the protocol name and parameters. |
| public HashMap | Returns: a HashMap with key/value pairs for protocol parameters.Returns the protocol parameters as a Hashmap with key/value pairs. |
| public String | Returns: The uninterpreted protocol parameters as string.Returns the raw specification of the protocol parameters. |
| public String | |
| private static boolean | |
| private static boolean | |
| public static UnoUrl | Returns: Object representation of class UnoUrl.The given uno URl as string. unoUrl)Parses the given Uno Url and returns an in memory object representation. |
| private static UnoUrl. |
| connection | back to summary |
|---|---|
| private final UnoUrl. | |
| FORMAT_ERROR | back to summary |
|---|---|
| private static final String FORMAT_ERROR | |
| OID_CHAR_SET | back to summary |
|---|---|
| private static final String OID_CHAR_SET | |
| protocol | back to summary |
|---|---|
| private final UnoUrl. | |
| rootOid | back to summary |
|---|---|
| private final String rootOid | |
| VALUE_CHAR_SET | back to summary |
|---|---|
| private static final String VALUE_CHAR_SET | |
| UnoUrl | back to summary |
|---|---|
| private UnoUrl(UnoUrl. | |
| buildParamHashMap | back to summary |
|---|---|
| private static HashMap | |
| decodeUTF8 | back to summary |
|---|---|
| private static String decodeUTF8(String s) throws com.sun.star.lang.IllegalArgumentException | |
| getConnection | back to summary |
|---|---|
| public String getConnection() Returns the name of the connection of this Uno Url. Encoded characters are not allowed.
| |
| getConnectionAndParametersAsString | back to summary |
|---|---|
| public String getConnectionAndParametersAsString() Returns the raw specification of the connection name and parameters. Encoded characters like '%41' are not decoded.
| |
| getConnectionParameters | back to summary |
|---|---|
| public HashMap Returns the connection parameters as a Hashmap with key/value pairs. Encoded characters like '%41' are decoded. | |
| getConnectionParametersAsString | back to summary |
|---|---|
| public String getConnectionParametersAsString() Returns the raw specification of the connection parameters. Encoded characters like '%41' are not decoded.
| |
| getProtocol | back to summary |
|---|---|
| public String getProtocol() Returns the name of the protocol of this Uno Url. Encoded characters are not allowed.
| |
| getProtocolAndParametersAsString | back to summary |
|---|---|
| public String getProtocolAndParametersAsString() Returns the raw specification of the protocol name and parameters. Encoded characters like '%41' are not decoded.
| |
| getProtocolParameters | back to summary |
|---|---|
| public HashMap Returns the protocol parameters as a Hashmap with key/value pairs. Encoded characters like '%41' are decoded. | |
| getProtocolParametersAsString | back to summary |
|---|---|
| public String getProtocolParametersAsString() Returns the raw specification of the protocol parameters. Encoded characters like '%41' are not decoded.
| |
| getRootOid | back to summary |
|---|---|
| public String getRootOid() Return the object name. Encoded character are not allowed.
| |
| isAlphaNumeric | back to summary |
|---|---|
| private static boolean isAlphaNumeric(String s) | |
| isValidString | back to summary |
|---|---|
| private static boolean isValidString(String identifier, String validCharSet) | |
| parseUnoUrl | back to summary |
|---|---|
| public static UnoUrl parseUnoUrl(String unoUrl) throws com.sun.star.lang.IllegalArgumentException Parses the given Uno Url and returns an in memory object representation.
| |
| parseUnoUrlPart | back to summary |
|---|---|
| private static UnoUrl. | |
| Modifier and Type | Field and Description |
|---|---|
| private final HashMap | |
| private final String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public HashMap | |
| public String | |
| public String | |
| public String |
| partParameters | back to summary |
|---|---|
| private final HashMap<String, String> partParameters | |
| partTypeName | back to summary |
|---|---|
| private final String partTypeName | |
| uninterpretedParameterString | back to summary |
|---|---|
| private final String uninterpretedParameterString | |
| UnoUrlPart | back to summary |
|---|---|
| public UnoUrlPart(String uninterpretedParameterString, String partTypeName, HashMap<String, String> partParameters) | |
| getPartParameters | back to summary |
|---|---|
| public HashMap | |
| getPartTypeName | back to summary |
|---|---|
| public String getPartTypeName() | |
| getUninterpretedParameterString | back to summary |
|---|---|
| public String getUninterpretedParameterString() | |
| getUninterpretedString | back to summary |
|---|---|
| public String getUninterpretedString() | |