Class FilePoolNameFunction

    • Constructor Summary

      Constructors 
      Constructor Description
      FilePoolNameFunction​(FilePool filePool)
      Creates a new ResourceFileNameFunction based on the given resource file pool.
      FilePoolNameFunction​(FilePool filePool, java.lang.String defaultResourceFileName)
      Creates a new ResourceFileNameFunction based on the given resource file pool, with a default string for resource files that are not in the resource file pool.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String transform​(java.lang.String string)
      Transforms the given string into a new string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FilePoolNameFunction

        public FilePoolNameFunction​(FilePool filePool)
        Creates a new ResourceFileNameFunction based on the given resource file pool.
      • FilePoolNameFunction

        public FilePoolNameFunction​(FilePool filePool,
                                    java.lang.String defaultResourceFileName)
        Creates a new ResourceFileNameFunction based on the given resource file pool, with a default string for resource files that are not in the resource file pool.
    • Method Detail

      • transform

        public java.lang.String transform​(java.lang.String string)
        Description copied from interface: StringFunction
        Transforms the given string into a new string.
        Specified by:
        transform in interface StringFunction