Package com.caplin.datasource.namespace
Class PrefixNamespace
java.lang.Object
com.caplin.datasource.namespace.PrefixNamespace
- All Implemented Interfaces:
Namespace
The prefix namespace matches the initial part of a subject name.
A prefix namespace matches a subject according to the start of the subject name. For example, if
the prefix defined for the namespace is is /I/ and the subject presented is
/I/VOD.L the match(String)
method will return true
.
Should the presented subject be /R/VOD.L the match(String)
method
will return false
.
-
Constructor Summary
ConstructorDescriptionPrefixNamespace
(String prefix) Initializes a new instance of thePrefixNamespace
class. -
Method Summary
-
Constructor Details
-
PrefixNamespace
Initializes a new instance of thePrefixNamespace
class.- Parameters:
prefix
- The prefix to be matched. For example,/FX
.
-
-
Method Details