Package com.rometools.rome.io

Examples of com.rometools.rome.io.WireFeedOutput.outputString()


  public Response exportOpml(@SecurityCheck User user) {
    Opml opml = opmlExporter.export(user);
    WireFeedOutput output = new WireFeedOutput();
    String opmlString = null;
    try {
      opmlString = output.outputString(opml);
    } catch (Exception e) {
      return Response.status(Status.INTERNAL_SERVER_ERROR).entity(e).build();
    }
    return Response.ok(opmlString).build();
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.