public static String getSegmentName ( int segmentType ) { String segmentName = "(Unknown segment type)" ; segmentName = segValues . get ( segmentType ) ; if ( segmentName == null ) segmentName = "(Unknown segment type)" ; return segmentName ; }
This method can be used to return the actual segment name for a given segment type .