litesoft
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// This Source Code is in the Public Domain per: http://unlicense.org
package org.litesoft.util.template;
import java.io.*;
public interface TCsub
{
public static final String KEY_INIT = "%.";
public static final String KEY_FINI = ".%";
public static final String NOT_FOUND_INIT = "[?.";
public static final String NOT_FOUND_FINI = ".?]";
public static final int LEN_INIT = KEY_INIT.length();
public static final int LEN_FINI = KEY_FINI.length();
public String getReplacementKey();
/**
* @param pWriter - !null
* @param pReplaceFrom - used in the repeating template...
*/
public void replace( Writer pWriter, String pReplaceNotFoundsWith, Object pReplaceFrom )
throws IOException;
public void dispose();
}
|