public class MakePathComponentSafe
extends java.lang.Object
implements java.util.function.Function<java.lang.String,java.lang.String>
| Modifier and Type | Field and Description |
|---|---|
protected FilePathRestrictions |
rules |
| Constructor and Description |
|---|
MakePathComponentSafe(FilePathRestrictions... rules) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
apply(java.lang.String string) |
protected final FilePathRestrictions rules
public MakePathComponentSafe(FilePathRestrictions... rules)
rules - the rules to apply in making path components safe