Package com.io7m.calino.parser.api
Interface CLNParseRequestBuilderType
public interface CLNParseRequestBuilderType
A mutable parser request builder.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
channel()
long
long
setChannel
(SeekableByteChannel inChannel) Set the file channel.setDescriptorLengthLimit
(long limit) Set the descriptor length limit.setKeyValueDatumLimit
(long limit) Set the maximum length of a key or value in metadata.Set the file source.source()
-
Method Details
-
channel
SeekableByteChannel channel()- Returns:
- The file channel
-
setChannel
Set the file channel.- Parameters:
inChannel
- The channel- Returns:
- this
-
source
URI source()- Returns:
- The file source
-
setSource
Set the file source.- Parameters:
inSource
- The source- Returns:
- this
-
descriptorLengthLimit
long descriptorLengthLimit()- Returns:
- The descriptor length limit
-
setDescriptorLengthLimit
Set the descriptor length limit.- Parameters:
limit
- The limit- Returns:
- this
-
keyValueDatumLimit
long keyValueDatumLimit()- Returns:
- The maximum length of a key or value in metadata
-
setKeyValueDatumLimit
Set the maximum length of a key or value in metadata.- Parameters:
limit
- The limit- Returns:
- this
-
build
CLNParseRequest build()- Returns:
- An immutable parse request
-