Package net.datacrow.drivemanager

Examples of net.datacrow.drivemanager.FileInfo


                    matcher.join();
                } catch (InterruptedException e) {
                    logger.error(e, e);
                }
               
                FileInfo info = matcher.getResult();
                if (info != null) {
                    dco.setValue(dco.getFileField().getIndex(), info.getFilename());
                    try {
                        dco.saveUpdate(true, false);
                    } catch (ValidationException ve) {}
                }
            }
View Full Code Here


                    matcher.join();
                } catch (InterruptedException e) {
                    logger.error(e, e);
                }
               
                FileInfo info = matcher.getResult();
                if (info != null)
                    setFile(new File(info.getFilename()));
            }
        }).start();       
    }
View Full Code Here

            Long size  = (Long) dco.getValue(DcObject._SYS_FILESIZE);
           
            PollerTask poller = new PollerTask(this, DcResources.getText("msgLocatingFile", filename));
            poller.start();
           
            FileInfo fi = new FileInfo(hash, filename, size);
            result = DriveManager.getInstance().find(fi, precision);
           
            poller.finished(true);
        }
    }
View Full Code Here

TOP

Related Classes of net.datacrow.drivemanager.FileInfo

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.