Package uk.num.numlib.internal.util
Class LegacyEscapeReplacer
java.lang.Object
uk.num.numlib.internal.util.LegacyEscapeReplacer
- All Implemented Interfaces:
java.util.function.Function<java.lang.String,java.lang.String>
public final class LegacyEscapeReplacer
extends java.lang.Object
implements java.util.function.Function<java.lang.String,java.lang.String>
Replace Legacy DNS Escape sequences
see https://app.clubhouse.io/num/story/2639/handling-escaped-characters-in-dns-responses
-
Constructor Summary
Constructors Constructor Description LegacyEscapeReplacer() -
Method Summary
Modifier and Type Method Description java.lang.Stringapply(java.lang.String numRecord)Applies this function to the given argument.
-
Constructor Details
-
LegacyEscapeReplacer
public LegacyEscapeReplacer()
-
-
Method Details
-
apply
public java.lang.String apply(java.lang.String numRecord)Applies this function to the given argument.- Specified by:
applyin interfacejava.util.function.Function<java.lang.String,java.lang.String>- Parameters:
numRecord- the function argument- Returns:
- the function result
-