Examples of ContentLocation


Examples of org.pentaho.reporting.libraries.repository.ContentLocation

    setError(null);
    try
    {
      final MasterReport report = getReport();
      final ContentLocation contentLocation = getBodyContentLocation();
      final NameGenerator nameGenerator = getBodyNameGenerator();
      final ContentItem contentItem =
          contentLocation.createItem(nameGenerator.generateName(null, "application/zip"));
      final OutputStream out = contentItem.getOutputStream();

      try
      {
        final ZipRepository zipRepository = new ZipRepository(out);
        try
        {
          final ContentLocation root = zipRepository.getRoot();
          final ContentLocation data = RepositoryUtilities.createLocation
              (zipRepository, RepositoryUtilities.splitPath("data", "/"));

          final FlowHtmlOutputProcessor outputProcessor = new FlowHtmlOutputProcessor();

          final HtmlPrinter printer = new AllItemsHtmlPrinter(report.getResourceManager());
View Full Code Here

Examples of org.pentaho.reporting.libraries.repository.ContentLocation

    try
    {
      final MasterReport masterReport = getReport();
      final Configuration configuration = masterReport.getConfiguration();

      final ContentLocation contentLocation = getBodyContentLocation();
      final NameGenerator nameGenerator = getBodyNameGenerator();
      final ContentItem contentItem =
          contentLocation.createItem(nameGenerator.generateName(null, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"));
      final OutputStream outputStream = contentItem.getOutputStream();

      try
      {
        final StreamExcelOutputProcessor outputProcessor =
View Full Code Here

Examples of org.springsource.ide.eclipse.commons.content.core.ContentLocation

  public static final String INSTALL_DIRECTORY = "simpleprojects";

  public static SimpleProjectContentManager getManager() {
    if (manager == null) {
      manager = new SimpleProjectContentManager();
      ContentLocation location = WizardPlugin.getDefault().getTemplateContentLocation();
      manager.addContentLocation(location);
    }
    return manager;
  }
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.