Entities

Entities
  
            License: Freeware $0.00
            OS: Java,Linux,Mac OS X,Unix,Win2000,Win7 x32,Win7 x64,WinServer,WinVista,WinVista x
            Requirements: java 1.5+
            Publisher: Canadian Mind Products
            Homepage: http://mindprod.com
          

consists of a pair of utilities that let you
convert/strip/insert html/xml/xhtml entities such as _amp;- and _quot;
from files converting them back and forth to their
equivalent single characters !amp; and !quot;. it handles the html 4
entities such as _hearts; as well as decimal _#123; and
hexadecimal _x#123; entities.

you may us this package as standalone
utilities, or use the classes in your own programs
to insert or strip entities from html.

you can use them like this:

rem to remove & entities and htmltags from a file
rem converting entities back to characters
strip.jar afile.html

rem to convert entities in a file
insert.jar afile.html

they come complete with java source and jar files.


Share this post