de.webdings.tools

Class MailtoLinkEncoder


public class MailtoLinkEncoder
extends java.lang.Object

MailToLinkEncoder is used encode the characters of an email address into browser-readable mixed characters from decimal and hexadecimal html encodings. This is useful for mailto-links in html in order to make it harder for harvester programs that scan websites for mailto-links and add them to spam-lists.

Version:
0.1 31.05.2005

Author:
Stefan Thesing
Website: http://www.webdings.de

Method Summary

static String
encode(String eMailAdress)

Method Details

encode

public static String encode(String eMailAdress)
            throws Exception

Parameters:
eMailAdress -

Returns:
the encoded String


MailtoLinkEncoder.java - Copyright (c) 2005 by Stefan Thesing

This file is part of Webdings Tools.

Webdings Tools is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Webdings Tools is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Webdings Tools; if not, write to the
Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA



© 2005 by Stefan Thesing;
Verbatim copying and redistribution of this entire page are permitted provided this notice is preserved.