org.mmbase.util.transformers

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database ORM » MMBase » org.mmbase.util.transformers 
org.mmbase.util.transformers
org.mmbase.util.tranformers

`Tranformers' define tranformations of Strings, byte arrays and streams.

Transformers are devided in three species. CharTransformers which transform some String to another String (or Reader to a Writer). Then there are transformation which take a byte array (or an InputStream) and transform that to a String (or a Writer), these are called ByteToCharTransformers. And the last type are are the ByteTranformers, which tranform a byte array to another byte array (or an InputStream to an OutputStream).

All Transformers can be specialized to 'ConfigurableTransformers'.

Several Abstract implemenations are present too. E.g. the 'ReaderTransformer' is nearly a complete CharTransformer, only the function wich pipes a Reader to a Writer is abstract. StringTranformer is a CharTransformer which' only abstract function is the one taking a String argument.

Java Source File NameTypeComment
AbstractCommandStringTransformer.javaClass If you want to transform a Reader stream by the use of an external command, than you can extend this class.
Base64.javaClass
BufferedReaderTransformer.javaClass
ByteArrayToCharTransformer.javaClass You need only to implement transform(byte[]) you have the simplest kind of transformer (which is not 'streamable').
ByteCharTransformer.javaClass A CharTransformer which wraps a ByteToCharTransformer.
ByteToCharTransformer.javaInterface Interface for transformations.
ByteTransformer.javaInterface Interface for transformations.
Censor.javaClass Replaces certain 'forbidden' words by something more decent.
ChainedCharTransformer.javaClass A CharTransformer which wraps N other CharTransformers, and links them with N - 1 new Threads, effectively working as a 'chained' transformer. The first transformation is done by the ChainedCharTransformer instance itself, after starting the N - 1 Threads for the other N - 1 transformations. If no CharTransformers are added, and 'transform' is called, logically, nothing will happen.
CharTransformer.javaInterface Interface for transformations.
CharTransformerLink.javaClass A Runnable implementation to perform a CharTransform between a Reader and a Writer.
ChecksumFactory.javaClass Creates ByteToCharTransformers, creating a 'checksum' string of a byte-arrays.
ChunkedTransformer.javaClass A chunked transformer is a transformer that transforms on a 'chunk by chunk' base.
CodeSampleFactory.javaClass This TransformerFactory enables the use of two different escapers in one piece of text.
Config.javaClass Describes what encoding is configured.
ConfigurableReaderTransformer.javaClass Some Transformers implement more than one transformation.
ConfigurableStringTransformer.javaClass Some Transformers implement more than one transformation.
ConfigurableTransformer.javaInterface Interface for transformations.
CopyCharTransformer.javaClass This is the character transformer which does not actually transform anything, it just copies the reader to the writer.
CP1252Surrogator.javaClass Surrogates the Windows CP1252 characters which are not valid ISO-8859-1.
EncryptionTransformerFactory.javaClass This transformerfactory can encrypt and decrypt strings.
Figlet.javaClass An escaper based on the amusing 'figlet' tool, which is available on some system.
GoogleHighlighterFactory.javaClass An example for parameterized transformers.
Hex.javaClass Encode a bytearray to a string by converting every byte to a hexadecimal (00 - FF) representation, and decode the other way around.
Identifier.javaClass Transforms strings to identifiers, replacing punctuation and whitespace with underscores.
InverseCharTransformer.javaClass Turns a Transformer around.
Javascript.javaClass Encodings related Javascript It can escape single quotes, by replacing them by \\', as is needed in document.write actions.
Latin3Surrogator.javaClass The ISO-8859-3 ('South European') unibyte encoding is used for languages like maltese and esperanto.
LinkFinder.javaClass Finds links in the Character String, and makes them 'clickable' for HTML (using a-tags).
LowerCaser.javaClass
MD5.javaClass Do MD5 encoding.
ParameterizedTransformerFactory.javaInterface ParameterizedTransformerFactories, can create Transformer instances, but can do that 'parameterized'.
Perl.javaClass And yet another rather idiotic type of Transformer.
ReaderTransformer.javaClass You need only to implement transform(Reader, Writer) you have the simplest kind of tranformer (which is 'streamable').
RegexpReplacer.javaClass Finds regexps in the Character String, and replaces them.
RegexpReplacerFactory.javaClass Factories new instances of extensions of RegexpReplacer , for which the replace patterns are parameterized (using the 'patterns' parameter).
ResourceBundleReplacerFactory.javaClass Factories new chartransformer based on java.util.ResourceBundle .
RomanTransformer.javaClass Static utilities to deal with roman numbers, and non static functions to transform strings representing decimal numbers to roman numbers and back.
Rot13.javaClass Rot13 implementation.
Rot5.javaClass Rot5 implementation.
Sitestat.javaClass Transforms the input to the characters which are alowed in Sitestat keys for page statistics, being: "A-Z, a-z, 0-9, - .
SpaceReducer.javaClass Replace 1 or more spaces by 1 space, and 1 or more newlines by 1 newline.
SpaceRemover.javaClass Replace 1 or white space by 1 space, and all spaces on the begin and end.
SpaceSwallower.javaClass Swallows all spaces.
Sql.javaClass Encodings related to Sql.
StringTransformer.javaClass You need only to implement transform(String) you have the simplest kind of tranformer (which is not 'streamable').
SubstringFactory.javaClass Factories CharTransformer 's which mirror the input, but only between 'from' and 'to' parameters.
Swallower.javaClass
TabToSpacesTransformer.javaClass Replace every tab by n spaces.
TagStripperFactory.javaClass Can be used to strip tags and attributes from HTML.
Transformer.javaInterface Interface for transformations.
Transformers.javaClass Utitilies related to the tranformers of this package.
TransformingReader.javaClass A Filtering Reader based on CharTransformers.
 _________   ____  
 /          \/    \  
 | R --> PW - this |
 |    T     |  PR  |
 \_________/ \____/
 PW: piped writer, this PR: this reader, T: transformer
 
This reader can be instantiated with another Reader and a CharTransformer.
TransformingWriter.javaClass A Filtering Writer based on CharTransformers.
 ____  _________  
 /    \/         \  
 |this - PR --> W |
 | PW  |    T     |
 \____/ \________/
 PR: piped reader, this PW: this writer, T: transformer
 
This writer can be instantiated with another Writer and a CharTransformer.
Trimmer.javaClass Trims leading and trailing white space.
UnicodeEscaper.javaClass To escape from and to 'java' like unicode escaping.
UnknownCodingException.javaClass
UpperCaser.javaClass A 'hello world' for CharTransformers.
Url.javaClass Encodings related to URL's.
UrlEscaper.javaClass Escapes and Unescapes undesirable characters using % (URLEncoding) Contrary to java.net.URLEncoder, it does not encode '+'.
WordWrapperFactory.javaClass Word wrapping as a transformer factory.
Xml.javaClass Transformations related to escaping in XML.
XmlEntities.javaClass Any non-ASCII character will be replaced by an XML-entity.
XmlField.javaClass XMLFields in MMBase.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.