net.ontopia.topicmaps.impl.utils
Interface EncodingSnifferIF
- All Known Implementing Classes:
- CTMEncodingSniffer, JTMEncodingSniffer, LTMEncodingSniffer
public interface EncodingSnifferIF
INTERNAL: An object which can guess the encoding of an input stream
by peeking into its contents. Sniffers are specific to a syntax.
guessEncoding
String guessEncoding(PushbackInputStream stream)
throws IOException
- INTERNAL: By examining the contents of the stream, guess the
encoding used.
- Returns:
- the name of the encoding
- Throws:
IOException
Copyright © 2000-2012 Ontopia.