public interface ImpExFragment
| Modifier and Type | Method and Description |
|---|---|
boolean |
addLine(java.lang.String line)
Adds a line of the script to this block.
|
boolean |
addLine(java.lang.String line,
java.util.List<ImpExFragment> fragments)
Adds a line of the script to this block.
|
java.lang.String |
getContent()
Reads back the content of this script block.
|
java.io.InputStream |
getContentAsInputStream()
Retrieves an input stream to read content of this fragment.
|
boolean addLine(java.lang.String line)
line - a line of script texttrue, if the line is added; false, if the line does not belong to this block.ImpexValidationException - when a line is invalidboolean addLine(java.lang.String line,
java.util.List<ImpExFragment> fragments)
line - a line of script texttrue, if the line is added; false, if the line does not belong to this block.ImpexValidationException - when a line is invalidjava.lang.String getContent()
throws java.io.IOException
java.io.IOException - if failed to read this fragment content.java.io.InputStream getContentAsInputStream()
throws java.io.IOException
java.io.IOException - if failed to create an input stream for the fragment content.Copyright © 2018 SAP SE. All Rights Reserved.