@Override public InputStream getResourceStream(String name) { return super.getResourceStream(prefix + name); }
@Override public void commonInit ( RuntimeServices rs, ExtendedProperties configuration) { super.commonInit ( rs, configuration ); fNormalLoader.commonInit ( rs, configuration ); }
@Override public void commonInit(RuntimeServices rs, ExtendedProperties configuration) { super.commonInit(rs, configuration); fileResourceLoader.commonInit(rs, configuration); }
/** * Returns a reference to the default static repository. */ public static StringResourceRepository getRepository() { return getRepository(REPOSITORY_NAME_DEFAULT); }
protected InputStream loadFromRelativePath(String name) { try { return super.getResourceStream(name); } catch (ResourceNotFoundException rnfex) { return null; } }
/** * @return True if source has been modified. */ public boolean isSourceModified() { return resourceLoader.isSourceModified(this); }
/** * @see ResourceLoader#getLastModified(org.apache.velocity.runtime.resource.Resource) */ public long getLastModified(final Resource resource) { return readLastModified(resource, "getting timestamp"); }
@Override public void init ( ExtendedProperties configuration ) { fNormalLoader.init ( configuration ); }
@Override public boolean isSourceModified ( Resource resource ) { return fNormalLoader.isSourceModified ( resource ); }
@Override public long getLastModified ( Resource resource ) { return fNormalLoader.getLastModified ( resource ); }
/** * Close DB connection on finalization * * @throws Throwable */ protected void finalize() throws Throwable { closeDBConnection(); }
/** * Returns a reference to the default static repository. */ public static StringResourceRepository getRepository() { return getRepository(REPOSITORY_NAME_DEFAULT); }
protected InputStream loadFromRelativePath(String name) { try { return super.getResourceStream(name); } catch (ResourceNotFoundException rnfex) { return null; } }
/** * @return True if source has been modified. */ public boolean isSourceModified() { return resourceLoader.isSourceModified(this); }
/** * @see org.apache.velocity.runtime.resource.loader.ResourceLoader#getLastModified(org.apache.velocity.runtime.resource.Resource) */ public long getLastModified(final Resource resource) { return readLastModified(resource, "getting timestamp"); }
/** * Returns a reference to the default static repository. */ public static StringResourceRepository getRepository() { return getRepository(REPOSITORY_NAME_DEFAULT); }
protected InputStream loadFromRelativePath(String name) { try { return super.getResourceStream(name); } catch (ResourceNotFoundException rnfex) { return null; } }
/** * @return True if source has been modified. */ public boolean isSourceModified() { return resourceLoader.isSourceModified(this); }
/** * @see org.apache.velocity.runtime.resource.loader.ResourceLoader#getLastModified(org.apache.velocity.runtime.resource.Resource) */ public long getLastModified(final Resource resource) { return readLastModified(resource, "getting timestamp"); }
protected InputStream loadFromRelativePath(String name) { try { return super.getResourceStream(name); } catch (ResourceNotFoundException rnfex) { return null; } }