com.genexus.specific.java.Messages Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gxclassR Show documentation
Show all versions of gxclassR Show documentation
Core classes for the runtime used by Java and Android apps generated with GeneXus
package com.genexus.specific.java;
import java.io.InputStream;
import com.genexus.ModelContext;
import com.genexus.common.interfaces.IExtensionMessages;
public class Messages implements IExtensionMessages {
@Override
public InputStream getInputStream(String resourceName) {
try
{
Class gxcfg = ModelContext.getModelContextPackageClass();
if (gxcfg.getName().startsWith("com.genexus.gx.deployment."))
gxcfg = Class.forName(com.genexus.GXutil.getClassName("GXcfg"));
return gxcfg.getResourceAsStream(resourceName);
}
catch(ClassNotFoundException e)
{
System.err.println(e.toString());
return null;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy