B
- The type to buildpublic static class RandomAccessFileAppender.Builder<B extends RandomAccessFileAppender.Builder<B>> extends AbstractOutputStreamAppender.Builder<B> implements Builder<RandomAccessFileAppender>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RandomAccessFileAppender |
build()
Builds the object after all configuration has been set.
|
B |
setAdvertise(boolean advertise) |
B |
setAdvertiseURI(String advertiseURI) |
B |
setAppend(boolean append) |
B |
setFileName(String fileName) |
getBufferSize, isBufferedIo, isImmediateFlush, withBufferedIo, withBufferSize, withImmediateFlush
getConfiguration, getLayout, getName, getOrCreateLayout, getOrCreateLayout, isIgnoreExceptions, setConfiguration, setIgnoreExceptions, setLayout, setName, withConfiguration, withIgnoreExceptions, withLayout, withName
asBuilder, getFilter, getPropertyArray, setFilter, setPropertyArray, withFilter
public Builder()
public RandomAccessFileAppender build()
Builder
build
in interface Builder<RandomAccessFileAppender>
public B setFileName(String fileName)
public B setAdvertise(boolean advertise)
public B setAdvertiseURI(String advertiseURI)
Copyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.