I - the type parameterAutoCloseable, Flow.Subscriber<I>public class JMFileSubscriber<I> extends JMSubscriber<I> implements AutoCloseable
log| Constructor | Description |
|---|---|
JMFileSubscriber(String filePath) |
Instantiates a new Jm file subscriber.
|
JMFileSubscriber(String filePath,
boolean enableJsonString) |
Instantiates a new Jm file subscriber.
|
JMFileSubscriber(String filePath,
java.util.function.Function<Object,String> toStringFunction) |
Instantiates a new Jm file subscriber.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
Path |
getFilePath() |
Gets file path.
|
onComplete, onError, onNext, onSubscribe, setDataConsumerpublic JMFileSubscriber(String filePath)
filePath - the file pathpublic JMFileSubscriber(String filePath, boolean enableJsonString)
filePath - the file pathenableJsonString - the enable json stringpublic JMFileSubscriber(String filePath, java.util.function.Function<Object,String> toStringFunction)
filePath - the file pathtoStringFunction - the to string functionpublic Path getFilePath()
public void close()
close in interface AutoCloseableCopyright © 2018. All rights reserved.