Here you can find the source of fileName(String file, String moduleName)
public static String fileName(String file, String moduleName)
//package com.java2s; //License from project: Open Source License public class Main { public static String fileName(String file, String moduleName) { String name = file.replaceAll("_drupal_safe_name_", moduleName); return name; }// w w w . j a v a 2 s. c o m }