Package penny.parser

Examples of penny.parser.LinkState


        }
    }

    public void updateLinkState(Download d) {
        if (Model.parseLinks(d)) {
            LinkState oldValue = linkStateValuesMap.get(d);
            LinkState state = d.getLinkState();
            boolean doUpdate = false;
            if (oldValue == null || !oldValue.equals(state)) {
                doUpdate = true;
            }
            if (doUpdate) {
                if (oldValue == null) {
                    oldValue = new LinkState();
                }
                oldValue.copy(state);
                dao.updateDownload(d, Download.PROP_LINKSTATE);
            }
        }
View Full Code Here


        hrefLinks = GlazedLists.threadSafeList(new BasicEventList<String>());
        srcLinks = GlazedLists.threadSafeList(new BasicEventList<String>());
        words = GlazedLists.threadSafeList(new BasicEventList<String>());
        locations = GlazedLists.threadSafeList(new BasicEventList<String>());
        md5 = new MD5State();
        linkState = new LinkState();
        wordBuffer = "";
        savePath = "";
        tempPath = "";
        extraProps = new HashMap<String, Object>();
       
View Full Code Here

    /**
     * @param MD5 the MD5 to setDownload
     */
    public void setLinkState(LinkState linkState) {
        LinkState oldValue = this.linkState;
        this.linkState = linkState;
        propertySupport.firePropertyChange(PROP_LINKSTATE, oldValue, this.linkState);
    }
View Full Code Here

TOP

Related Classes of penny.parser.LinkState

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.