()
| 764 | } |
| 765 | |
| 766 | String getDicomInfo() { |
| 767 | String s = new String(dicomInfo); |
| 768 | char[] chars = new char[s.length()]; |
| 769 | s.getChars(0, s.length(), chars, 0); |
| 770 | for (int i=0; i<chars.length; i++) { |
| 771 | if (chars[i]<' ' && chars[i]!='\n') chars[i] = ' '; |
| 772 | } |
| 773 | return new String(chars); |
| 774 | } |
| 775 | |
| 776 | void addInfo(int tag, String value) throws IOException { |
| 777 | String info = getHeaderInfo(tag, value); |