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 |
java.lang.String |
guessEncoding(java.io.PushbackInputStream stream)
INTERNAL: By examining the contents of the stream, guess the
encoding used. |
guessEncoding
java.lang.String guessEncoding(java.io.PushbackInputStream stream)
throws java.io.IOException
- INTERNAL: By examining the contents of the stream, guess the
encoding used.
- Returns:
- the name of the encoding
- Throws:
java.io.IOException
Copyright © 2000-2012 Ontopia.