From: gunter z. <gun...@us...> - 2002-06-12 14:24:34
|
Update of /cvsroot/dcm4che/dcm4che14/src/main/org/dcm4cheri/util In directory usw-pr-cvs1:/tmp/cvs-serv8757/src/main/org/dcm4cheri/util Modified Files: StringUtils.java Log Message: rename DcmObject#set to #put rename DcmObject#getNestedDataset #getItem rename DcmElement#getDataset #getItem add DcmObject#getBoundedString add DcmElement#getBoundedString improve logging format (use NDC) Index: StringUtils.java =================================================================== RCS file: /cvsroot/dcm4che/dcm4che14/src/main/org/dcm4cheri/util/StringUtils.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** StringUtils.java 6 Jun 2002 17:04:06 -0000 1.6 --- StringUtils.java 12 Jun 2002 14:24:28 -0000 1.7 *************** *** 111,116 **** return promptFL(bb, maxlen); case VRs.OB: case VRs.UN: ! return promptBytes( ! bb.array(), bb.arrayOffset(), bb.limit(), maxlen); case VRs.OF: return promptOF(bb, maxlen); --- 111,115 ---- return promptFL(bb, maxlen); case VRs.OB: case VRs.UN: ! return promptOB(bb, maxlen); case VRs.OF: return promptOF(bb, maxlen); *************** *** 171,174 **** --- 170,177 ---- } + public static String promptOB(ByteBuffer bb, int maxlen) { + return promptBytes(bb.array(), bb.arrayOffset(), bb.limit(), maxlen); + } + public static String promptOF(ByteBuffer bb, int maxlen) { return promptFL(bb, maxlen); |