Interface PolarionUtils
public interface PolarionUtils
- Since:
- 3.9.0
-
Method Summary
Modifier and TypeMethodDescriptionconvertToAscii
(String stringToConvert) Converts an arbitrary string to US-ASCII by stripping diacritic marks and transliterating the rest.convertToAscii
(String stringToConvert, String projectId) <T> T
executeInBaseline
(String baselineRevision, RunnableWithResult<T> runnable) <T> T
executeOutsideBaseline
(RunnableWithResult<T> runnable)
-
Method Details
-
convertToAscii
Converts an arbitrary string to US-ASCII by stripping diacritic marks and transliterating the rest. UseconvertToAscii(String, String)
instead if you are calling this method in the context of some project. -
convertToAscii
- Parameters:
projectId
- provide the projectId if you are calling this method in the context of some project.- Since:
- 3.21.2 Converts an arbitrary string to US-ASCII by stripping diacritic marks and transliterating the rest. Calling this method with a project id will ensure that Japanese (Kanji, etc.) is properly transliterated to Romaji if the runtime per-project property "documents.create.japanese.kanji.transliteration" is set. If you don't supply it the property's value will be inherited from the Repository scope.