Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String apply​(java.lang.String string)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • MakePathComponentSafe

        public MakePathComponentSafe​(FilePathRestrictions... rules)
        Parameters:
        rules - the rules to apply in making path components safe
    • Method Detail

      • apply

        public java.lang.String apply​(java.lang.String string)
        Specified by:
        apply in interface java.util.function.Function<java.lang.String,​java.lang.String>