net.ontopia.topicmaps.utils.ltm
Class LTMEncodingSniffer

java.lang.Object
  extended by net.ontopia.topicmaps.utils.ltm.LTMEncodingSniffer
All Implemented Interfaces:
EncodingSnifferIF

public class LTMEncodingSniffer
extends Object
implements EncodingSnifferIF

INTERNAL: An encoding sniffer for LTM.


Constructor Summary
LTMEncodingSniffer()
           
 
Method Summary
 String guessEncoding(PushbackInputStream stream)
          INTERNAL: By examining the contents of the stream, guess the encoding used.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LTMEncodingSniffer

public LTMEncodingSniffer()
Method Detail

guessEncoding

public String guessEncoding(PushbackInputStream stream)
                     throws IOException
Description copied from interface: EncodingSnifferIF
INTERNAL: By examining the contents of the stream, guess the encoding used.

Specified by:
guessEncoding in interface EncodingSnifferIF
Returns:
the name of the encoding
Throws:
IOException


Copyright © 2000-2012 Ontopia.