Class PatternsManager
- java.lang.Object
-
- org.schabi.newpipe.extractor.timeago.PatternsManager
-
public class PatternsManager extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PatternsManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PatternsHolder
getPatterns(java.lang.String languageCode, java.lang.String countryCode)
Return an holder object containing all the patterns array.
-
-
-
Method Detail
-
getPatterns
@Nullable public static PatternsHolder getPatterns(@Nonnull java.lang.String languageCode, @Nullable java.lang.String countryCode)
Return an holder object containing all the patterns array.- Returns:
- an object containing the patterns. If not existent,
null
.
-
-