(String tag)
| 157 | } |
| 158 | |
| 159 | private byte getTagCode(String tag) throws IOException { |
| 160 | Byte tagCode = tagMap.get(tag); |
| 161 | if (tagCode == null) { |
| 162 | throw new IOException("Unknown tag: " + tag); |
| 163 | } |
| 164 | return tagCode; |
| 165 | } |
| 166 | |
| 167 | public static void main(String args[]) { |
| 168 | try { |