Package org.projectforge.web.core

Examples of org.projectforge.web.core.ImageDimension


      final String absolutePath = absolutePathFile.getAbsolutePath();
      for (final File file : files) {
        final Image image = Toolkit.getDefaultToolkit().getImage(file.getAbsolutePath());
        final ImageIcon icon = new ImageIcon(image);
        final String filename = file.getAbsolutePath().substring(absolutePath.length() + 1);
        final ImageDimension dimension = new ImageDimension(filename, icon.getIconWidth(), icon.getIconHeight());
        dimensions.add(dimension);
      }
    }
    final FileWriter writer = new FileWriter(DIMENSION_FILE);
    final XmlObjectWriter xmlWriter = new XmlObjectWriter();
View Full Code Here

TOP

Related Classes of org.projectforge.web.core.ImageDimension

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.