question: public String replacePath ( String inputURI ) { if ( inputURI . contains ( TemporaryDirectoryManager . DIRECTORY_TEMPLATE ) && passedInDirectoryName != null && ! passedInDirectoryName . isEmpty ( ) ) { final String mungedURI = inputURI . replace ( TemporaryDirectoryManager . DIRECTORY_TEMPLATE , passedInDirectoryName ) ; if ( LOGGER . isDebugEnabled ( ) ) { LOGGER . debug ( "URI changed to " + mungedURI ) ; } return mungedURI ; } else { LOGGER . debug ( "Returning inputURI unchanged: " + inputURI ) ; return inputURI ; } }
target:  This method replaces (if found) the sub-string [UNIQUE] in any input String with the value determined by the implementation of this interface.