001 package railo.runtime.functions.system; 002 003 import railo.runtime.PageContext; 004 import railo.runtime.exp.PageException; 005 import railo.runtime.ext.function.Function; 006 007 /** 008 * Implements the Cold Fusion Function fileexists 009 * @deprecated replace with <code>railo.runtime.functions.file.FileExists</code> 010 */ 011 public final class FileExists implements Function { 012 013 public static boolean call(PageContext pc , String string) throws PageException { 014 return railo.runtime.functions.file.FileExists.call(pc, string); 015 } 016 017 public static boolean call(PageContext pc , String string,boolean allowRealPath) throws PageException { 018 return railo.runtime.functions.file.FileExists.call(pc, string,allowRealPath); 019 } 020 021 }