protected char[] escapeData( char[] chars )
	{
		StringBuilder sb= new StringBuilder();
		for ( int i=0;i<chars.length;i++ )
		{
			if ( chars[i] == '\\' )
			{
				sb.append( '\\' );
				sb.append( '\\' );
			}
			else if ( chars[i] == ']' )
			{
				sb.append( '\\' );
				sb.append( ']' );
			}
			else
				sb.append( chars[i] );
		}
        char[] array = new char[sb.length()];
        sb.getChars(0,array.length,array,0);
		return array;
	}