equal
deleted
inserted
replaced
1303 self subclassResponsibility |
1303 self subclassResponsibility |
1304 ! ! |
1304 ! ! |
1305 |
1305 |
1306 !CharacterEncoder methodsFor:'queries'! |
1306 !CharacterEncoder methodsFor:'queries'! |
1307 |
1307 |
|
1308 characterSize:codePoint |
|
1309 "return the number of bytes required to encode codePoint" |
|
1310 |
|
1311 ^ self subclassResponsibility |
|
1312 |
|
1313 "Created: / 15-06-2005 / 15:11:04 / janfrog" |
|
1314 ! |
|
1315 |
1308 isNullEncoder |
1316 isNullEncoder |
1309 ^ false |
1317 ^ false |
1310 ! |
1318 ! |
1311 |
1319 |
1312 nameOfDecodedCode |
1320 nameOfDecodedCode |
1320 ^ self class nameOfEncoding |
1328 ^ self class nameOfEncoding |
1321 ! |
1329 ! |
1322 |
1330 |
1323 userFriendlyNameOfEncoding |
1331 userFriendlyNameOfEncoding |
1324 ^ self class userFriendlyNameOfEncoding |
1332 ^ self class userFriendlyNameOfEncoding |
|
1333 ! ! |
|
1334 |
|
1335 !CharacterEncoder methodsFor:'stream support'! |
|
1336 |
|
1337 readNext:arg1 charactersFrom:arg2 |
|
1338 "raise an error: must be redefined in concrete subclass(es)" |
|
1339 |
|
1340 ^ self subclassResponsibility |
|
1341 |
|
1342 "Created: / 16-06-2005 / 11:46:45 / masca" |
|
1343 ! |
|
1344 |
|
1345 readNextCharacterFrom:aStream |
|
1346 "raise an error: must be redefined in concrete subclass(es)" |
|
1347 |
|
1348 ^ self subclassResponsibility |
|
1349 |
|
1350 "Created: / 14-06-2005 / 17:02:28 / janfrog" |
1325 ! ! |
1351 ! ! |
1326 |
1352 |
1327 !CharacterEncoder::CompoundEncoder class methodsFor:'documentation'! |
1353 !CharacterEncoder::CompoundEncoder class methodsFor:'documentation'! |
1328 |
1354 |
1329 documentation |
1355 documentation |
1545 ! ! |
1571 ! ! |
1546 |
1572 |
1547 !CharacterEncoder class methodsFor:'documentation'! |
1573 !CharacterEncoder class methodsFor:'documentation'! |
1548 |
1574 |
1549 version |
1575 version |
1550 ^ '$Header: /cvs/stx/stx/libbasic/CharacterEncoder.st,v 1.103 2008-11-28 18:53:43 cg Exp $' |
1576 ^ '$Header: /cvs/stx/stx/libbasic/CharacterEncoder.st,v 1.104 2009-09-18 15:35:11 cg Exp $' |
1551 ! ! |
1577 ! ! |
1552 |
1578 |
1553 CharacterEncoder initialize! |
1579 CharacterEncoder initialize! |