Examples of ArchiveFileExtractor


Examples of org.apache.photark.jcr.util.ArchiveFileExtractor

          InputStream inStream = new BufferedInputStream(fileItem.getInputStream());
          List<Image> pictures = new ArrayList<Image>();

          if (isArchive(inStream)) {
            ArchiveFileExtractor archiveFileExtractor = new ArchiveFileExtractor(supportedImageTypes);
            pictures = archiveFileExtractor.extractArchive(inStream);
          } else {
            // this is a picture file and not the archive file
            Image picture = new Image(fileName, new Date(), inStream);
            pictures.add(picture);
          }
View Full Code Here

Examples of org.apache.photark.jcr.util.ArchiveFileExtractor

          InputStream inStream = new BufferedInputStream(fileItem.getInputStream());
          List<Image> pictures = new ArrayList<Image>();

          if (isArchive(inStream)) {
            ArchiveFileExtractor archiveFileExtractor = new ArchiveFileExtractor(supportedImageTypes);
            pictures = archiveFileExtractor.extractArchive(inStream);
          } else {
            // this is a picture file and not the archive file
            Image picture = new Image(fileName, new Date(), inStream);
            pictures.add(picture);
          }
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.