Package org.apache.stanbol.commons.stanboltools.datafileprovider

Examples of org.apache.stanbol.commons.stanboltools.datafileprovider.DataFileProviderEvent


            }
            fileUrl = dataFile.toURI().toASCIIString();
        }
       
        // Add event
        final DataFileProviderEvent event = new DataFileProviderEvent(
                bundleSymbolicName, filename,
                comments, fileUrl);
       
        synchronized (events) {
            if(events.size() >= maxEvents) {
View Full Code Here


            log.debug("{} does provide file {}", this, filename);
            fileUrl = dataFile.toURI().toASCIIString();
        }
       
        // Add event
        final DataFileProviderEvent event = new DataFileProviderEvent(
                bundleSymbolicName, filename,
                comments, fileUrl);
       
        synchronized (events) {
            if(events.size() >= maxEvents) {
View Full Code Here

            result =  new FileInputStream(dataFile);
            fileUrl = dataFile.toURI().toASCIIString();
        }
       
        // Add event
        final DataFileProviderEvent event = new DataFileProviderEvent(
                bundleSymbolicName, filename,
                comments, fileUrl);
       
        synchronized (events) {
            if(events.size() >= maxEvents) {
View Full Code Here

            log.debug("{} does provide file {}", this, filename);
            fileUrl = dataFile.toURI().toASCIIString();
        }
       
        // Add event
        final DataFileProviderEvent event = new DataFileProviderEvent(
                bundleSymbolicName, filename,
                comments, fileUrl);
       
        synchronized (events) {
            if(events.size() >= maxEvents) {
View Full Code Here

TOP

Related Classes of org.apache.stanbol.commons.stanboltools.datafileprovider.DataFileProviderEvent

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.