public class ResourceSnippetsMap extends Object
Constructor and Description |
---|
ResourceSnippetsMap(int maxSnippets,
int maxSources) |
Modifier and Type | Method and Description |
---|---|
static String |
calcKey(PageSource ps,
int startPos,
int endPos) |
static String |
calcKey(Resource res) |
ResourceSnippet |
getSnippet(PageSource ps,
int startPos,
int endPos,
String charset)
this method accesses the underlying Map(s) and is therefore synchronized
|
public ResourceSnippetsMap(int maxSnippets, int maxSources)
public ResourceSnippet getSnippet(PageSource ps, int startPos, int endPos, String charset)
ps
- startPos
- endPos
- charset
- public static String calcKey(PageSource ps, int startPos, int endPos)
Copyright © 2015 Lucee