author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Thu, 19 Jan 2012 11:46:00 +0000 | |
branch | jv |
changeset 17911 | a99f15c5efa5 |
parent 17910 | 8d796ca8bd1d |
child 17940 | 985e22966acb |
permissions | -rw-r--r-- |
8148 | 1 |
" |
2 |
COPYRIGHT (c) 2004 by eXept Software AG |
|
3 |
All Rights Reserved |
|
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
8081 | 12 |
"{ Package: 'stx:libbasic' }" |
13 |
||
14 |
"{ NameSpace: CharacterEncoderImplementations }" |
|
15 |
||
8134 | 16 |
CharacterEncoder subclass:#SingleByteEncoder |
8081 | 17 |
instanceVariableNames:'' |
18 |
classVariableNames:'' |
|
19 |
poolDictionaries:'' |
|
20 |
category:'Collections-Text-Encodings' |
|
21 |
! |
|
22 |
||
8148 | 23 |
!SingleByteEncoder class methodsFor:'documentation'! |
24 |
||
25 |
copyright |
|
26 |
" |
|
27 |
COPYRIGHT (c) 2004 by eXept Software AG |
|
28 |
All Rights Reserved |
|
29 |
||
30 |
This software is furnished under a license and may be used |
|
31 |
only in accordance with the terms of that license and with the |
|
32 |
inclusion of the above copyright notice. This software may not |
|
33 |
be provided or otherwise made available to, or used by, any |
|
34 |
other person. No title to or ownership of the software is |
|
35 |
hereby transferred. |
|
36 |
" |
|
8811 | 37 |
! |
38 |
||
39 |
documentation |
|
40 |
" |
|
41 |
Common abstract superclass for all single-byte encodings. |
|
42 |
||
43 |
[author:] |
|
44 |
Claus Gittinger |
|
45 |
" |
|
8148 | 46 |
! ! |
8081 | 47 |
|
48 |
!SingleByteEncoder class methodsFor:'queries'! |
|
49 |
||
50 |
maxCode |
|
51 |
^ 255 |
|
52 |
! |
|
53 |
||
54 |
minCode |
|
55 |
^ 0 |
|
56 |
! ! |
|
57 |
||
58 |
!SingleByteEncoder methodsFor:'private'! |
|
59 |
||
60 |
newString:size |
|
61 |
^ String uninitializedNew:size |
|
62 |
! ! |
|
63 |
||
17732
a1892eeca6c0
trunk merged into jv branch
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17728
diff
changeset
|
64 |
!SingleByteEncoder methodsFor:'queries'! |
a1892eeca6c0
trunk merged into jv branch
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17728
diff
changeset
|
65 |
|
a1892eeca6c0
trunk merged into jv branch
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17728
diff
changeset
|
66 |
characterSize:codePoint |
a1892eeca6c0
trunk merged into jv branch
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17728
diff
changeset
|
67 |
|
a1892eeca6c0
trunk merged into jv branch
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17728
diff
changeset
|
68 |
^1 |
a1892eeca6c0
trunk merged into jv branch
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17728
diff
changeset
|
69 |
|
a1892eeca6c0
trunk merged into jv branch
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17728
diff
changeset
|
70 |
"Created: / 15-06-2005 / 15:11:24 / janfrog" |
a1892eeca6c0
trunk merged into jv branch
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17728
diff
changeset
|
71 |
! ! |
a1892eeca6c0
trunk merged into jv branch
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17728
diff
changeset
|
72 |
|
8081 | 73 |
!SingleByteEncoder class methodsFor:'documentation'! |
74 |
||
75 |
version |
|
17892 | 76 |
^ '$Header: /cvs/stx/stx/libbasic/Encoder_SingleByteEncoder.st,v 1.9 2009/12/11 16:54:15 cg Exp $' |
17735 | 77 |
! |
78 |
||
79 |
version_CVS |
|
17845 | 80 |
^ '§Header: /cvs/stx/stx/libbasic/Encoder_SingleByteEncoder.st,v 1.9 2009/12/11 16:54:15 cg Exp §' |
17865 | 81 |
! |
82 |
||
83 |
version_SVN |
|
17911 | 84 |
^ '$Id: CharacterEncoderImplementations__SingleByteEncoder.st 10761 2012-01-19 11:46:00Z vranyj1 $' |
17846 | 85 |
! ! |
17892 | 86 |
|
17910 | 87 |
|
17911 | 88 |