Index: source/common/unicode/filteredbrk.h |
diff --git a/source/i18n/unicode/filteredbrk.h b/source/common/unicode/filteredbrk.h |
similarity index 78% |
rename from source/i18n/unicode/filteredbrk.h |
rename to source/common/unicode/filteredbrk.h |
index 1412418be50bbaa4c5a642f78f5fd07b1b4d6dfe..fff9bb5771f3f8485d78b42797096d55add290ee 100644 |
--- a/source/i18n/unicode/filteredbrk.h |
+++ b/source/common/unicode/filteredbrk.h |
@@ -1,6 +1,6 @@ |
/* |
******************************************************************************** |
-* Copyright (C) 1997-2014, International Business Machines |
+* Copyright (C) 1997-2015, International Business Machines |
* Corporation and others. All Rights Reserved. |
******************************************************************************** |
*/ |
@@ -12,7 +12,8 @@ |
#include "unicode/brkiter.h" |
#if !UCONFIG_NO_BREAK_ITERATION && !UCONFIG_NO_FILTERED_BREAK_ITERATION |
-#ifndef U_HIDE_INTERNAL_API |
+ |
+#ifndef U_HIDE_DRAFT_API |
U_NAMESPACE_BEGIN |
@@ -30,25 +31,13 @@ U_NAMESPACE_BEGIN |
* but with "Mr." as an exception, a filtered break iterator |
* would consider the string "Mr. Smith" to be a single segment. |
* |
- * <p><b>Note:</b> An instance of {@link BreakIterator} returned by this builder |
- * class currently does not support following operations in this technology preview |
- * version: |
- * <ul> |
- * <li>{@link BreakIterator#next(int32_t) next(int32_t n)}</li> |
- * <li>{@link BreakIterator#previous(void) previous(void)}</li> |
- * <li>{@link BreakIterator#following(int32_t) following(int32_t offset)}</li> |
- * <li>{@link BreakIterator#preceding(int32_t) preceding(int32_t offset)}</li> |
- * </ul> |
- * When one of above methods is called, BreakIterator.DONE will be returned immediately |
- * without updating the internal state. |
- * |
- * @internal technology preview |
+ * @draft ICU 56 |
*/ |
-class U_I18N_API FilteredBreakIteratorBuilder : public UObject { |
+class U_COMMON_API FilteredBreakIteratorBuilder : public UObject { |
public: |
/** |
* destructor. |
- * @internal technology preview |
+ * @draft ICU 56 |
*/ |
virtual ~FilteredBreakIteratorBuilder(); |
@@ -62,7 +51,7 @@ class U_I18N_API FilteredBreakIteratorBuilder : public UObject { |
* @param where the locale. |
* @param status The error code. |
* @return the new builder |
- * @internal technology preview |
+ * @draft ICU 56 |
*/ |
static FilteredBreakIteratorBuilder *createInstance(const Locale& where, UErrorCode& status); |
@@ -71,7 +60,7 @@ class U_I18N_API FilteredBreakIteratorBuilder : public UObject { |
* In this state, it will not suppress any segment boundaries. |
* @param status The error code. |
* @return the new builder |
- * @internal technology preview |
+ * @draft ICU 56 |
*/ |
static FilteredBreakIteratorBuilder *createInstance(UErrorCode &status); |
@@ -83,7 +72,7 @@ class U_I18N_API FilteredBreakIteratorBuilder : public UObject { |
* @param status error code |
* @return returns TRUE if the string was not present and now added, |
* FALSE if the call was a no-op because the string was already being suppressed. |
- * @internal technology preview |
+ * @draft ICU 56 |
*/ |
virtual UBool suppressBreakAfter(const UnicodeString& string, UErrorCode& status) = 0; |
@@ -96,7 +85,7 @@ class U_I18N_API FilteredBreakIteratorBuilder : public UObject { |
* @param status error code |
* @return returns TRUE if the string was present and now removed, |
* FALSE if the call was a no-op because the string was not being suppressed. |
- * @internal technology preview |
+ * @draft ICU 56 |
*/ |
virtual UBool unsuppressBreakAfter(const UnicodeString& string, UErrorCode& status) = 0; |
@@ -110,14 +99,14 @@ class U_I18N_API FilteredBreakIteratorBuilder : public UObject { |
* @param adoptBreakIterator the break iterator to adopt |
* @param status error code |
* @return the new BreakIterator, owned by the caller. |
- * @internal technology preview |
+ * @draft ICU 56 |
*/ |
virtual BreakIterator *build(BreakIterator* adoptBreakIterator, UErrorCode& status) = 0; |
protected: |
/** |
* For subclass use |
- * @internal technology preview |
+ * @draft ICU 56 |
*/ |
FilteredBreakIteratorBuilder(); |
}; |
@@ -125,7 +114,8 @@ class U_I18N_API FilteredBreakIteratorBuilder : public UObject { |
U_NAMESPACE_END |
-#endif /* U_HIDE_INTERNAL_API */ |
+#endif /* U_HIDE_DRAFT_API */ |
+ |
#endif // #if !UCONFIG_NO_BREAK_ITERATION && !UCONFIG_NO_FILTERED_BREAK_ITERATION |
#endif // #ifndef FILTEREDBRK_H |