diff options
Diffstat (limited to 'bundles/org.eclipse.equinox.bidi/src/org/eclipse/equinox/bidi/internal/consumable/STextURL.java')
-rw-r--r-- | bundles/org.eclipse.equinox.bidi/src/org/eclipse/equinox/bidi/internal/consumable/STextURL.java | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/bundles/org.eclipse.equinox.bidi/src/org/eclipse/equinox/bidi/internal/consumable/STextURL.java b/bundles/org.eclipse.equinox.bidi/src/org/eclipse/equinox/bidi/internal/consumable/STextURL.java index ad2acff34..956f9b274 100644 --- a/bundles/org.eclipse.equinox.bidi/src/org/eclipse/equinox/bidi/internal/consumable/STextURL.java +++ b/bundles/org.eclipse.equinox.bidi/src/org/eclipse/equinox/bidi/internal/consumable/STextURL.java @@ -11,24 +11,17 @@ package org.eclipse.equinox.bidi.internal.consumable; import org.eclipse.equinox.bidi.STextEnvironment; -import org.eclipse.equinox.bidi.custom.STextFeatures; import org.eclipse.equinox.bidi.custom.STextProcessor; /** * Processor adapted to processing URLs. */ public class STextURL extends STextProcessor { - static final STextFeatures FEATURES = new STextFeatures(":?#/@.[]", 0, -1, -1, false, false); //$NON-NLS-1$ - /** - * This method retrieves the features specific to this processor. - * - * @return features with separators ":?#/@.[]", - * no special cases, LTR direction for Arabic and Hebrew, - * and support for both. + * @return ":?#/@.[]" as the separators specific to this processor. */ - public STextFeatures getFeatures(STextEnvironment env) { - return FEATURES; + public String getSeparators(STextEnvironment environment, String text, byte[] dirProps) { + return ":?#/@.[]"; //$NON-NLS-1$ } } |