Package org.eclipse.rdf4j.rio.turtle
Class ArrangedWriter
- java.lang.Object
-
- org.eclipse.rdf4j.rio.helpers.AbstractRDFWriter
-
- org.eclipse.rdf4j.rio.turtle.ArrangedWriter
-
- All Implemented Interfaces:
org.eclipse.rdf4j.common.io.Sink,RDFHandler,RDFWriter
@Deprecated(since="3.3.1") public class ArrangedWriter extends AbstractRDFWriter
Deprecated.Pretty printing / bnode inlining logic has been moved toTurtleWriterinternally.Internal wrapper that sorts statements for pretty printing and repeats blank nodes if inlining them.- Since:
- 2.3
- Author:
- James Leigh
-
-
Field Summary
-
Fields inherited from class org.eclipse.rdf4j.rio.helpers.AbstractRDFWriter
namespaceTable, statementConsumer
-
-
Constructor Summary
Constructors Constructor Description ArrangedWriter(RDFWriter delegate)Deprecated.ArrangedWriter(RDFWriter delegate, int size)Deprecated.ArrangedWriter(RDFWriter delegate, int size, boolean repeatBlankNodes)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidconsumeStatement(org.eclipse.rdf4j.model.Statement st)Deprecated.voidendRDF()Deprecated.RDFFormatgetRDFFormat()Deprecated.Collection<RioSetting<?>>getSupportedSettings()Deprecated.WriterConfiggetWriterConfig()Deprecated.voidhandleComment(String comment)Deprecated.voidhandleNamespace(String prefix, String uri)Deprecated.<T> RDFWriterset(RioSetting<T> setting, T value)Deprecated.RDFWritersetWriterConfig(WriterConfig config)Deprecated.voidstartRDF()Deprecated.-
Methods inherited from class org.eclipse.rdf4j.rio.helpers.AbstractRDFWriter
checkWritingStarted, getFileFormat, handleStatement, isWritingStarted
-
-
-
-
Method Detail
-
getRDFFormat
public RDFFormat getRDFFormat()
Deprecated.
-
setWriterConfig
public RDFWriter setWriterConfig(WriterConfig config)
Deprecated.- Specified by:
setWriterConfigin interfaceRDFWriter- Overrides:
setWriterConfigin classAbstractRDFWriter
-
getWriterConfig
public WriterConfig getWriterConfig()
Deprecated.- Specified by:
getWriterConfigin interfaceRDFWriter- Overrides:
getWriterConfigin classAbstractRDFWriter
-
getSupportedSettings
public Collection<RioSetting<?>> getSupportedSettings()
Deprecated.- Specified by:
getSupportedSettingsin interfaceRDFWriter- Overrides:
getSupportedSettingsin classAbstractRDFWriter
-
set
public <T> RDFWriter set(RioSetting<T> setting, T value)
Deprecated.- Specified by:
setin interfaceRDFWriter- Overrides:
setin classAbstractRDFWriter
-
startRDF
public void startRDF() throws RDFHandlerExceptionDeprecated.- Specified by:
startRDFin interfaceRDFHandler- Overrides:
startRDFin classAbstractRDFWriter- Throws:
RDFHandlerException
-
endRDF
public void endRDF() throws RDFHandlerExceptionDeprecated.- Throws:
RDFHandlerException
-
handleNamespace
public void handleNamespace(String prefix, String uri) throws RDFHandlerException
Deprecated.- Specified by:
handleNamespacein interfaceRDFHandler- Overrides:
handleNamespacein classAbstractRDFWriter- Throws:
RDFHandlerException
-
handleComment
public void handleComment(String comment) throws RDFHandlerException
Deprecated.- Throws:
RDFHandlerException
-
consumeStatement
protected void consumeStatement(org.eclipse.rdf4j.model.Statement st) throws RDFHandlerExceptionDeprecated.- Overrides:
consumeStatementin classAbstractRDFWriter- Throws:
RDFHandlerException
-
-