Package org.predict4all.nlp.parser
Class TokenListAppender
- java.lang.Object
-
- org.predict4all.nlp.parser.TokenListAppender
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,TokenAppender
public class TokenListAppender extends java.lang.Object implements TokenAppender
-
-
Constructor Summary
Constructors Constructor Description TokenListAppender(java.util.List<Token> list)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
append(Token token)
void
close()
-
-
-
Constructor Detail
-
TokenListAppender
public TokenListAppender(java.util.List<Token> list)
-
-
Method Detail
-
append
public void append(Token token) throws java.io.IOException
- Specified by:
append
in interfaceTokenAppender
- Throws:
java.io.IOException
-
close
public void close() throws java.lang.Exception
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Throws:
java.lang.Exception
-
-