link start!

This commit is contained in:
cherubin
2026-03-17 13:31:18 -07:00
commit 08abe87cfb
5910 changed files with 386288 additions and 0 deletions
@@ -0,0 +1,16 @@
package org.apache.velocity.runtime.resource;
import java.util.Iterator;
import org.apache.velocity.runtime.RuntimeServices;
public interface ResourceCache {
Iterator enumerateKeys();
Resource get(Object obj);
void initialize(RuntimeServices runtimeServices);
Resource put(Object obj, Resource resource);
Resource remove(Object obj);
}
@@ -0,0 +1,16 @@
package org.apache.velocity.runtime.resource;
import org.apache.velocity.exception.ParseErrorException;
import org.apache.velocity.exception.ResourceNotFoundException;
import org.apache.velocity.runtime.RuntimeServices;
public interface ResourceManager {
public static final int RESOURCE_CONTENT = 2;
public static final int RESOURCE_TEMPLATE = 1;
String getLoaderNameForResource(String str);
Resource getResource(String str, int i, String str2) throws ResourceNotFoundException, ParseErrorException;
void initialize(RuntimeServices runtimeServices);
}
@@ -0,0 +1,15 @@
package org.apache.velocity.runtime.resource.util;
public interface StringResourceRepository {
String getEncoding();
StringResource getStringResource(String str);
void putStringResource(String str, String str2);
void putStringResource(String str, String str2, String str3);
void removeStringResource(String str);
void setEncoding(String str);
}