private String[] read(String value,String token){
  String[] list=pattern.split(value);
  for (int i=0; i < list.length; i++) {
    String text=list[i];
    if (text != null) {
      list[i]=text.trim();
    }
  }
  return list;
}

private String [ ] read ( String value , String token ) { String [ ] list = pattern . split ( value ) ; for ( int i = 0 ; i < list . length ; i ++ ) { String text = list [ i ] ; if ( text != null ) { list [ i ] = text . trim ( ) ; } } return list ; }
this method is used to convert the string value given to an appropriate representation . this is used when an object is being deserialized from the xml document and the value for the string representation is required .
