public static class ReliableTaildirEventReader.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ReliableTaildirEventReader.Builder |
addByteOffset(boolean addByteOffset) |
ReliableTaildirEventReader.Builder |
annotateFileName(boolean annotateFileName) |
ReliableTaildirEventReader |
build() |
ReliableTaildirEventReader.Builder |
cachePatternMatching(boolean cachePatternMatching) |
ReliableTaildirEventReader.Builder |
fileNameHeader(String fileNameHeader) |
ReliableTaildirEventReader.Builder |
filePaths(Map<String,String> filePaths) |
ReliableTaildirEventReader.Builder |
headerTable(com.google.common.collect.Table<String,String,String> headerTable) |
ReliableTaildirEventReader.Builder |
positionFilePath(String positionFilePath) |
ReliableTaildirEventReader.Builder |
skipToEnd(boolean skipToEnd) |
public ReliableTaildirEventReader.Builder filePaths(Map<String,String> filePaths)
public ReliableTaildirEventReader.Builder headerTable(com.google.common.collect.Table<String,String,String> headerTable)
public ReliableTaildirEventReader.Builder positionFilePath(String positionFilePath)
public ReliableTaildirEventReader.Builder skipToEnd(boolean skipToEnd)
public ReliableTaildirEventReader.Builder addByteOffset(boolean addByteOffset)
public ReliableTaildirEventReader.Builder cachePatternMatching(boolean cachePatternMatching)
public ReliableTaildirEventReader.Builder annotateFileName(boolean annotateFileName)
public ReliableTaildirEventReader.Builder fileNameHeader(String fileNameHeader)
public ReliableTaildirEventReader build() throws IOException
IOException
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.