ICU-8552 Special JavaDoc Status description for technology preview.
X-SVN-Rev: 30083
This commit is contained in:
parent
47e3d0c0de
commit
909dcdc71f
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
*******************************************************************************
|
*******************************************************************************
|
||||||
* Copyright (C) 2002-2010, International Business Machines Corporation and *
|
* Copyright (C) 2002-2011, International Business Machines Corporation and *
|
||||||
* others. All Rights Reserved. *
|
* others. All Rights Reserved. *
|
||||||
*******************************************************************************
|
*******************************************************************************
|
||||||
*/
|
*/
|
||||||
@ -135,6 +135,10 @@ public abstract class ICUTaglet implements Taglet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public String toString(Tag tag) {
|
public String toString(Tag tag) {
|
||||||
|
if (tag.text().toLowerCase(Locale.US).indexOf("technology preview") >= 0) {
|
||||||
|
return STATUS + "<dd><em>Technology Preview</em>. <font color='red'>" +
|
||||||
|
"This API is still in the early stages of development. Use at your own risk.</font></dd>";
|
||||||
|
}
|
||||||
return STATUS + "<dd><em>Internal</em>. <font color='red'>" +
|
return STATUS + "<dd><em>Internal</em>. <font color='red'>" +
|
||||||
"This API is <em>ICU internal only</em>.</font></dd>";
|
"This API is <em>ICU internal only</em>.</font></dd>";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user