Package org.photovault.imginfo

Examples of org.photovault.imginfo.PhotoInfo.addInstance()


        if ( matchingPhotos != null && matchingPhotos.length > 0 ) {
            // If yes then get the PhotoInfo and add this file as an instance with
            // the same type as the one with same hash. If only PhotoInfo with no
            // instances add as original for that
            photo = matchingPhotos[0];
            photo.addInstance( instance );
            currentEvent.setResult( ExtVolIndexerEvent.RESULT_NEW_INSTANCE );
            newInstanceCount++;
        } else {
            photo = PhotoInfo.create();
            photo.addInstance( instance );
View Full Code Here


            photo.addInstance( instance );
            currentEvent.setResult( ExtVolIndexerEvent.RESULT_NEW_INSTANCE );
            newInstanceCount++;
        } else {
            photo = PhotoInfo.create();
            photo.addInstance( instance );
            photo.updateFromOriginalFile();
            txw.flush();
            // Create a thumbnail for this photo
            photo.getThumbnail();
            currentEvent.setResult( ExtVolIndexerEvent.RESULT_NEW_PHOTO );
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.