Package ome.services.blitz.repo.path
Class MakePathComponentSafe
- java.lang.Object
-
- ome.services.blitz.repo.path.MakePathComponentSafe
-
- All Implemented Interfaces:
java.util.function.Function<java.lang.String,java.lang.String>
public class MakePathComponentSafe extends java.lang.Object implements java.util.function.Function<java.lang.String,java.lang.String>
- Since:
- 5.0
-
-
Field Summary
Fields Modifier and Type Field Description protected FilePathRestrictions
rules
-
Constructor Summary
Constructors Constructor Description MakePathComponentSafe(FilePathRestrictions... rules)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
apply(java.lang.String string)
-
-
-
Field Detail
-
rules
protected final FilePathRestrictions rules
-
-
Constructor Detail
-
MakePathComponentSafe
public MakePathComponentSafe(FilePathRestrictions... rules)
- Parameters:
rules
- the rules to apply in making path components safe
-
-