Packages com.phoenixplugins.sdk.api text

Class ReplacementText

All Implemented Interfaces:
Text

public class ReplacementText extends Object implements Text
  • Constructor Summary

    Constructors
    Constructor
    Description
    ReplacementText(Text source, String regex, Text replacement)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    replaceText(String target, Text replacement)
    Replaces all substrings of this component's text that match the given regular expression with the specified replacement component.
    String
     

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface com.phoenixplugins.sdk.api.text.Text

    append, append, replaceText
  • Constructor Details

    • ReplacementText

      public ReplacementText(Text source, String regex, Text replacement)
  • Method Details

    • replaceText

      public Text replaceText(String target, Text replacement)
      Description copied from interface: Text
      Replaces all substrings of this component's text that match the given regular expression with the specified replacement component.
      Specified by:
      replaceText in interface Text
      Parameters:
      target - the regular expression to match
      replacement - the component to replace matches with
      Returns:
      a new Text instance with the replacements applied
    • toPlainText

      public String toPlainText()
      Specified by:
      toPlainText in interface Text
Last updated 22 days ago
My Cart
Spider

Your cart is empty

Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shopping