net.ontopia.topicmaps.utils.jtm
Class JTMEncodingSniffer

java.lang.Object
  extended by net.ontopia.topicmaps.utils.jtm.JTMEncodingSniffer
All Implemented Interfaces:
EncodingSnifferIF

public class JTMEncodingSniffer
extends java.lang.Object
implements EncodingSnifferIF

INTERNAL: An encoding sniffer for JTM.


Constructor Summary
JTMEncodingSniffer()
           
 
Method Summary
 java.lang.String guessEncoding(java.io.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

JTMEncodingSniffer

public JTMEncodingSniffer()
Method Detail

guessEncoding

public java.lang.String guessEncoding(java.io.PushbackInputStream stream)
                               throws java.io.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:
java.io.IOException


Copyright © 2000-2012 Ontopia.