26 lines
669 B
Java
26 lines
669 B
Java
|
package com.google.common.escape;
|
||
|
|
||
|
import com.google.common.base.Function;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public abstract class Escaper {
|
||
|
private final Function<String, String> asFunction = new Function<String, String>(this) { // from class: com.google.common.escape.Escaper.1
|
||
|
final Escaper this$0;
|
||
|
|
||
|
{
|
||
|
this.this$0 = this;
|
||
|
}
|
||
|
|
||
|
@Override // com.google.common.base.Function
|
||
|
public String apply(String str) {
|
||
|
return this.this$0.escape(str);
|
||
|
}
|
||
|
};
|
||
|
|
||
|
public abstract String escape(String str);
|
||
|
|
||
|
public final Function<String, String> asFunction() {
|
||
|
return this.asFunction;
|
||
|
}
|
||
|
}
|