code: public static synchronized Media getWithSuffix(Media media, String suffix)
      {
          Check.notNull(media);
          Check.notNull(suffix);
  
          final String path = media.getPath();
          final int dotIndex = path.lastIndexOf(Constant.DOT);
          if (dotIndex > -1)
          {
              return Medias.create(path.substring(0, dotIndex) + Constant.UNDERSCORE + suffix + path.substring(dotIndex));
          }
          return Medias.create(path + Constant.UNDERSCORE + suffix);
      }
docs: Get the media with an additional suffix, just before the dot of the extension if has.
  
  @param media The current media reference (must not be <code>null</code>).
  @param suffix The suffix to add (must not be <code>null</code>).
  @return The new media with suffix added.
  @throws LionEngineException If invalid parameters.