public interface ImpExFragment
| Modifier and Type | Method and Description |
|---|---|
boolean |
addLine(String line)
Adds a line of the script to this block.
|
boolean |
addLine(String line,
List<ImpExFragment> fragments)
Adds a line of the script to this block.
|
String |
getContent()
Reads back the content of this script block.
|
InputStream |
getContentAsInputStream()
Retrieves an input stream to read content of this fragment.
|
boolean addLine(String line) throws ImpexValidationException
line - a line of script texttrue, if the line is added; false, if the line does not belong to this block.{@link - com.hybris.datahub.core.services.impl.ImpexValidationException} when a line is invalidImpexValidationExceptionboolean addLine(String line, List<ImpExFragment> fragments) throws ImpexValidationException
line - a line of script texttrue, if the line is added; false, if the line does not belong to this block.{@link - com.hybris.datahub.core.services.impl.ImpexValidationException} when a line is invalidImpexValidationExceptionString getContent() throws IOException
IOException - if failed to read this fragment content.InputStream getContentAsInputStream() throws IOException
IOException - if failed to create an input stream for the fragment content.Copyright © 2017 SAP SE. All Rights Reserved.