plugins/transforms/loadfileinput/src/main/java/org/apache/hop/pipeline/transforms/loadfileinput/LoadFileInputMeta.java
public String exportResources(
      IVariables variables,
      Map<String, ResourceDefinition> definitions,
      IResourceNaming iResourceNaming,
      IHopMetadataProvider metadataProvider)
      throws HopException {
    try {
      // The object that we're modifying here is a copy of the original!
      // So let's change the filename from relative to absolute by grabbing the file object...
      //
      if (!fileinfield) {
        for (int i = 0; i < fileName.length; i++) {
          FileObject fileObject = HopVfs.getFileObject(variables.resolve(fileName[i]));
          fileName[i] =
              iResourceNaming.nameResource(fileObject, variables, Utils.isEmpty(fileMask[i]));
        }
      }
      return null;
    } catch (Exception e) {
      throw new HopException(e);
    }
  }
/**
   * @param variables the variable variables to use
   * @param definitions
   * @param iResourceNaming
   * @param metadataProvider the metadataProvider in which non-hop metadata could reside.
   * @return the filename of the exported resource
   */
@param variables the variable variables to use
@param definitions
@param iResourceNaming
@param metadataProvider the metadataProvider in which non-hop metadata could reside.
@return the filename of the exported resource
@param variables the variable variables to use @param definitions @param iResourceNaming @param metadataProvider the metadataProvider in which non - hop metadata could reside . @return the filename of the exported resource
public String exportResources(
      IVariables variables,
      Map<String, ResourceDefinition> definitions,
      IResourceNaming iResourceNaming,
      IHopMetadataProvider metadataProvider)
      throws HopException {
    try {
      if (!fileinfield) {
        for (int i = 0; i < fileName.length; i++) {
          FileObject fileObject = HopVfs.getFileObject(variables.resolve(fileName[i]));
          fileName[i] =
              iResourceNaming.nameResource(fileObject, variables, Utils.isEmpty(fileMask[i]));
        }
      }
      return null;
    } catch (Exception e) {
      throw new HopException(e);
    }
  }
public String exportResources ( IVariables variables , Map < String , ResourceDefinition > definitions , IResourceNaming iResourceNaming , IHopMetadataProvider metadataProvider ) throws HopException { try { if ( ! fileinfield ) { for ( int i = 0 ; i < fileName . length ; i ++ ) { FileObject fileObject = HopVfs . getFileObject ( variables . resolve ( fileName [ i ] ) ) ; fileName [ i ] = iResourceNaming . nameResource ( fileObject , variables , Utils . isEmpty ( fileMask [ i ] ) ) ; } } return null ; } catch ( Exception e ) { throw new HopException ( e ) ; } }
@param variables the variable variables to use
 @param definitions
 @param iResourceNaming
 @param metadataProvider the metadataProvider in which non-hop metadata could reside.
@param variables the variable variables to use @param definitions @param iResourceNaming @param metadataProvider the metadataProvider in which non - hop metadata could reside .
// The object that we're modifying here is a copy of the original! // So let's change the filename from relative to absolute by grabbing the file object... //