Package 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.
-
Method Summary
Modifier and TypeMethodDescriptionguessEncoding(PushbackInputStream stream) INTERNAL: By examining the contents of the stream, guess the encoding used.
-
Method Details
-
guessEncoding
INTERNAL: By examining the contents of the stream, guess the encoding used.- Returns:
- the name of the encoding
- Throws:
IOException
-