public class ServiceUtils extends Object
| Constructor and Description |
|---|
ServiceUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
readXMLAsString(InputStream in,
String xmlEndMarker)
Lê apenas os dados de um arquivo de dados XML (sem o marcador de final de
entrada).
|
public static String readXMLAsString(InputStream in, String xmlEndMarker) throws 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 todoIOException - se houver algum erro de I/O durante o processamento.Copyright © 2016. All rights reserved.