All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.genexus.specific.java.GXExternalFileInfo Maven / Gradle / Ivy

Go to download

Core classes for the runtime used by Java and Android apps generated with GeneXus

There is a newer version: 4.7.3
Show newest version
package com.genexus.specific.java;

import com.genexus.common.interfaces.IExtensionGXExternalFileInfo;
import com.genexus.db.driver.ExternalProvider;
import com.genexus.util.GXFile;
import com.genexus.util.GXFileCollection;

public class GXExternalFileInfo implements IExtensionGXExternalFileInfo {

	@Override
	public GXFileCollection listFiles(String filter, Object prov, String name) {
	  ExternalProvider provider = (ExternalProvider) prov;
	  GXFileCollection files = new GXFileCollection ();
	  for(String file : (filter != null)? provider.getFiles(name, filter) : provider.getFiles(name)){
        files.add(new GXFile(new com.genexus.util.GXExternalFileInfo(file, provider)));
	  }
	  return files;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy