public class ServiceUtils
extends java.lang.Object
| Constructor and Description |
|---|
ServiceUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
readXMLAsString(java.io.InputStream in,
java.lang.String xmlEndMarker)
Lê apenas os dados de um arquivo de dados XML (sem o marcador de final de
entrada).
|
public static java.lang.String readXMLAsString(java.io.InputStream in,
java.lang.String xmlEndMarker)
throws java.io.IOException
in - Stream de entrada de dados.xmlEndMarker - - marcador de final de XML, no caso de o arquivo conter
algo a mais do que XML. Se for null, vai ler inputStream todojava.io.IOException - se houver algum erro de I/O durante o processamento.Copyright © 2018. All Rights Reserved.