Package com.opengamma.integration.tool.portfolio.xml

Examples of com.opengamma.integration.tool.portfolio.xml.XmlFileReader


//          }
        }
      case XML:
        // XMl multi-asset portfolio
        try {
          return new XmlFileReader(new FileInputStream(filename), new SchemaRegister());
        } catch (FileNotFoundException e) {
          throw new OpenGammaRuntimeException("Cannot find file: " + filename, e);
        }

      case ZIP:
View Full Code Here


    portfolioReader.close();
    portfolioWriter.close();
  }

  private Iterable<? extends PortfolioReader> returnPorfolioReader(InputStream fileStream) {
    return new XmlFileReader(fileStream, new SchemaRegister());
  }
View Full Code Here

TOP

Related Classes of com.opengamma.integration.tool.portfolio.xml.XmlFileReader

Copyright © 2018 www.massapicom. 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.