com.univocity.api.io
Class WriterProvider
java.lang.Object
com.univocity.api.io.WriterProvider
- All Implemented Interfaces:
- ResourceProvider<Writer>
- Direct Known Subclasses:
- StringWriterProvider
public abstract class WriterProvider
- extends Object
- implements ResourceProvider<Writer>
Base abstract class to define classes that provide instances of Writer.
- Author:
- uniVocity Software Pty Ltd - dev@univocity.com
|
Method Summary |
abstract void |
clearDestination()
Removes any data contained in the resource being written using the instances of Writer provided by this class. |
abstract boolean |
isEmpty()
Queries whether or not the resource to be written contains any sort of content. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WriterProvider
public WriterProvider()
clearDestination
public abstract void clearDestination()
- Removes any data contained in the resource being written using the instances of
Writer provided by this class.
isEmpty
public abstract boolean isEmpty()
- Queries whether or not the resource to be written contains any sort of content.
- Returns:
- a flag indicating whether or not the underlying resource contains data.
Copyright © 2018 uniVocity Software Pty Ltd. All rights reserved.