CharacterEncoder.st
branchjv
changeset 17732 a1892eeca6c0
parent 17711 39faaaf888b4
child 17735 6a5bc05f696a
--- a/CharacterEncoder.st	Fri Aug 28 12:38:51 2009 +0100
+++ b/CharacterEncoder.st	Sat Oct 24 16:48:19 2009 +0100
@@ -1305,6 +1305,14 @@
 
 !CharacterEncoder methodsFor:'queries'!
 
+characterSize:codePoint
+    "return the number of bytes required to encode codePoint"
+
+    ^ self subclassResponsibility
+
+    "Created: / 15-06-2005 / 15:11:04 / janfrog"
+!
+
 isNullEncoder
     ^ false
 !
@@ -1324,6 +1332,24 @@
     ^ self class userFriendlyNameOfEncoding
 ! !
 
+!CharacterEncoder methodsFor:'stream support'!
+
+readNext:arg1 charactersFrom:arg2 
+    "raise an error: must be redefined in concrete subclass(es)"
+
+    ^ self subclassResponsibility
+
+    "Created: / 16-06-2005 / 11:46:45 / masca"
+!
+
+readNextCharacterFrom:aStream
+    "raise an error: must be redefined in concrete subclass(es)"
+
+    ^ self subclassResponsibility
+
+    "Created: / 14-06-2005 / 17:02:28 / janfrog"
+! !
+
 !CharacterEncoder::CompoundEncoder class methodsFor:'documentation'!
 
 documentation
@@ -1547,7 +1573,8 @@
 !CharacterEncoder class methodsFor:'documentation'!
 
 version
-    ^ '$Id: CharacterEncoder.st 10447 2009-06-14 13:09:55Z vranyj1 $'
+    ^ '$Id: CharacterEncoder.st 10473 2009-10-24 15:48:19Z vranyj1 $'
 ! !
 
 CharacterEncoder initialize!
+