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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
guessEncoding(PushbackInputStream stream)
INTERNAL: By examining the contents of the stream, guess the encoding used.
-
-
-
Method Detail
-
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
-
-