public static String removeHiddenMarkers(final String contents){
  if (contents == null) {
    return null;
  }
  if (!contents.contains(MARKER)) {
    return contents;
  }
  final StringTokenizer tokens=new StringTokenizer(contents,MARKER,true);
  String temp_token;
  StringBuilder processed_data=new StringBuilder();
  while (tokens.hasMoreTokens()) {
    temp_token=tokens.nextToken();
    if (temp_token.equals(MARKER)) {
      tokens.nextToken();
      tokens.nextToken();
      tokens.nextToken();
      tokens.nextToken();
      processed_data=processed_data.append(tokens.nextToken());
    }
 else {
      processed_data=processed_data.append(temp_token);
    }
  }
  return processed_data.toString();
}

public static String removeHiddenMarkers ( final String contents ) { if ( contents == null ) { return null ; } if ( ! contents . contains ( MARKER ) ) { return contents ; } final StringTokenizer tokens = new StringTokenizer ( contents , MARKER , true ) ; String temp_token ; StringBuilder processed_data = new StringBuilder ( ) ; while ( tokens . hasMoreTokens ( ) ) { temp_token = tokens . nextToken ( ) ; if ( temp_token . equals ( MARKER ) ) { tokens . nextToken ( ) ; tokens . nextToken ( ) ; tokens . nextToken ( ) ; tokens . nextToken ( ) ; processed_data = processed_data . append ( tokens . nextToken ( ) ) ; } else { processed_data = processed_data . append ( temp_token ) ; } } return processed_data . toString ( ) ; }
method to show data without encoding
