code: function (fileObj) {
              if (typeof fileObj === "string") {
                  fileObj = new java.io.File(fileObj);
              }
              return (fileObj.getAbsolutePath() + "").replace(file.backSlashRegExp, "/");
          }
docs: Gets the absolute file path as a string, normalized
  to using front slashes for path separators.
  @param {java.io.File||String} file