# Class JdkApiRewriteHelper

java.lang.Object
com.codename1.impl.JdkApiRewriteHelper

public final class JdkApiRewriteHelper extends java.lang.Object
Bridge methods used by bytecode rewrite rules for JDK APIs that are risky/unsupported on some targets.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static String`
  `replaceAll(String source, String regex, String replacement)`
  `static String`
  `replaceFirst(String source, String regex, String replacement)`
  `static String[]`
  `split(String source, String regex)`
  `static String[]`
  `split(String source, String regex, int limit)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### replaceAll

    public static String replaceAll(String source, String regex, String replacement)

  - ### replaceFirst

    public static String replaceFirst(String source, String regex, String replacement)

  - ### split

    public static String[] split(String source, String regex)

  - ### split

    public static String[] split(String source, String regex, int limit)