TextField

constructor(name: String, reader: Reader)

Creates a new un-stored TextField with Reader value.

Parameters

name

field name

reader

reader value

Throws

if the field name is null

if the reader is null


constructor(name: String, value: String, store: Field.Store)

Creates a new TextField with String value.

Parameters

name

field name

value

string value

store

Store.YES if the content should also be stored

Throws

if the field name or value is null.


constructor(name: String, stream: TokenStream)

Creates a new un-stored TextField with TokenStream value.

Parameters

name

field name

stream

TokenStream value

Throws

if the field name is null.

if the tokenStream is null