Package com.day.util.diff
Class WordsElementsFactory
java.lang.Object
com.day.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 -
Field Summary
Fields inherited from interface com.day.util.diff.ElementsFactory
CVS_ID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WordsElementsFactory
create
(DocumentSource source, Reader text) static WordsElementsFactory
create
(DocumentSource source, String text) Provides the elements
-
Constructor Details
-
WordsElementsFactory
-
-
Method Details
-
getElements
Description copied from interface:ElementsFactory
Provides the elements- Specified by:
getElements
in interfaceElementsFactory
- Returns:
- an array of elements
-
create
-
create
- Throws:
IOException
-