/** * <p>Query loader.</p> * @param pFileName File Name * @return String * @throws Exception - an exception **/ public final String lazyGetQuery(final String pFileName) throws Exception { if (this.queries.get(pFileName) == null) { String flName = "/" + "accounting" + "/" + "trade" + "/" + pFileName + ".sql"; this.queries.put(pFileName, loadString(flName)); } return this.queries.get(pFileName); }
/** * <p>Query loader.</p> * @param pFileName File Name * @return String * @throws Exception - an exception **/ public final String lazyGetQuery(final String pFileName) throws Exception { if (this.queries.get(pFileName) == null) { String flName = "/" + "accounting" + "/" + "trade" + "/" + pFileName + ".sql"; this.queries.put(pFileName, loadString(flName)); } return this.queries.get(pFileName); }