public abstract class TextFileUrlMapper extends Object implements UrlMapper
| Constructor and Description |
|---|
TextFileUrlMapper(Class klass) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMapping(BufferedReader reader) |
Writer |
appendTo(Writer writer) |
Writer |
appendUrl(Writer writer,
String key) |
boolean |
contains(String external) |
abstract String |
getFileName() |
abstract String |
getKeyName() |
public TextFileUrlMapper(Class klass)
public abstract String getFileName()
public abstract String getKeyName()
public void addMapping(BufferedReader reader) throws IOException
IOExceptionpublic Writer appendTo(Writer writer) throws IOException
appendTo in interface UrlMapperIOExceptionpublic boolean contains(String external)
public Writer appendUrl(Writer writer, String key) throws IOException
appendUrl in interface UrlMapperIOExceptionCopyright © 2003–2018 Sakai Project. All rights reserved.