Class WordsElementsFactory
java.lang.Object
org.apache.jackrabbit.vault.util.diff.WordsElementsFactory
- All Implemented Interfaces:
ElementsFactory
Implements an element factory that creates the elements out from words of
the given input stream.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WordsElementsFactorycreate(DocumentSource source, Reader text) static WordsElementsFactorycreate(DocumentSource source, String text) Provides the elements
-
Constructor Details
-
WordsElementsFactory
-
-
Method Details
-
getElements
Description copied from interface:ElementsFactoryProvides the elements- Specified by:
getElementsin interfaceElementsFactory- Returns:
- an array of elements
-
create
-
create
- Throws:
IOException
-