uk.me.parabola.imgfmt.app.labelenc
Class Simple8Encoder

java.lang.Object
  extended by uk.me.parabola.imgfmt.app.labelenc.BaseEncoder
      extended by uk.me.parabola.imgfmt.app.labelenc.Simple8Encoder
All Implemented Interfaces:
CharacterEncoder

public class Simple8Encoder
extends BaseEncoder
implements CharacterEncoder

An encoder that just takes the lower 8 bits of the char and uses that without any character set conversion. Useful for testing mainly (only?).

Author:
Steve Ratcliffe

Field Summary
 
Fields inherited from class uk.me.parabola.imgfmt.app.labelenc.BaseEncoder
NO_TEXT
 
Constructor Summary
Simple8Encoder()
           
 
Method Summary
 EncodedText encodeText(java.lang.String text)
           
 
Methods inherited from class uk.me.parabola.imgfmt.app.labelenc.BaseEncoder
isCharsetSupported, isUpperCase, prepareForCharacterSet, setUpperCase, simpleEncode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Simple8Encoder

public Simple8Encoder()
Method Detail

encodeText

public EncodedText encodeText(java.lang.String text)
Specified by:
encodeText in interface CharacterEncoder