public String getFileName(String originalFileName) {

        if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(m_targetFileName)) {
            return m_targetFileName;
        } else if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(m_targetFileNamePrefix)) {
            return m_targetFileNamePrefix + originalFileName;
        } else {
            return originalFileName;
        }
    }
public String getFileName ( String originalFileName ) { if ( CmsStringUtil . isNotEmptyOrWhitespaceOnly ( m_targetFileName ) ) { return m_targetFileName ; } else if ( CmsStringUtil . isNotEmptyOrWhitespaceOnly ( m_targetFileNamePrefix ) ) { return m_targetFileNamePrefix + originalFileName ; } else { return originalFileName ; } }
Returns the new file name.<p>

@param originalFileName the original file name

@return the new file name