Class AbstractResourceWriter<T>
java.lang.Object
org.episteme.core.io.AbstractResourceWriter<T>
- All Implemented Interfaces:
ResourceIO<T>, ResourceWriter<T>
- Direct Known Subclasses:
AbstractLegalDocumentWriter, FASTAWriter, NativeFITSWriter, NativeHDF5TensorWriter, NativeHDF5Writer, NeuralModelWriter, OEISWriter, PDBWriter, VTKWriter
Abstract base for resource writers.
Provides basic buffering support and I18N metadata.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected OutputStreamPrepares an OutputStream with buffering.Returns the category for grouping.Returns a short description of this resource handler.Returns a long description of this resource handler.getName()Returns the display name of this resource handler.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ResourceIO
getExpectedResourceFiles, getResourcePath, getResourceType, getSupportedExtensions, getSupportedVersions, isFileBased, isInputMethods inherited from interface ResourceWriter
isOutput, save
-
Constructor Details
-
AbstractResourceWriter
public AbstractResourceWriter()
-
-
Method Details
-
getName
Description copied from interface:ResourceIOReturns the display name of this resource handler. MUST be implemented with I18N support.- Specified by:
getNamein interfaceResourceIO<T>- Returns:
- the display name
-
getDescription
Description copied from interface:ResourceIOReturns a short description of this resource handler. MUST be implemented with I18N support.- Specified by:
getDescriptionin interfaceResourceIO<T>- Returns:
- the description
-
getCategory
Description copied from interface:ResourceIOReturns the category for grouping. MUST be implemented with I18N support.- Specified by:
getCategoryin interfaceResourceIO<T>- Returns:
- the category name
-
getLongDescription
Description copied from interface:ResourceIOReturns a long description of this resource handler. MUST be implemented with I18N support.- Specified by:
getLongDescriptionin interfaceResourceIO<T>- Returns:
- the long description
-
createBufferedStream
Prepares an OutputStream with buffering.
-