public class GenericStringMapper extends Object implements StringMapper, Writable
| Constructor and Description |
|---|
GenericStringMapper(int cutoff) |
| Modifier and Type | Method and Description |
|---|---|
void |
finalizeMap() |
int |
getInteger(String s) |
int |
getOrGenerateInteger(String s) |
void |
write(File file) |
void |
write(Writer writer) |
public GenericStringMapper(int cutoff)
public void finalizeMap()
finalizeMap in interface StringMapperpublic int getInteger(String s) throws UnknownKeyException
getInteger in interface StringMapperUnknownKeyExceptionpublic int getOrGenerateInteger(String s)
getOrGenerateInteger in interface StringMapperpublic void write(File file) throws IOException
write in interface WritableIOExceptionpublic void write(Writer writer) throws IOException
write in interface WritableIOExceptionCopyright © 2014. All rights reserved.